# [osg-users] Level of Detail

wangmiao wangmiao at ict.ac.cn
Mon Oct 15 03:24:19 PDT 2007

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

> 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);
>>
>>
>> ----- 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.org
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>