<div dir="ltr">Sorry, my mistake. No FOV in Ortho2D projection, obviously!<div><br></div><div>I tried that setRange(id, 0.5, 2) and it did not work, no tile is ever rendered..</div><div><br></div><div>Notice that my tiles are added to the scene graph as geodes, with size = tileSize / scale,</div><div>hence, a tile is always 256 pixels, but the geode size is set to world coordinates as the size that tile occupies in the whole image frame coordinates.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-14 10:41 GMT+01:00 Valerian Merkling <span dir="ltr"><<a href="mailto:niarkoleptik@gmail.com" target="_blank">niarkoleptik@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> I am also using an Ortho2D projection (field of view 30 degrees)<br>
<br>
<br>
</span>There is no such things as field of view for Ortho projection.<br>
<br>
<br>
<br>
><br>
> So, Let me draw a specific scenario: an image pyramid, starting at scale 0.125, going all the way up to 0.25, 0.5, 1.0.I am also using an Ortho2D projection (field of view 30 degrees). The tiles are fixed size, and I know their size in pixels.<br>
<span class="">> Can I use PIXEL_SIZE_ON_SCREEN for my purpose?<br>
<br>
<br>
</span>I think you can try somethings like setRange(id, 0.5, 2); for every tiles.<br>
<br>
I mean you already have tile for each resolution level so you just need to show the one which is the closest to 1:1.<br>
<br>
You need ranges of [0..A], [A..B], [B..C] when using the DISTANCE_FROM_EYE.<br>
<span class=""><br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=68601#68601" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=68601#<wbr>68601</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>