Hi,

I am trying to create a scene for a CAD-type app where I have objects that 
should be a constant screen size as I zoom in and out, but when I cross a 
certain zoom threshold it should change to a different size (for example half 
its original size).  I tried to implement this using a combination of 
AutoTransform and LOD nodes.  Here is a sample graph of two objects:

AutoTransform         AutoTransform
                     \       /
                       LOD
                      /     \
MatrixTransform      MatrixTransform
                     \       /  
                     Geode

The problem I have is that when I have the AutoTransforms set to 
autoScaleToScreen=true, then the level of detail does not change when it 
should.  It always stays at whatever level it started at regardless of how much 
I move the camera in or out.  If I set autoScaleToScreen to false, then the LOD 
behaves as I expect (meaning it changes when I move the camera from one range 
to another).

What might be causing this to happen?  Is there another way to get the effect I 
want?
... 

Thank you!

Cheers,
Michael

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





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

Reply via email to