Hi Paul, I suppose I am unsure of "OSG best practices" to use when picking of primitives. With osg::Nodes I am using "userdata" quite effectively to relate an picked osg::node back to my data model - but with primitives it is not quite so clear what the best OSG way would be especially when dealing with 500K primitives. My naive approach would be to store a lookup relating primitive index to my C++ model object so I can extract my C++ object from a primitive pick index.
Also , I am not sure how best to go about showing the selection. I could, for example, break the geometry into "selected" and "non-selected" geonodes and shuffle the primitives back and forth between these two based on what has been selected or de-selected. ... Thank you! Cheers, Andrew ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13308#13308 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

