Results 1 to 2 of 2

Thread: how to show parallel projecting? (please provide coding)

  1. #1
    Guest

    how to show parallel projecting? (please provide coding)

    hi, i currently was persuing a OpenGL course. i wonder how to proof a object is parallel projecting? i need ur help indeed as soon as possible. please provide me with coding part, thanks.

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: how to show parallel projecting? (please provide coding)

    You could analyze the modelview and projection matrices for projective parts.
    Find a copy of the OpenGL programming guide (the "redbook") and look into appendix F homogenous transformations. Compare glOrtho and glFrustum matrices, esp. the bottom row.
    (Remeber OpenGL matrices are float [16] arrays and column-major.)
    You could also project points at different x,y,z postions and make sure all points along a eye-z-axis have the same projected x,y coordinates.

Similar Threads

  1. Should I provide interleaving to end users?
    By DarioCiao! in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 08-13-2014, 06:21 PM
  2. Replies: 2
    Last Post: 04-29-2010, 05:14 PM
  3. Replies: 0
    Last Post: 08-02-2006, 09:24 PM
  4. Replies: 5
    Last Post: 08-02-2006, 01:59 AM
  5. does opengl provide some functions to load tga ?
    By jirkamelich in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 12-12-2002, 11:17 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