Sign in to follow this  
germangb

terrain render

Recommended Posts

Hey, I want to implement clipping in my terrain generator in openg.
The question is: would it be ok to use inmediate mode to perform the render? Edited by germangb

Share this post


Link to post
Share on other sites
[quote name='Steve_Segreto' timestamp='1355168680' post='5009169']
Yes. viewport clipping still works in immediate mode IIRC.
[/quote]

won't it make the framerate drop drastically?

Share this post


Link to post
Share on other sites
[quote name='L. Spiro' timestamp='1355195961' post='5009289']
Using immediate mode makes slow.
It is [b]never[/b] “okay” to use immediate mode.
Use VBO’s.


L. Spiro
[/quote]

yeah I know, but what about displaylists instead of VBOs?

Share this post


Link to post
Share on other sites
Display lists have been "discouraged" for a while. I stopped using GL [i]years [/i]ago and they were already considered on their way out.
As far as I recall, they're now officially deprecated... except GL cannot say "deprecated", it says "not in the core profile" or something like that.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
[quote name='L. Spiro' timestamp='1355307587' post='5009771']
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
[/quote]

thanks! I'll definitely go with VBOs :) Edited by germangb

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this