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: Problem about textureProj

  1. #1
    Intern Contributor
    Join Date
    Mar 2011
    Posts
    87

    Problem about textureProj

    textureProj performs a texture lookup with projection.

    Can someone explain in detail for me about the function? i do not know what the "projection " mean in this sentence.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: Problem about textureProj

    Read :
    http://www.opengl.org/sdk/docs/mangl...extureProj.xml
    The "projection" is the one happening with homogeneous coordinates.
    This is needed to make perspective working correctly, allows to define texcoords at infinity, etc.

Posting Permissions

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