Archived

This topic is now archived and is closed to further replies.

kmg

camera rotation

Recommended Posts

how do you rotate the camera round an object or an environment, i can spin objects as in early tutorials and can spin objects round my view as in tutorial 10 but how do I rotate the view around an object will the object remains still say for example with a cube. Thanks

Share this post


Link to post
Share on other sites
Use some kind of transform with GluLookAt. You can down load some cool tutorials in openGL on the use of Projection, transformations, fog, lighting, etc at Nate''s website.

http://www.xmission.com/~nate/tutors.html

That should give you some idea of how to make it happen!!

Have fun
Roach

Share this post


Link to post
Share on other sites