Results 1 to 2 of 2

Thread: Setting up a camera using gluperspective

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2009
    Posts
    1

    Setting up a camera using gluperspective

    I'm having trouble setting up a camera using gluperspective and glulookat. I've looked at a lot of code, an can't seem to make my code work. Have a blank screen. I am coding on the QT ide for windows. Anybody have any sample code so I can get started? Or an explanation of how to use the glu functions? Any help would be much appreciated!

  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2007
    Location
    CA
    Posts
    408

    Re: Setting up a camera using gluperspective

    I suggest taking the time to read carefully chapter 3 of the Redbook. That has a very good explanation on the topic. There are some examples in there that will demonstrate how to correctly use the camera and projection matrix.

Similar Threads

  1. Need help setting the camera
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-25-2006, 12:17 AM
  2. Setting a camera
    By Cypray in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-24-2004, 07:00 AM
  3. setting the near clip with gluPerspective
    By GameMaker in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 11-28-2002, 03:36 PM
  4. setting camera position
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-27-2002, 07:03 PM
  5. Setting up a camera
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 05-12-2000, 04:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean