02-20-2001, 08:23 PM
Does anyone know how to display bitmaps in 2d on the screen using scree coordinates like in DirectDraw. I realy need this to make a Menu.
I wanted to use DirectDraw but it doesnt work with Opengl.
-Thanks help very appreciated
I think you could try something like this:
Use a new projection matrix
now you can
to plot a vertex in the middle of the screen (the z value generaly dont care, cause i disable the depth buffer).
In addition you should notice that the coordonates (0,0) is the lower left conrner of the screen, but it is not really difficult to change this.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.