View Full Version : GUI in intermediate mode?
12-18-2002, 11:12 AM
If you were to build a game gui (Very simple 2D flat stuff) using OpenGL. Would it be best to render it in intermediate mode? expecialy if you are in 2D and need certain polys over others?
12-19-2002, 11:58 AM
I would use glOrtho2D() to draw anything that is 2D. There is no depth, but whatever is drawn last is on top.
Of course there's a depth when using orthographic projection. Just enable the depth test and everything is as usual.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.