<div dir="ltr">I'm not sure which field you're really asking about, but you should be looking at the PagedLOD and LOD classes, and their LOD ranges. There are some class flags there that indicate how to interpret the LOD ranges.<div><br></div><div>I wrote some whitepapers on LOD and VPB/PagedLOD. You should probably read them:</div><div><br></div><div><a href="http://alphapixel.com/wp-content/uploads/2015/04/LOD-Level-of-detail-in-OpenSceneGraph-OSG.pdf">http://alphapixel.com/wp-content/uploads/2015/04/LOD-Level-of-detail-in-OpenSceneGraph-OSG.pdf</a> <br></div><div><br></div><div><a href="http://alphapixel.com/wp-content/uploads/2015/04/OpenSceneGraph-OSG-Virtual-Planet-Builder-VPB-OSGDEM.pdf">http://alphapixel.com/wp-content/uploads/2015/04/OpenSceneGraph-OSG-Virtual-Planet-Builder-VPB-OSGDEM.pdf</a> </div><div><br></div><div> <br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 18, 2019 at 1:43 PM <<a href="mailto:shlem@netvision.net.il">shlem@netvision.net.il</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:Calibri;color:rgb(0,0,0)">
<div>Thank you for the answer.</div>
<div>Can you point me to appropriate class/field name in osg</div>
<div style="font-size:small;text-decoration:none;font-family:Calibri;font-weight:normal;color:rgb(0,0,0);font-style:normal;display:inline">
<div style="font:10pt tahoma">
<div> </div>
<div style="background:rgb(245,245,245)">
<div><b>From:</b> <a title="xenon@alphapixel.com">Chris
Hanson</a> </div>
<div><b>Sent:</b> Wednesday, September 18, 2019 22:28</div>
<div><b>To:</b> <a title="osg-users@lists.openscenegraph.org">OpenSceneGraph
Users</a> </div>
<div><b>Subject:</b> Re: [osg-users] How to select OSGB tiles for current
zoom?</div></div></div>
<div> </div></div>
<div style="font-size:small;text-decoration:none;font-family:Calibri;font-weight:normal;color:rgb(0,0,0);font-style:normal;display:inline">
<div dir="ltr">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.</div>
<div> </div>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Wed, Sep 18, 2019 at 12:55 PM
<<a>shlem@netvision.net.il</a>> wrote:<br></div>
<blockquote class="gmail_quote" style="padding-left:1ex;border-left:1px solid rgb(204,204,204);margin:0px 0px 0px 0.8ex">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:calibri;color:rgb(0,0,0)">
<div>
<div>Hi</div>
<div>I wrote my own renderer based on DirectX.</div>
<div>Everything goes nice except one issue.</div>
<div>How I decide to show the some tile/node or its children regarding to
current zoom level?</div>
<div>Does each tile/none have some hints? (like 3mx files for example, that
have MaxScreenDiameter field)</div>
<div>Thanks in advance</div>
<div>Leonid
Shikhmatov</div></div></div></div></div>_______________________________________________<br>osg-users
mailing list<br><a>osg-users@lists.openscenegraph.org</a><br><a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br></blockquote></div>
<div> </div>
<div> </div>-- <br>
<div class="gmail-m_-8831494854638847818gmail_signature" dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere.
Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div>
<div style="text-align:center">Training • Consulting • Contracting</div>
<div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) •
OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div>
<div style="text-align:center"><span style="font-size:12px">Legal/IP
•</span><span style="font-size:12px"> </span><span style="font-size:12px">Forensics •</span><span style="font-size:12px"> </span>Imaging <span style="font-size:12px">•</span><span style="font-size:12px"> </span><span style="font-size:12px">UAVs </span><span style="font-size:12px">• GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android</span></div>
<div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL
[7495]<br></div></div></div></div></div></div>
<p>
</p><hr>
_______________________________________________<br>osg-users mailing
list<br><a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br><a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br><p></p></div></div></div></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div><div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div><div style="text-align:center"><span style="font-size:12.8px">Legal/IP •</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">Forensics •</span><span style="font-size:12.8px"> </span>Imaging <span style="font-size:12.8px">•</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">UAVs </span><span style="font-size:12.8px">• GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android</span></div><div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]<br></div></div></div></div></div></div>