Hello, first of all: osgPython... Many thanks... For me perfect... Worked nearly "out of the box" and I could manage to load a huge set of points and make a surface out of it using Delaunay-Triangulation of osgUtil just with a few lines of scripting.
But now I can't save the scene :-( [root is a Group-Node containing a Geode containing Geometry with my data] I've tried: ins = osgDB.Registry.instance() ins.writeNode( root , './pycreatedData.osg') It tells me: RuntimeError: Method osgDB::Registry::writeNode (osg::Group *, std::string, ) not found. For your Info: I've tried to make some kind of debugging, but I don't know how the wrappers or the boost::Python wrapping is working I looked in osgWrapper/osgDB/Registry.cpp (around line 297, codebase today in the morning) And python is right, there is no function osgDB::Registry::writeNode (osg::Group *, std::string, ) defined, but something like this: I_Method2(osgDB::ReaderWriter::WriteResult, writeNode, IN, const osg::Node &, node, IN, const std::string &, fileName, Properties::NON_VIRTUAL, __ReaderWriter_WriteResult__writeNode__C5_osg_Node_R1__C5_std_string_R1, "", ""); --> it seems, if osgPython generates out of this information it's wrappers then it would expect a const osg::Node& and a const std::string& --> AS far as I know Python doesn't care about pointers or references it's more or less the same... Is there an automatic conversion missing? Or is this the wrong way of saving a scene? Best regards Björn _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/