Hi Robert
About your advice...(how to render 12000000 triangles file,ply)
Once I break the model into smaller geometry (for example N=200
geometry blocks with 60000 triangles),
have I to create a scene with one geode for each geometry? or only one
geode containing all N geometry?

I thought the first solution was the best...but trying both I'haven't
noticed difference in frame rate

beside with smaller geometry I'have noticed an improvement in
rendering performance using VBO or IM (about 5 fps (N=200) versus 1fps
(N=1)),
but the best solution seem to be DL (fps 15 in all case N=1 or N=220).

For larger dataset (30.000.000 triangles) the program  is able to view
the object, only using IM (switching off DL and VBO)

Thanks


2008/4/21, Robert Osfield <[EMAIL PROTECTED]>:
> Hi Fabio,
>
>>
> As for techniques for handling large models, I'd suggest switching off
> display lists, and then breaking the model down into smaller geometry
> blocks, of something like 10,000 vertices/triangles each and use
> VBO's.
>
> Robert.
>
> On Mon, Apr 21, 2008 at 3:35 PM, fabio riot <[EMAIL PROTECTED]> wrote:
> > 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
> >  osg-users@lists.openscenegraph.org
> >  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to