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: Render object at bottom right of screen

  1. #1
    Intern Newbie
    Join Date
    Mar 2011
    Posts
    48

    Render object at bottom right of screen

    Easy question:

    How can I always render a object in the bottom right of the screen?

    I'd like it to follow any rotation that my camera has be always be at the bottom right of the viewport.

    I use gluPerspective(45.0F,....), if that matters.

    thanks
    josh

  2. #2
    Intern Newbie
    Join Date
    Mar 2011
    Posts
    48

    Re: Render object at bottom right of screen

    Dang guess not many people do this. I've been looking it up and seen thing like glortho??? not sure if that right though prolly not?

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Jan 2007
    Posts
    964

    Re: Render object at bottom right of screen

    glOrtho will do it but won't give you perspective on it.

    You could create a smaller glViewport located at the bottom-right, but perspective will be relative to that viewport rather than to the main view. I'm not sure if that's what you want.

Posting Permissions

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