Hi Wangjian,

please don't post the same question twice. You probably didn't receive an 
answer, because the question was too vague.

It would have been clearer if you said that setMinimumScale and setMaximumScale 
are part of AutoTransform.


> When I run the program


You are probably talking about the example program osgautotransform.

Through use of the source (see Tip 2 
(http://forum.openscenegraph.org/viewtopic.php?t=2283)) I learned the following:

When the transform is far from the viewpoint it's scale is limited by the 
maximum scale. So it disappears because the transform is not allowed to scale 
to a larger value than 2. If it is close to the viewpoint it's scale is limited 
by the minimumscale. In that case it will not be fixed in screenspace anymore 
an appear to grow due to perspective projection. 


kind regards,

Roland Smeenk

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





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

Reply via email to