View Full Version : Render object at bottom right of screen

10-01-2011, 01:55 AM
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.


10-03-2011, 05:57 AM
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?

10-03-2011, 06:34 AM
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.