From bcc0c8a6399e430359140f4e0714f528d3bb1b80 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 30 Dec 2001 15:12:29 +0000 Subject: [PATCH] Did a make docs, in preperation for 0.8.43 release. --- doc/doc++/osg/StateAttribute.html | 4 ++-- doc/doc++/osg/Transform.html | 22 +++++++++++++++------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/doc/doc++/osg/StateAttribute.html b/doc/doc++/osg/StateAttribute.html index 6fb327c31..758c3e7cd 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -160,12 +160,12 @@ StateSet::setAttributeAndModes(..).
o OVERRIDE_OFF -
means that associated GLMode is disabled and Override is enabled +
Equivilant to OFF | OVERRIDE

o OVERRIDE_ON -
means that associated GLMode and Override is enabled +
Equivilant to ON | OVERRIDE

diff --git a/doc/doc++/osg/Transform.html b/doc/doc++/osg/Transform.html index 74aceeaee..7df8cb9b2 100644 --- a/doc/doc++/osg/Transform.html +++ b/doc/doc++/osg/Transform.html @@ -30,7 +30,7 @@ [more] META_Node(Transform)

[more]inline void setType(Type type) -
Set the Transform Type, which can be DYNAMIC - the Marix value is updated duing the main loop, or STATIC - the Matrix is constant throughut the life of the main loop. +
Set the Transform Type, which can be DYNAMIC - the Matrix value is updated during the main loop, or STATIC - the Matrix is constant throughout the life of the main loop.
[more]inline const Type getType() const
Get the Transform Type @@ -244,7 +244,15 @@
Transform - is group which all children are transformed by the the Transform's osg::Matrix. Typical uses of the Transform is for positioning objects within a scene or -producing trakerball functionality or for animation.
+producing trackball functionality or for animation. +Note, if the transformation matrix scales the subgraph then the +normals of the underlying geometry will need to be renormalized to +be unit vectors once more. One can done transparently through OpenGL's +use of either GL_NORMALIZE and GL_SCALE_NORMALIZE modes. Further +background reading see the glNormalize documentation in the OpenGL Reference +Guide (the blue book). To enable it in the OSG, you simple need to +attach a local osg::StateSet to the osg::Transform, and set the appropriate +mode to on via stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);.
@@ -277,12 +285,12 @@ producing trakerball functionality or for animation.
oinline void setType(Type type) -
Set the Transform Type, which can be DYNAMIC - the Marix -value is updated duing the main loop, or STATIC - the Matrix -is constant throughut the life of the main loop. STATIC +
Set the Transform Type, which can be DYNAMIC - the Matrix +value is updated during the main loop, or STATIC - the Matrix +is constant throughout the life of the main loop. STATIC Transforms can be optimized away is some instances, which -can improve performanc so unless you plan to modify the -Matrix explicity set the Matrix to STATIC. The default +can improve performance so unless you plan to modify the +Matrix explicitly set the Matrix to STATIC. The default value is DYNAMIC.