Results 1 to 2 of 2

Thread: Perspective correction on Mali

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Perspective correction on Mali

    Hi...

    I'm trying to disable "Perspective Correction" in my implementation using "glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL_FASTEST) ", but it seems like not working...

    I have same image with both "glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL_FASTEST) " and "glHint(GL_PERSPECTIVE_CORRECTION_HINT,GL_NICEST)" ..

    The image always looked like having "Perspective Correction"..

    How can I disable "Perspective Correction" on "libGLESv1_CM.dll" made by ARM..

    Thanks..

  2. #2
    Junior Member
    Join Date
    Oct 2009
    Location
    France
    Posts
    11

    Re: Perspective correction on Mali

    According to its name, glHint() does only give hint to the OpenGL ES implementation. Your implementation is free to ignore those hints.

    See manual ( http://www.khronos.org/opengles/sdk/1.1 ... glHint.xml ).

    BTW, you could call glGetError() after glHint() calls to check for an error returned by the OpenGL ES implementation ( http://www.khronos.org/opengles/sdk/1.1 ... tError.xml ).

    You could also query the value associated to GL_PERSPECTIVE_CORRECTION_HINT
    with glGetFixedv(GL_PERSPECTIVE_CORRECTION_HINT, &hint) ( http://www.khronos.org/opengles/sdk/1.1 ... /glGet.xml ).

    Regards.

Similar Threads

  1. Perspective View
    By thesidisticme in forum OpenVG and VGU
    Replies: 3
    Last Post: 05-12-2010, 11:00 AM
  2. Going from ortho to perspective
    By openglesuser in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 09-05-2008, 01:16 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
  •