Hi,
Is there any reference for the calculations in AutoTransform::accept(), when
getAutoScaleToScreen() is true?
It seems to do the right thing, but I really need to understand how it works
for an application.
Thank you!
Cheers,
Frank
--
Read this topic online here:
Reference as in a research paper? As far as I know, AutoTransform's
calculations are just linear algebra and a firm grasp of the OpenGL
transformation pipeline.
Both OpenGL Programming Guide (red book) and OpenGL Distilled (my book) describe
the transform pipeline found in OpenGL =3.0, and
As I look at it some more, the good news is that I think I understand the part
I needed to know about. :)
That said, I'm curious about the stuff going on when you have
_autoScaleTransitionWidthRatio set to non-zero (default is 0.25), and then set
_minimumScale or _maximumScale away from their
It's the block of code that starts here:
http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/osg/AutoTransform.cpp#L232
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40499#40499
4 matches
Mail list logo