Advertisement

A Camera Class?

Started by July 18, 2004 09:20 AM
1 comment, last by ndr 20 years, 7 months ago
I would like to know how to create a camera class, can anyone help?
I should elaborate, I am using VC++ and the open GL tutorials from NeHe. I have 3d shapes moving aroung the screen, but I want a camera to move around the shapes, and I haven't been abvle to find anything in the tutorials.




We built this city......Webuilt this city on rock n' roll
Advertisement
There's quite a few articles around on this. Something to look at might be:
http://nehe.gamedev.net/data/articles/article.asp?article=08

Gametutorials.com also have a few good introductory programs (code) implementing a camera. They can be found at:
http://www.gametutorials.com/Tutorials/OpenGL/OpenGL_Pg1.htm
Also shows you how to do time based movement (not difficult, but definately worth doing if you haven't).

This topic is closed to new replies.

Advertisement