Hi, I'm writing an application which execute some algorithms on model's geometries.
To make simplier code, I would like to convert all nodes in a model file to a specific structure, for example : - use only TRIANGLES primitive - use only PER_VERTEX bindings - etc... I know this could lead to a bigger memory footprint, but I makes our algorithms code really simplier. I could do a lot of the work using standard osg utilitary visitor (like optimizer) but I didn't find anything to convert an array from "BIND_OVERALL" or "BIND_PRIMITIVE" or "BIND_PRIMITIVESET" to "BIND_PER_VERTEX". Before I start to write the conversion code myself, is there any way to do this using an existing osg visitor or primitive functor ? Thank you! Cheers, Aurelien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51851#51851 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

