Results 1 to 2 of 2

Thread: perspective projection

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2001
    Concord, CA, USA

    perspective projection

    I have a vertex data of a model and I want to display the data in the window as a fit view. Can I make it more generalized for displaying any data sets. Let us take the follwing parameters:
    1. center of the model.
    2. the radius of the model

    How do I call glFrustum in this case if the view position is default 0,0,0 and looking into the negative z axis.

    If somebody has some routines to get that, I will be very glad to hear that.
    Please help,

  2. #2

    Re: perspective projection

    It would be better to move the model than to change the perspective.

Similar Threads

  1. Replies: 3
    Last Post: 01-25-2015, 12:27 PM
  2. Perspective projection
    By ukopenglnewbie in forum OpenGL: General
    Replies: 5
    Last Post: 01-30-2009, 02:52 PM
  3. perspective projection
    By OGforever in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-27-2005, 08:24 PM
  4. perspective projection
    By pavankumar in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-23-2004, 06:25 AM
  5. Perspective Projection
    By mattias in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-23-2001, 06:48 PM

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