[osg-users] Adding primitiveset in runtime

Tyler Durden mynewphoneaaaa at gmail.com
Fri May 4 09:51:15 PDT 2018


Hi Robert.
In a base class i already use follow setup:

meshGeometry->setDataVariance(osg::Object::DataVariance::DYNAMIC);	
meshGeometry->setSupportsDisplayList(false);
meshGeometry->setUseDisplayList(false);
meshGeometry->setUseVertexBufferObjects(true);

where meshGeometry is a osg::ref_ptr<osg::Geometry>

... 

Thank you!

Cheers,
Tyler

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73549#73549







More information about the osg-users mailing list