Hi,

Maxime BOUCHER wrote:
 I'm currently attacking the primitives of my scene and I would like to remove 
some of them from my one of my PrimitiveSets.

[...]


Isn't there a way to do a classical remove method like the one from the 
std::vector (for example) ?
What kind of PrimitiveSet do you want to erase elements from? E.g. all DrawElementsXXX classes derive from std::vector, so you should be able to use the methods from vector on those.

Paul

 A very ugly and heavy solution would be to copy the existing one but the 
indices I want to remove . As I say, it's very ugly and as I want to remove a 
lot of primitives it would quickly become very heavy.
Thank you!

Cheers,
Maxime

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to