[osg-users] How does PIXEL_SIZE_ON_SCREEN work

Bruno Oliveira bruno.manata.oliveira at gmail.com
Tue May 17 02:08:06 PDT 2016


I am rendering point clouds.

What I want to do is to guarantee a certain point density is displayed. I
know the number of points in each LOD and I know the bounding boxes of
those LOD's. Can't I calculate a certain resolution value to pass to the
LOD?

2016-05-16 11:54 GMT+01:00 Bruno Oliveira <bruno.manata.oliveira at gmail.com>:

> Thank you very much ! I understand very well the concept now, But I can't
> still figure out a good range value, and based on what
>
> 2016-05-16 11:13 GMT+01:00 Jordi Torres <jtorresfabra at gmail.com>:
>
>> Hi Bruno,
>>
>> Take a look to this document from Chris ( Alphapixel )
>> http://alphapixel.com/wp-content/uploads/2015/04/LOD-Level-of-detail-in-OpenSceneGraph-OSG.pdf
>> .
>> It could shed some light on LODding.
>>
>> Cheers.
>>
>> 2016-05-16 12:03 GMT+02:00 Bruno Oliveira <
>> bruno.manata.oliveira at gmail.com>:
>>
>>> Hello,
>>>
>>> I am using a LOD but I don't understand how PIXEL_SIZE_ON_SCREEN range
>>> mode works.
>>>
>>>
>>> I am doing
>>>
>>> lod->setRangeMode(osg::LOD::RangeMode::PIXEL_SIZE_ON_SCREEN);
>>>
>>> but what parameters can I use to configure this mode?
>>>
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users at lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>>
>>
>>
>> --
>> Jordi Torres
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160517/a4fd0665/attachment-0002.htm>


More information about the osg-users mailing list