opengl- rotating camera around object

Feb 27, 2006 at 2:50pm

opengl- rotating camera around object

hi…

another question :-)

i want to rotate (circle) the opengl camera around one specific object…

i can set the lookat-coordinates of the camera to fix it at an specific point…
now i have to change the x and z axis of the camera itself to rotate around the object…

it should be a simple mathformula for calculating the position in a circle… something with sin-cos.. ??

is there an special object or can you tell me the formular…

i not a mathgenius by the way…

thx
peter

#24631
Feb 27, 2006 at 3:01pm

have a look at jasch’s collection of objects, which has many tools
useful for your purpose:

http://jasch.ch/

another tip is to search http://maxobjects.com/ for all 3rd party
options

-deKam

#71580
Feb 27, 2006 at 5:03pm

… and also the [poltocar] object should be useful.

#71581
Feb 27, 2006 at 5:13pm

Such things only have effect if you use a background, or other objects
in combination to the object you want to rotate around. Else just
rotating the object itself would be fine.

Just some hints :)

#71582

You must be logged in to reply to this topic.