Camera Help

View previous topic View next topic Go down

Camera Help

Post  konstruktor on Wed Mar 18, 2009 2:51 pm

Hi guys,

I think it's very easy but it doesn't work like I want it to.
I just rotate the camera around the center object (0,0,0) in defined distance.

But I think I missed something about the camera.

I tried sio2CameraRotateZ, sio2CameraRotateX, sio2Orbit and tar,pos,rot and dir directly. (tried more than logical^^)
But it rotates to far (the object isn't visible anymore, indepentendly of how small the value to rotate is...)

That's my camera file:
Code:

camera( "camera/Camera")
{
   pos( -0.396 -15.286 5.292 )
   tar( -0.393 -14.559 5.128 )
   fov( 35 )
   cstart( 0.1 )
   cend( 100 )
}

Perhaps somebody can help me how to rotate around the object. (should simple be cos & sin, but how to set?)
Thank you very much,
Konstruktur

konstruktor

Posts : 6
Join date : 2009-03-13

View user profile

Back to top Go down

Re: Camera Help

Post  sio2interactive on Wed Mar 18, 2009 5:27 pm

Check tutorial09

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Camera Help

Post  konstruktor on Fri Mar 20, 2009 3:02 am

Thank you,
I didn't look at this tutorial becauce I thought it's just about sound.

Regards,
Konstruktor

konstruktor

Posts : 6
Join date : 2009-03-13

View user profile

Back to top Go down

Re: Camera Help

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum