[osg-users] How to select OSGB tiles for current zoom?

Chris Hanson xenon at alphapixel.com
Wed Sep 18 12:28:05 PDT 2019


Those max screen diameter values are using by projecting the diameter of
the bounding sphere (usually encoded in any Group-derived nodes) through
the modelview/projection matrix to assess its on-screen extent in pixels.
If it is above or below the threshold defined by the max screen diameter
field, that triggers a change in the selection of children.

On Wed, Sep 18, 2019 at 12:55 PM <shlem at netvision.net.il> wrote:

> Hi
> I wrote my own renderer based on DirectX.
> Everything goes nice except one issue.
> How I decide to show the some tile/node or its children regarding to
> current zoom level?
> Does each tile/none have some hints? (like 3mx files for example, that
> have  MaxScreenDiameter field)
> Thanks in advance
> Leonid Shikhmatov
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190918/8df16ac5/attachment.html>


More information about the osg-users mailing list