Advertisement Jump to content
Sign in to follow this  
Eitsch

Static Geometry

This topic is 4891 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

my lists: glNewList() glDrawArrays() glEndList() if i use single glVertex calls i have the same performance as vertex arrays. how can this be? i thougt vertex arrays would speed up my app... (GeForce FX 5200) what tips do you have to render static geometry? thanks

Share this post


Link to post
Share on other sites
Advertisement
Do you mean using a vertex array inside a display list compared to immediate mode inside a display list? I think that's what you're asking based on this...
Quote:
glNewList()
glDrawArrays()
glEndList()

Anyway, that will most likely not offer any performance gain because display lists are usually stored on the card and the main advantage of vertex arrays is that you can send many vertices with just one or a few draw calls. But if the data is already on the card it won't make much of a difference. According to section 16.100 of the OpenGL Technical FAQ it may even lower performance if the list is not stored on the card because it may end up using more memory.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!