Hi, Converting a FBX file (2010.2) into an OSG I saw that some "NULL" nodes are lost. For example I've tried a convertion of a simple scene:
OBJECT |----OBJ_WRAPPER |----object_with_mesh OBJECT and OBJ_WRAPPER are simple "NULL" nodes, typically used to group others object. I've exported in FBX a scene structured as the above example and then I have converted this file into an OSG file (osgconv). The OSG file don't contains the NULL nodes but only the object_with_mesh. Analyzing the FBX file, I think that this happens when to a NULL node is applied no one transformation. OBJECT and OBJ_WRAPPER aren't inserted in the OSG file if they have FBX properties like: Property: "Lcl Translation", "Lcl Translation", "A+",0,0,0 Property: "Lcl Rotation", "Lcl Rotation", "A+",0,0,0 Property: "Lcl Scaling", "Lcl Scaling", "A+",1,1,1 Property: "Visibility", "Visibility", "A+",1 Instead, if they have some non-zero Translation field or others properties, then they are inserted in the OSG file as MatrixTransform node. So, this behavior can be an optimization but the OSG file not always respect the original hierarchy. Is there any way to keep the original hierarchy? Thank you! Cheers, Dario ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27365#27365 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org