PDA

View Full Version : fly-through camera



Dogcow
10-22-2002, 02:02 PM
I have been assigned the task of creating a 3-d world with objects, lighting, textures, and a fly-through camera.

I plan to first create a floor w/ a texture, then the fly-through camera, then add other objects, and finally the lighting. Is this order fine or am I overlooking something?

What's the best approach for the camera? It needs to respond to keyboard commands to move through the environment. is glTranslatef(....) good for the movement part? If so, what command would I use to have the camera rotate inside the environment?

Any other advice on how to proceed would be appreciated. I don't want to get in real deep only to find out there's a better approach I could take...

Thanks,
-Dogcow "moof!"
Visit The Underground (http://theunderground.eon.com.au)

yakuza
10-22-2002, 05:23 PM
The answers to all your questions can be answered at http://www.gametutorials.com and http://nehe.gamedev.net

Those are two excellent sites, with tutorials on cameras, lighting, model loading, and more.

Hope that helps!