[osg-users] loading LODs in orthographics projection

Ulrich Hertlein u.hertlein at sandbox.de
Fri May 2 22:58:34 PDT 2008


Hi Santosh,

santosh wrote:
> how to do zoom in and out in orthographic projection? As I zoom in  the
> detailed geometry should be loaded .

LOD is calculated based on the distance from the eye to the object.  So if you 
move the camera a different LOD level will be selected.

But as you've probably discovered dollying the camera does not zoom in ortho.  I 
don't think there's a simple solution; you could try [moving the camera or play 
with the LOD bias (to affect LOD)] and scale the object (or the viewport) to 
change the scenes size.

Cheers,
/ulrich



More information about the osg-users mailing list