[osg-users] PagedLOD range for 2D image tiles

Robert Osfield robert.osfield at gmail.com
Wed Sep 14 00:01:36 PDT 2016

Hi Brunio,

You will need to decide what sizes are appropriate, my own rule of
thumb is to aim for one texel in a texture to one pixel on the screen,
the use the expected field of view to compute what distances this
relates to for each resolution level.


On 13 September 2016 at 23:30, Bruno Oliveira
<bruno.manata.oliveira at gmail.com> wrote:
> Hello,
> I have a pagedLOD engine setup, for displaying big images (10000x10000
> pixels)
> I subdivided these images in an pyramid with several scales (starting, for
> instance, at 0.125 of the image size and going up to 1.0 of the image size)
> Everything is displaying correctly, except that I don't understand how to
> setup the PagedLod range for my pyramid, so that only a certain pyramid
> scale appears at a time.
> For now, I have this,
> lod->setRangeMode(osg::LOD::RangeMode::PIXEL_SIZE_ON_SCREEN);
> lod->setRange(0, 0, FLT_MAX);
> So obviously all tiles display at once. How can I setup this so that only a
> certain pyramid level is displayed at a time?
> _______________________________________________
> 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