Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Efficient Camera class

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2004
    Posts
    1

    Efficient Camera class

    Hello,
    I need an idea about how to make an efficient
    Camera.
    I suppose it couldnīt make geometric operations, it would only use glRotate, glTranslate, glScale, glLoadMatrix and glGetIntegerv.
    Thanks

  2. #2
    Junior Member Regular Contributor
    Join Date
    Oct 2002
    Location
    San Diego, CA, USA
    Posts
    211

    Re: Efficient Camera class

    Due to the fact that I need the camera's matrix for some certain things, I store, calculate and load that myself. I suggest you do the same, or else you may end up rewriting your camera class. Aside from that, there really isn't much to writing a camera class. For a decent beginner's eye view of what a camera class should look like, take a look at some of the tutorials available on the net.

    Here's a bone for you www.gametutorials.com.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •