Robert Osfield
7a0f041a15
Added default values to the TexEnvCombine constructor.
2002-08-19 19:53:34 +00:00
Robert Osfield
41db2e08d0
Added missing include/osg/ClearNode
2002-08-19 15:14:10 +00:00
Robert Osfield
1e2f198c5b
Added new osg::TexEnvCombine state attribute.
2002-08-19 15:11:09 +00:00
Robert Osfield
b23a48a763
Renamed the osg::EarthSky to osg::ClearNode to make it more obvious what
...
role it has play and make it more relevant to non vis-sim applications.
2002-08-19 11:42:37 +00:00
Robert Osfield
c72953d94b
Moved "unsigned int i" from for(.. to just before it, and removed subsequent
...
ones to get the VisualStudio compiler working once more.
2002-08-19 08:35:35 +00:00
Robert Osfield
22d54f05e4
Added DOFTransform, MatrixTransform and PositionAttitudeTransform to NodeVisitor.
...
Added osg::Matrix/Quat::makeRotate(angle1,axis1,angle2,axis2,angle3,axis3) and
osg::Matrix::rotate(angle1,axis1,angle2,axis2,angle3,axis3) method.
Made osg::Matrix/Quat::makeRotate(heading,pitch,roll) and
osg::Matrix::rotate(heading,pitch,roll) all deprecated API.
Fixed the Quat*Quat & Quat*=Quat multiplication methods so that they multiplied
in the correct order - they were reversed originally due to the Quat code being
based on code example which used the v' = M v ordering, rather than the OSG's
v' = v M ordering.
2002-08-18 14:42:43 +00:00
Robert Osfield
a9732aa046
Added check to disable color binding when the secondary colour extension doesn't
...
exist.
2002-08-18 11:16:31 +00:00
Robert Osfield
2c174237c7
Fixed typo in #define of UBYTE4
2002-08-17 07:34:11 +00:00
Robert Osfield
2ab0f689eb
Added Texuture::SubloadCallback example into the osgprerender demo to illustrate
...
how to use it.
Changed the ImpostorSprite to use LINEAR,LINEAR for min and mag filters for the
impostor texture.
2002-08-16 15:14:43 +00:00
Robert Osfield
7dfefaf67f
Added new osg::Texture::SubloadCallback, and getNumMipmapLevels() to osg::Texture
...
and osg::Image. This additions are design to make texture subloading more
flexible.
2002-08-16 13:33:32 +00:00
Robert Osfield
bff72e1077
Fixes from Ulrich Hertlein to get the pfb plugin compiling with using
...
any deprecated API.
2002-08-16 10:56:20 +00:00
Robert Osfield
8551e1c555
Supported added for secondary color & fog coords to osg::Geometry and osg::State.
2002-08-15 20:27:33 +00:00
Robert Osfield
848ce4ae74
From Perry, support for color added to the MeshPrimtive/LocalVertexPool code.
2002-08-15 20:25:46 +00:00
Robert Osfield
5f6dbfecf3
Removed the getData() from MeshRecord and the dummy SMesh record, this
...
allow the FaceRecord base class to directly provide the datatype.
2002-08-15 15:04:23 +00:00
Robert Osfield
ccbc1df85b
Added a using namespace std; and removed std:: from from std::hex and std::dec.
2002-08-15 14:09:36 +00:00
Robert Osfield
4cbab17096
Added a virtual keyword into the getData() overrided methods.
2002-08-15 13:04:13 +00:00
Robert Osfield
61e3b34bc7
Submission from Perry Miller for support of OpenFlight15.7's local vertex pool
...
and mesh primitives. Converted Perry's code to work with the osg::Geometry
instead of osg::GeoSet.
2002-08-15 11:25:23 +00:00
Robert Osfield
7d00b3b729
Added SG_EXPORT to PositionAttitudeTransform and MatrixTransform.
2002-08-14 20:56:04 +00:00
Robert Osfield
60b73bcb7b
Commented out the #define USE_DEPRECATED_API.
2002-08-14 09:30:02 +00:00
Don BURNS
a0be239f12
Added some comments
2002-08-13 18:29:50 +00:00
Robert Osfield
f9cc8783b3
Futher improvements and fixes to osg::AnimationPath, and the osglight
...
demo to show it action.
2002-08-13 15:31:10 +00:00
Robert Osfield
7c049360ff
Made improvements to osg::AnimationPath, added
...
osg::PositionAttitudeTransform::AnimationPathCallback which us an app callback
which uses an AnimationPath to specify the new positions of the transform.
Added AnimationPath code to osglight to animate the positional light.
Added CullVisitor::setCullingMode() code into SceneView so that SceneView's
CullingMode is now properly passed onto CullVisitor. Note, this work
had been done before, but must has been lost in a merge. Umm...
2002-08-13 13:22:46 +00:00
Robert Osfield
983da4fb9c
Fixed uninitialized _sortMode.
2002-08-13 09:35:06 +00:00
Robert Osfield
743b174da9
Added new s/getPivotPoint() support to osg::PositionAttitudeTransform.
...
Modified the osglight demo to use an AppCallback and a PositionAttitudeTransform
to animate the loaded model.
2002-08-12 17:40:36 +00:00
Robert Osfield
29490a8c1c
Updates to DOFTransform so that its overrides the traverse() and compute*() methods
...
rather than depending upon callbacks for animating and compute matrices. Merged the
put/inverseput code between Sasa's and Ferndinand's DOF code.
From Bora Utka, Added support to osg::Sequence/OpenFlight AnimNode to the flt plugin.
2002-08-12 13:42:43 +00:00
Robert Osfield
d43b00ac4e
attempt to fix read only status of Sequence.cpp.
2002-08-12 13:37:35 +00:00
Robert Osfield
7010c1c4f8
Removed dependency of the new osg::DOFTransform and osg::Sequence Node's
...
on osgUtil by implementing a NodeVisitor::VisitorType enum, and associated
g/setVisitorType. This allows callbacks to querry the visitor/traversal
type without doing down cast's to specific visitor subclasses such as
osgUtil::AppVisitor/CullVisitor.
2002-08-11 21:26:58 +00:00
Robert Osfield
19eaf17632
Temporarily commented out the flat staic transforms visitor since it
...
was causing problems with the new DOFTransform class.
2002-08-11 10:32:20 +00:00
Robert Osfield
5d61488476
Submission for Gideon May, fixes for spacing in various osgText files.
2002-08-09 19:51:12 +00:00
Robert Osfield
392150521a
Fixed the X and Y axis rotation billboards so that now rotate correctly.
...
Rewrote the osgbillboard demo so that it creates a point rotatated billbaord
and X,Y and Z axis billboards to both test and demonstrate this types of
billboards in action.
2002-08-09 16:27:39 +00:00
Robert Osfield
0c6991ea27
Fixes for IRIX 32bit timmer on O2. From Tom Jolley.
2002-08-08 21:36:22 +00:00
Robert Osfield
f0f40cbf88
Fixed warning related to where _increasingFlags is an unsigned short and 0xffffff is being
...
truncated, spotted by Tom Jolly.
2002-08-08 15:10:58 +00:00
Robert Osfield
824e77e518
Removed inline definition from front of setMaxAnisotropy method.
2002-08-08 15:09:18 +00:00
Robert Osfield
ed30834757
Fixed typos, sent in by Warren Macchi.
2002-08-08 13:45:16 +00:00
Robert Osfield
d351bad121
Fixed bug related to switching on/off culling modes. Patch from Nikolaus Hanekamp.
2002-08-08 13:41:18 +00:00
Robert Osfield
d9b7b13bd3
Changed the Geometry::setVertexArray and GeoSet::setCoords so that they
...
call dirtyBound() instead of reseting the local bound flag, this ensures
the updates are propagated upwards through into the parents.
2002-08-08 11:27:11 +00:00
Robert Osfield
f5c7fcf51d
Fixed the shininess factor in 3ds plugin.
2002-08-08 11:01:07 +00:00
Robert Osfield
b9b013e15b
Changed the support for anisotropic filtering in osg::Texture so that it
...
is now controlled via the setMaxAnisotropy(float) method, and is set up
independently for the mag filter mode, which it previously was done.
2002-08-07 15:52:24 +00:00
Robert Osfield
0bee7dd3d9
Renamed osgsequence.cpp to osgsequence.dsp, as it was clearly a typo...
2002-08-07 10:10:33 +00:00
Robert Osfield
c5898e7f48
Fixed type of DOFTransform.cpp
2002-08-07 10:08:42 +00:00
Robert Osfield
e01f9eb891
Added shells for DOFTransform and PositionAttitudeTransform to the .osg
...
loader, still need to fill in the saving and loading of paramters.
Went through the distribution remove old API usage.
2002-08-06 17:07:05 +00:00
Robert Osfield
ffb2d3826b
Changed the default value of _animationOn to true.
2002-08-06 10:37:22 +00:00
Robert Osfield
5822c2c1ff
Fixed typo in comment.
2002-08-06 10:07:17 +00:00
Robert Osfield
8a5d7f9bfb
Adde getViewFrustum() to camera.
2002-08-06 10:04:06 +00:00
Robert Osfield
25740b5c7f
Added new osg::DOFTransform node from Sasa Bistrovic, designed to mirror
...
the OpenFlight DOF transform nodes.
2002-08-05 15:07:18 +00:00
Robert Osfield
6c998bf97d
Added support for PROTECTED modes into the .osg reading and writing.
2002-08-05 13:29:51 +00:00
Robert Osfield
25307305a0
Added an example of the use of the PROTECTED modes and attributes into
...
the osgreflect demo so that toggling texturing on or off won't affect
the mirror planes texturing.
2002-08-05 13:12:09 +00:00
Robert Osfield
70724c353f
Fixed compile errors under IRIX.
2002-08-05 12:52:18 +00:00
Robert Osfield
fd788daa69
Added support to StateAttribute/State to support PROTECTED flag for modes and attributes
...
so that they cannot be overriden from above via the OVERRIDE flag. This is
useful for things like manipulators that have handles display in the scene, you
might want to prevent their state being affected by other overriding of
light, wireframe modes etc.
2002-08-05 12:40:24 +00:00
Robert Osfield
6b52e17c48
Fix to iv/vrml loader so that it correctly passes back the right ReadResult
...
and checks the validity of the file extension being passed to the plugin.
Removed main.cpp * .h moving all its functionality into readerwriter.cpp.
2002-08-04 21:11:00 +00:00