Hi all
I'm new in OSG, so I need some advices to address my work.
I need to visualize a large dimension laser scanner file (.ply).
it contains about 6.000.000 of points and 12.000.000 of triangles
(point's connections).
I'm not able to view the entire file with a single node scenegraph
(the program fails):


osg::Node* node = NULL
node = osgDB::readNodeFile("entire_file.ply"); //with my plugin
osg::ref_ptr<osg::Group> root = new osg::Group();
root->addChild(node);
viewer....etc


So I have broken the "laser cloud" in more little pieces
(at example 12 pieces each one with 500.000 points and about 1.000.000
triangles)
and I have created a scenegraph with 12 node


osg::ref_ptr<osg::Group> root = new osg::Group();new osg::Group();
root->addChild(node1);
root->addChild(node2);

.....

root->addChild(node12);

where each node contains one pieces of data

In this way I can load and view the all strucure...but the loading
time is very very long (60 min)

I'would like to know if this is the correct way to tackle my problem
or if there's a clever way...Thanks
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to