Dear ng, I want to manipulate the coordinates of certain points after loading a mesh file. I understand that after calling n = osgDB.readNodeFile(fname) I get a Node. However, it should also be a Geode, so I try to call n.asGeode() This results in a None type. Question 1: what do I do wrong?
Once I have a Geode, I should be able to access the Geometry as shown here: [not allowed to post links... this forum, 2009-February/024170.html] Question 2: This example shows how to read the vertex coordinates, but can I also set them like that? Question 3: Is there a more straight-forward way to convert Geometry to python (preferably numpy) arrays and back? Thanks a lot, Mathias ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29029#29029 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

