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: Perspective issues

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2005
    Location
    italy
    Posts
    9

    Perspective issues

    Using perspective projection the farther an object is from the eye, the smaller it appears in the result image.
    This relation between distance from the eye and dimension seems to be nonlinear, this amount of nonlinearity depends from glFrustrum parameters?How can I compute this relation?
    Visual Basic 6.0 must die

  2. #2
    Member Regular Contributor
    Join Date
    May 2001
    Posts
    349

    Re: Perspective issues

    With perspective projection the projected size of an object in each dimension is inversely proportional to the distance.

    In other words, a 1x1 square at distance 1 and a 4x4 square at distance 4 project to an equal area.

Posting Permissions

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