Hi,

I noticed a while ago that 1.8 has VBO's. This is nice. :)

However, since it always creates STATIC_DRAW buffers, it's not very 
efficient if one has dynamic geometry. From what I gather, the buffers 
are even deleted/created every time. This isn't really optimal. The 
current VBO impl looks a bit 'quick' as well (a global VBO list?), so it 
might be more thoroughly implemented in 2.0?

To fix the current situation (we have a performance problem in 
updateVBO), I was thinking that you should simply not use VBO's if 
dlistcache is false. I can make a patch for that. :)

Of course, it would be better to:
 * Use DYNAMIC-/STREAM_DRAW if dlist-cache is set to false (and perhaps 
rename it to a static/dynamic flag to make it more clear?)
 * Not recreate buffers unless the size/type has changed.

Patching for that would take more time, and might not be worth it if 2.0 
is doing it better?

Comments?

Cheers,
/Marcus

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to