Hi Fan,

can you post a code snippet of what you tried? And some details about how it 
failed? Because it should work with the readNodeFIle method, for example like 
this:

osg::Node* n = osgDB::readNodeFile("pathToCityGMLFile");
osgViewer::Viewer viewer;

// add model to viewer.
viewer.setSceneData( n);

return viewer.run();

This is independent from the data you try to load (CityGML, 3ds, obj, ...), as 
long as a plugin exists it will be loaded.

Cheers,
Tassilo

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





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

Reply via email to