Hi again,

Thanks a lot for that code, I'm sure it will be a real help for me but I can't 
seem to create the geode and pass it to my addDrawable

I'm getting an error of:

[code]
osg::Geometry* grid_sd = new osg::Geometry();
osg::Geode* grid_geode = new osg::Geode();
grid_geode->addDrawable(grid_sd);

____________________________________

error C2512: 'osg::Geometry' : no appropriate default constructor available

error C2664: 'osg::Geode::addDrawable' : cannot convert parameter 1 from 
'osg::Geometry *' to 'osg::Drawable *'[/code]

I don't know understand where to define an appropriate default constructor?

... 

Thank you!

Cheers,
Richard

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27169#27169





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to