[osg-users] PagedLOD range for 2D image tiles
Bruno Oliveira
bruno.manata.oliveira at gmail.com
Tue Sep 13 15:30:12 PDT 2016
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160913/3f924ec5/attachment-0001.htm>
More information about the osg-users
mailing list