The question is: would it be ok to use inmediate mode to perform the render?
Edited by germangb, 10 December 2012 - 12:02 PM.
Posted 10 December 2012 - 01:44 PM
Love DAOC? Tryout my DAOC clone: https://dl.dropboxusercontent.com/u/8974528/VON_Dist.zip
Posted 10 December 2012 - 09:19 PM
Posted 12 December 2012 - 01:51 AM
Posted 12 December 2012 - 04:19 AM
Posted 12 December 2012 - 09:04 AM
If your question is purely about whether or not viewport clipping is supported with each of these rendering methods, the answer is Yes. Viewport clipping is part of the rendering pipeline and it makes no difference how the triangles got to that stage of the pipeline.
But we can’t tell you in good conscience to use immediate mode nor display lists.
Immediate mode has been deprecated for ages and is terribly horribly slow. Display lists have been deprecated for a shorter period of time but are deprecated and their use is entirely discouraged not only by people who know what they are doing but also by Khronos. Considering how easy the switch is to VBO’s from display lists, there really is no reason not to do it, so I really can’t understand why you can’t just use VBO’s and be done with it.
In future versions of OpenGL you won’t even have the choice not to use VBO’s—it will be required that you do.
L. Spiro
Edited by germangb, 12 December 2012 - 09:06 AM.