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 3 of 3

Thread: Why does 2D ortho textured geometry wrap into 3D space crossing 0,0 (top-left)?

  1. #1
    Intern Newbie
    Join Date
    May 2006
    Posts
    47

    Question Why does 2D ortho textured geometry wrap into 3D space crossing 0,0 (top-left)?

    Hello,

    A quick question:

    I noticed that a large textured quad image with the mouse cursor centered on it, seems to wrap into the 3D perspective under it, when crossing the 0,0 in 2D ortho.

    What is that a symptom of?

    Thanks!

  2. #2
    Junior Member Regular Contributor Agent D's Avatar
    Join Date
    Sep 2011
    Location
    Innsbruck, Austria
    Posts
    140
    Can you be a bit more specific? Can you describe what "wrap into the 3D perspective under it" means? Do you have screenshots that can show the effect, to make sure we aren't talking about an optical illusion? What does your projection matrix look like?

  3. #3
    Intern Newbie
    Join Date
    May 2006
    Posts
    47
    The answer was a range conflict between the main 3D DrawArray into the 2D HUD DrawArray range.

    Thanks for your help!!

Posting Permissions

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