Hi Bruno, 

I recently had the same thing to do ! 

To solve this, I first used a Ortho2D projection matrix for my camera.

I also change the Z value of the camera when I move it, to make it work almost 
as a perspective camera 
- eyepoint Z = 100 for a 1:1 zoom ratio
- eyepoint Z = 1000 for a 1:10 ratio

With this you can use the DISTANCE_FROM_EYE point configuration of the pagedLOD.

I also made my own LOD class, derivated from pagedLOD, and changed the traverse 
function a bit to only use the Z value of the eye point and not this position.


I hope this can help you and give you ideas !

Valerian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68599#68599





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to