Results 1 to 6 of 6

Thread: glOrtho is missing?

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    1

    glOrtho is missing?

    Hi, developed some opengl applications for PC platform and i want to try write something for my HD2.
    I would like to ask, glOrtho func is missing in opengl es 2.0? if it's true, is there another one method, how to switch into orthographics projection?
    I want to start with something simple, i don't need 3d projection for this time.
    Can you give me some advices how can i do that?

    Thanks, MB

  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    353

    Re: glOrtho is missing?

    OpenGL ES 2.0 does not have fixed function vertex processing, which means it also doesn't have a projection matrix stack. You can do vertex transformations in the vertex shader in whichever way you like. If your vertex shader uses a projection matrix uniform, you simply set it to the desired ortho projection matrix.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

  3. #3
    Junior Member
    Join Date
    Sep 2010
    Posts
    12

    Re: glOrtho is missing?

    See my matrix.h and matrix.c in my engine for matrix making help. viewtopic.php?f=9&t=3140

  4. #4

    Re: glOrtho is missing?

    Thank you for the link
    all the problems are solved now

  5. #5

    Re: glOrtho is missing?

    Thank you, you've just solved my problem too. Cheers.

  6. #6

    Re: glOrtho is missing?

    Hi, guys, registered to thank you for the great solution provided in here. You've saved tones of my nerves and time

Similar Threads

  1. eglBindTexImage missing?
    By freber in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 11-30-2007, 06:25 AM
  2. How does glFrustum and glOrtho affect the z axis?
    By akhil in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 10-02-2007, 11:55 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
  •