René Molenaar wrote:

> Swig wrappers for OpenSceneGraph Python and Perl
>
> These files are part of: The VRmeer Library - Delft University of 
> Technology
>
> The files are based on osgswig (http://code.google.com/p/osgswig/)
> with some additions and CMake files.
>
Thanks for the post, I' ll try them as soon as possible, I' m currently 
try to learn python and osgswig using the binary version under windows XP
I stumbled upon a problem:

I would like to parse the one scene, so willing to use  something like:


node = osgDB.readNodeFile('cow.osg')

while node.className() == 'Group':
    print node.className()
    node = node.asGroup().getChild(0)
print node.className()

The problem arise when getChild() returns a Geode.
There is no  --- node.asGeode() ---- method so I have no idea of how to 
get the handle of a Geode in the scene.

Sorry for my dumbness, any help really appreciated,

Luigi
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to