Simon Haegler wrote:
> osgHello
>
> i would like to use VBOs in my current project (based on 1.8/cvs). i 
> found the GeoVBO class in the sources, but no test/tutorial code... 
> where/how do i start?
>   
VBOs are enabled automatically in 1.8. They can be disabled using 
Geometry::setVBO(false), but to use them, you need to do nothing. 
(Except perhaps make sure you are using single-indexed geometry.)

Also note that they currently are created as STATIC_DRAW buffers, which 
make them unsuitable for dynamic geometry. That will probably change in 
the future.

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