[osg-users] Level of Detail

Carlos Zoido mrgalleta at gmail.com
Mon Oct 15 03:55:09 PDT 2007


Hi,

I think maybe you get some useful ideas from this link:

http://www.vterrain.org/LOD/Implementations/

One fast way of doing it is to segment your complex geometry in parts
but you have to take care with joints, in that link you'll find some
information about that.

Regards,

Carlos.



On 10/15/07, Daniel Moos <danimoos at gmx.ch> wrote:
> How can I describe my problem?
> I have a model loaded. This model i simplify with the OSG::Simplifier
> Now I want to display the nearer Triangles of the Model from the original
> Model and the triangles with a higher distance from the simplified model. To
> do this, i want to use a LOD::Node.
>
> Am Montag, 15. Oktober 2007 12.24:19 schrieb wangmiao:
> > I have no idea what exactly you want, maybe you can give a little more
> > detail of your problem.
> >
> > ----- Original Message -----
> > From: "Daniel Moos" <danimoos at gmx.ch>
> > To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
> > Sent: Monday, October 15, 2007 5:12 PM
> > Subject: Re: [osg-users] Level of Detail
> >
> > > Thanks for your fast answer! It works very well!
> > > But... I have an other question about LOD-Nodes. I can use a LOD to
> > > display a Model with a specified distance. To calculate the distance the
> > > bounding-box of the model is used. So i can set a complete model visible
> > > or invisible.
> > >
> > > Give it a way to calculate the distance between the eye-point and a
> > > single triangle from a model? LOD of triangles from a model?
> > >
> > > Thank you!
> > > Daniel
> > >
> > > Am Montag, 15. Oktober 2007 09.48:00 schrieb wangmiao:
> > >> The Lod node is used to manage a series of model node, you can attech
> > >> models to it.But it will not simplify models for you. You need
> > >> osgUtil::Simplifier to do it.Here is a simple example.....
> > >> osgUtil::Simplifier sm;
> > >>     sm.setDoTriStrip(false);
> > >>     sm.setMaximumError(FLT_MAX);
> > >>     sm.setMaximumLength(FLT_MAX);
> > >>     sm.setSampleRatio(ratio);
> > >>     sm.simplify(*newgeometry);
> > >>     newgeode->addDrawable(newgeometry.get());
> > >>
> > >>
> > >> ----- Original Message -----
> > >> From: "Daniel Moos" <danimoos at gmx.ch>
> > >> To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
> > >> Sent: Monday, October 15, 2007 3:00 PM
> > >> Subject: [osg-users] Level of Detail
> > >>
> > >> > Hello Everybody.
> > >> >
> > >> > This User-Group is great... Thanks to all!
> > >> >
> > >> > I have a question about LOD (Level of Detail). I have a complex model
> > >> > to load. The performance isn't good enough with such a complex model.
> > >> > I want an LOD-Node in my program to display this complex model. Give
> > >> > it a way to simplify a model in OpenSceneGraph? It will be nice to
> > >> > generate a simpler model from a given model.
> > >> >
> > >> > Can OpenSceneGraph generate such a simpler model?
> > >> >
> > >> > Thanks to all!
> > >> > Daniel
> > >> > _______________________________________________
> > >> > osg-users mailing list
> > >> > osg-users at lists.openscenegraph.org
> > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> > >> >org
> > >>
> > >> _______________________________________________
> > >> osg-users mailing list
> > >> osg-users at lists.openscenegraph.org
> > >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
> > >>g
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users at lists.openscenegraph.org
> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list