Hi, I'm new to OpenSG and I have some questions how to proceed in a Project I'm working on. We evaluate to use OSG for this Task:
I must read a CAD model file of a digger-arm exported to VRML. The model has 4 joints which should be steered by the keyboard to move the arm. My procedure so far: * I exported the CAD model from Catia as VRML. The parts of the model, which should be moved are grouped together. * I wrote some OSG code: * Simple GLUT display * Reading the model with SceneFileHandler * Finding the nodes which represent the arm-parts with the NamedNodeFinder class from the examples. * Adding a OSG::ComponentTransform as core of the nodes which get modified when the keys are pressed. * I had a problem with the rotation of the parts, as the pivot-point was not on the joint of the arm, so I edited the file with Blender, moving the pivot-points. That worked, the rotation was correct, but the transformations were in local coordinate system and did not accumulate from one part to another. I realized that the VRML file has a Transformation (I assume to move the part to its position), and then a geometry part inside it. Is the Transformation automatically added as Core of the Node? How can I forwarded the transformation of a parent joint to it's child? I want to avoid reading the parts on its own and applying the transformations from a 'description file' which tell me how the parts assemble. Thanks and regards, Falco ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users