Hi Tim,

The new data arrives asynchronously out of threads. So I have no chance to 
relate the updates in any way to the timing of frame() calls.
Unfortunately I cannot believe it doesn't matter to osg replacing arrays out 
of threads eventually while frame() is active.
BTW using VBOs results in the following message:

Warning: detected OpenGL error 'invalid operation' after RenderBin::draw(,)
RenderStage::drawInner(,) FBO status= 0x8cd5


Am Mittwoch, 24. November 2010, 10:53:07 schrieb Tim Moore:
> You don't need to generate new vertex arrays each frame, and you don't need
> the mutex either, at least not for OSG. Disable display lists, enable VBOs,
> set the data variance of the vertex arrays to Object::DYNAMIC. During each
> frame update the existing arrays and call their dirty() method.
> 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to