[osg-users] Questions about vertex and index arrays for geometry
a-goebel at gmx.de
Sat Oct 27 04:39:03 PDT 2007
Stephan Huber schrieb:
> Andreas Goebel schrieb:
>> There is still a problem: How do I tell osg::Geometry that one of the
>> arrays size has chaged? It does work, of course, if I do a
>> again, but if I want it to stay the same vertexArray, is there a way to
>> tell the geometry that its size has changed?
>> In other words: I would need a function like "setVertexArraySizeDirty" .
> I update the count of the corresponding primitiveSet:
> osg::DrawArrays* da =
> if (da) da->setCount(vertices->size());
> or something similar...
unfortunately it doesn´t work. I get a crash so deep that I can´t even
Well, so I check myself if the size has changed and if so, I do a
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users