Robert Osfield
25abad8307
From Paul Martz, "I've attempted to make AutoTransform override computeBounds() to return
...
an invalid bounding sphere if it hasn't seen a cull traversal yet. It
depends on _firstTimeToSetEyePoint, which is initially true, then false
after a cull. There might be a better way? If so, let me know.
This change does resolve the issue I had encountered with auto scale to
screen and incorrect culling."
2006-02-21 13:51:10 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
d268cf46fa
Renamed SG_LIBRARY and SG_EXPORT macro's to OSG_LIBRARY and OSG_EXPORT
2005-04-11 17:14:17 +00:00
Robert Osfield
d77e6a0829
Added new clear, removeAttribute, removeMode, removeTextureAttribute and
...
removeTextureMode method and deprecated the setToInherit equivilants.
2004-10-07 09:40:03 +00:00
Robert Osfield
b855987297
From Paul Martz, typos and spelling fixes.
2004-09-01 08:15:36 +00:00
Robert Osfield
ca61c11134
From David Fries, "I added code to also check the local up vector, but
...
only if one of the rotation modes is selected, because autoscale isn't
affected by the camera rotations. "
2004-08-17 07:58:32 +00:00
Robert Osfield
3579506fa8
Added support for osg::AutoTransform::setAutoRotateMode(AutoRotateMode) deprecating
...
the previous setAutoRotateToScreen(). Added support for ROTATE_TO_CAMERA mode.
Cleaned up the autotransform demo to use a sensible number of labels
2004-08-06 08:22:58 +00:00
Robert Osfield
e9f4ed87bc
From Jay Zuckerman, fixes to AutoTransform so that it includes checking of
...
previous position value.
2004-08-05 15:15:51 +00:00
Robert Osfield
7eb3f2646e
From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin
2004-08-04 08:27:43 +00:00
Robert Osfield
1b7b65389e
From Brad Christiansen: added _matrixDirty=true to AutoTransform::setPosition(..)
...
method. From Robert Osfield, probagated this change to other AutoTransform set
methods.
2004-03-02 15:27:59 +00:00
Robert Osfield
61cb27806f
From Brad Christiansen, fix to enable AutoTransform to keep track of window
...
size/perspective changes
2004-02-11 10:19:52 +00:00
Robert Osfield
895a722842
Addd support for maximum screen text size into osgText when auto scale to
...
screen is active.
Added osgautotransform demo.
2003-05-01 21:06:18 +00:00
Robert Osfield
a703130aa0
Have taken a few more steps towards support for view dependant transformations
...
by adding a ComputeTransformCallback to osg::Transform, and have now removed
the recently added AutoTransform since it is nolonger required. Have also
updated CullVisitor to account for the new ways for tracking transformation
matrices in the scene.
2002-02-05 21:54:46 +00:00
Robert Osfield
57fb5a0182
Added beginings of new AutoTransform class.
2002-02-03 20:57:31 +00:00