• Advertisement

Archived

This topic is now archived and is closed to further replies.

Drawing an image outside the viewport

This topic is 5435 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I'm trying to setup a window that has the viewport confined to the top right corner of the screen, and a GUI running along the left and bottom of the window. I've relocated the viewport no problems, but I need to paste an image over the remaining areas of the window to represent the interface. The problem is glRasterPos() wants a world coordinate within the viewport. I've noticed when I don't specify the raster position, it's drawing from the bottom left by default. That would be perfect, except that I'm also using glRasterPos() to position images within the viewport, and I have no way of resetting it to the bottom left again. Is there a way to set the raster position in window coordinates rather than world coordinates, or is there some other drawing routine to do the job? [edited by - Nemesis2k2 on March 6, 2003 2:39:18 AM]

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement