opengl- rotating camera around object

    Feb 27 2006 | 2:50 pm
    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

    • Feb 27 2006 | 3:01 pm
      have a look at jasch's collection of objects, which has many tools useful for your purpose:
      another tip is to search for all 3rd party options
    • Feb 27 2006 | 5:03 pm
      ... and also the [poltocar] object should be useful.
    • Feb 27 2006 | 5:13 pm
      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 :)