Sign in to follow this  
PolecatIV

Rotating tilemap... or the camera?

Recommended Posts

I got my circuit-tilemap (texture), my car (not yet). My car is always @ centerscreen, and the tilemap rotate and translate. Is better keep the tilemap blocked and rotate the camera that get the same car rotations and translations? There's a way to rotate camera in ogl without use the glut function: gluLookAt()?

Share this post


Link to post
Share on other sites
gluLookAt is not glut func.
And what about glRotate ?
And it doen't matter what u rotate, because ogl doesn't have extra camera matrix like DX. So whatever u are doing, do it with modelview matrix.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this