[osg-users] How can a subset of an vertex array marked as dirty ?

Julien Valentin julienvalentin51 at gmail.com
Mon Jun 20 09:22:44 PDT 2016


Hi mat42x

Code:
VecArray->getBufferObject->dirty()


should be what you're searching for


mat42x wrote:
> Hi,
> 
> my geometry has a quit large vertex array and uses VBOs. I want to update just a small subset of the array with new coordinates and let's OSG update the VBO accordingly. 
> 
> How can this be done without using the OpenGL API directly? 
> 
> I am using OSG version 3.2.0.
> 
> Thank you!
> 
> Cheers,
> Mathias


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








More information about the osg-users mailing list