Results 1 to 2 of 2

Thread: Texture perspective correction

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000

    Texture perspective correction

    Hi, All!

    I am using orthographic progection in my program (by using glOrtho) and try to set texture filter in GL_LINEAR and set texture perspective correction by using glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST).
    But it doesn't work! When my triangles are near Near Plane texture looks not correct, but when they are far from Near Plane they are correct.

    When I use perspective projection by using glFrustum all works fine.

    What can I do? Please help.

    Yours, Mad Max.

  2. #2

    Re: Texture perspective correction

    When you use glOrtho, you don't need perspective correction because there is no perspective to correct for, so I'm a little confused about what you mean? Do you mean that there is some kind of other distortion when you use glOrtho?

Similar Threads

  1. glFrustum / Perspective Correction
    By pradox in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-04-2016, 12:56 PM
  2. Texture Perspective Correction!
    By UmerLaton in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-20-2012, 11:17 AM
  3. Perspective correction on Mali
    By himman in forum OpenGL ES
    Replies: 1
    Last Post: 01-06-2010, 10:43 AM
  4. Forcing Texture perspective correction ?
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-12-2002, 10:01 PM
  5. No perspective correction when clipping?
    By Tom Nuydens in forum OpenGL: Advanced Coding
    Replies: 12
    Last Post: 11-08-2000, 11:15 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