Don BURNS
a42994f876
Appeased poor MS VisualStudio by adding the ^M's to all .dsw and .dsp files.
2001-12-14 15:16:30 +00:00
Don BURNS
672d4a0a6b
Fixed newline/cr problem
2001-12-14 15:10:42 +00:00
Robert Osfield
8c3a9c6f65
Fixed problem with incorrect combining of some LOD's derived from flt databases.
...
Problem related to the order of the removal of redudent groups and LOD combining,
the LOD combining only working properly if done first.
2001-12-14 14:25:38 +00:00
Robert Osfield
84605a5f4e
Fixes for Win32 build related to changes in using namespace std.
2001-12-14 10:47:20 +00:00
Robert Osfield
a4e4d4fa7c
Removed all references to using namespace std to help solve compilation problems
...
under Windows and IRIX.
Also integrated small change to lib3ds from Drew for IRIX compilation.
2001-12-14 10:02:27 +00:00
Robert Osfield
f848c54ba3
Made the following name changes to Matrix and Quat to clean them up and make
...
the functionality clear given the name. This will break user code unfortunately
so please be away of the following mapping.
osg::Matrix::makeTrans(..)?\026 -> osg::Matrix::makeTranslate(..)
osg::Matrix::makeRot(..)?\026 -> osg::Matrix::makeRotate(..)
osg::Matrix::trans(..)?\026 -> osg::Matrix::translate(..)
osg::Quat::makeRot(..)?\026 -> osg::Quat::makeRotate(..)
Also updated the rest of the OSG distribution to use the new names, and
have removed the old deprecated Matrix methods too.
2001-12-12 20:29:10 +00:00
Robert Osfield
79c1fb531d
Fixed problems with osg::Matrix::makeRot(from,to) and osg::Quat::makeRot(from,to)
...
so that they both use the same implementation (the Quat code now) and the
code has been corrected to work from and to vectors which directly opposite
to one another.
2001-12-12 15:09:11 +00:00
Robert Osfield
05e4a0b4ce
Fixed problem with loading interleaved arrays in the .osg loader, and corrected
...
a spelling mistake in osg::GeoSet.
2001-12-12 12:55:01 +00:00
Don BURNS
363d1d9d70
Added translation and scaling to osgconv
2001-12-12 05:09:33 +00:00
Don BURNS
b9f1b7aa6f
Fixed Matrix::rotate( Vec3 from, Vec3 to); was using to X from to derive
...
axis, which causes a left-handed rotation. Fixed to from X to.
2001-12-11 17:00:29 +00:00
Robert Osfield
b3cfed2cb2
Fixed compilation problems under Windows due to changes in using std::ostream etc.
2001-12-11 16:00:32 +00:00
Robert Osfield
6c38b61185
Removed the 'using namespace std' and replaced with more specific 'using std::ostream'
...
this should help prevent polution of the global namespace with std when including
these osg include files.
2001-12-11 11:22:44 +00:00
Robert Osfield
be2beec11d
Added :Referenced() to the osg::Camera(..) copy constructor to prevent a warning
...
under Linux.
2001-12-11 11:21:30 +00:00
Don BURNS
eabb4d6918
*** empty log message ***
2001-12-09 03:46:50 +00:00
Robert Osfield
a23627467b
Added support for automatic deletion of osg::GeoSet's attributes, via a
...
default AttributeDeleteFunctor which uses delete []. Users can create
their own handlers for the attribute memory to override this default
behavior.
Fixed a typo in ReaderWriterOBJ.cpp.
2001-12-04 22:57:40 +00:00
Robert Osfield
20e3785bf8
Various files which should have been checked in earlier but were missed...
...
VisualStudio files for flt loader, and header files or Image and Texture
for new osg::Texture::CLAMP_TO_EDGE and osg::Image::dirty.
2001-12-04 20:38:27 +00:00
Robert Osfield
396b2668c8
Updates to the flt loader, from Brede Johansen.
2001-12-04 19:41:08 +00:00
Robert Osfield
d7ded2d90f
Integrated Brede Johansen's updates to flt loader.
2001-12-04 16:03:10 +00:00
Robert Osfield
3e940e0b33
Made a output message output as osg::DEBUG only.
2001-12-04 15:56:08 +00:00
Robert Osfield
03589f190f
Commented out the code to force sgv to use ANAGLYPHIC_STEREO as this should
...
not be the default, will add options to do this later.
2001-12-04 12:34:45 +00:00
Robert Osfield
c92b730817
Improved support for anaglyphic stereo.
...
Integrated texture CLAMP_TO_EDGE, submitted by Ulrich Hertlein.
2001-12-04 12:31:10 +00:00
Robert Osfield
34a4c18a26
Beginings of support for quad bufferd, red/green, and slit screen stereo.
2001-12-02 22:20:46 +00:00
Don BURNS
bca8b68a18
Corrected a small booboo in preprocessor guard for header file in GLU and
...
added Matrix::identity() to Matrix
2001-12-02 08:59:39 +00:00
Robert Osfield
30db615333
Fixed bug in osg::StateSet::merge(..) where the containers were being
...
iterated from begin() to begin() rather than begin() to end().
2001-11-30 20:53:50 +00:00
Don BURNS
4ef08067b7
Small fix for preprocessor _MP symbol clash with MFC.
2001-11-21 15:53:29 +00:00
Robert Osfield
c9535c68b4
Made the Warning font file not found message consistent with other file not
...
found messages.
2001-11-19 13:14:38 +00:00
Robert Osfield
bc44b9342b
Added DLL export to the internal classes in osgUtil::Optimize so that the internal
...
classes can be used directly by client applications.
2001-11-19 11:52:58 +00:00
Robert Osfield
82c315dadd
Added warning report for when a font file cannot be found.
2001-11-19 10:40:42 +00:00
Robert Osfield
969f757679
Added osg::Image::dirtyImage() and setModifiedTag() to allow external
...
updating of the image modified flag to be used in conjunction with
texture subloading.
2001-11-18 21:31:16 +00:00
Robert Osfield
3ff4fb6b50
Move the call to the manipulators before the scene app traversal to that
...
any changes to the scene graph, such as adding an app callback can be
seen by during the same frame.
2001-11-15 11:59:52 +00:00
Robert Osfield
4b3c45acc7
Fixes for windows compilation
2001-11-14 15:53:36 +00:00
Robert Osfield
9bd7098969
Fixed compilation problem under Wndows
2001-11-14 15:52:27 +00:00
Robert Osfield
2c3b927d6c
Fixed compilation problem under Wndows
2001-11-14 15:32:15 +00:00
Robert Osfield
6cf543cf8c
Added osgUtil::TransformCallback to help with rigid body animation.
2001-11-14 14:10:12 +00:00
Robert Osfield
a434abafd7
Fixes for IRIX build.
...
Updates to the osg::Transform, adding preMult and postMult methods and
deprecating the old preRotate,preTranslate,preScale.
Updated the rest of the OSG so that it nolonger uses the deprecated
osg::Transform nodes.
Renamed osgUtil::SceneView::setGlobalState() to
osgUtil::SceneView::setGlobalStateSet() so that the name reflects its
functionality better. Updated osgGLUT::Viewer etc to cope with new
name change.
2001-11-14 14:09:07 +00:00
Robert Osfield
34555f61d6
Added new files to cvs.
2001-11-12 10:04:57 +00:00
Robert Osfield
8f6b7d04a4
Added src/osg/NodeCallback.cpp.
2001-11-12 10:00:08 +00:00
Robert Osfield
5ceefdcc12
Fixed compilation error in src/osgDB/FileUtils.cpp.
...
Added support for nested NodeCallbacks, allowing them to be chained together
so that multiple operations can be applied.
2001-11-11 22:32:59 +00:00
Robert Osfield
879a753ee2
Fixed osgUtil::Optimizer::FlatternStaticTransformsVisitor so that the
...
apply(osg::LOD) scaled the ranges in addition to transform the center
point and children.
2001-11-10 15:46:05 +00:00
Robert Osfield
d4926589dc
Fixed bug related to osgUtil::Optimizer::FlatternStaticTransform::Visitor's
...
apply(Billboard& ) method which was apply the accumulated transform to
the billbaord geometry when it should have been applying the matrix without
the transform component.
2001-11-10 13:36:05 +00:00
Robert Osfield
7290f793f1
Added osgText::Paragraph which is a subclass from Geode which composes a
...
list of text drawables as a paragraph block, handles breaking of text into
individual lines automatically.
Changed the osg::Node::setUserData so that the data type has to be an
osg::Referenced, and removes the dependancy on osg::MemoryAdapter. I have
done this since it simplifies the OSG side of the interface and makes it
less like that the user might abuse the memory managment of the data. It
does however mean that user data will have by subclassed from Referenced,
and therefor may require users to have their own adapter to do this.
However, this little nuasance is worth the extra cleaness and robustness
afforded by going the osg::Referenced route.
2001-11-09 15:06:01 +00:00
Robert Osfield
e35f5ec286
Fixed the findFileFile routine which had been broken by a fix of a dlopen
...
problem - './' was added to all files which which directly found without
requiring a search path rather than just locally found files, this broke
file loads which had wern't local but had a valid path. I have moved the
'./' work around to inside fileDSO and made it only apply to Linux as I
presume this is all it was needed for. Don?
2001-11-09 15:01:42 +00:00
Robert Osfield
52bc6c2f13
Fixed the IntersectVisitor which was broken by a recent patch to catch parallel
...
line and traingle combinations.
2001-11-08 13:50:32 +00:00
Robert Osfield
e725547a8a
Added a dirtyBound() to osgUtil::Optimizer.
...
Corrected mispelling of alignment is osg::Text and the osgtext demo.
Added guards for divide bu zero's to osg::IntersectVisitor.
2001-11-07 12:42:08 +00:00
Robert Osfield
b3160c882e
Fixed inlcude/BoundingBox to compile under Windows.
2001-11-06 11:36:11 +00:00
Robert Osfield
138a5300b0
Fixed inlcude/Math to compile under Windows.
2001-11-06 11:07:43 +00:00
Robert Osfield
5e6153b428
Added methods to support isNaN,isInfinte and valid to osg::Vec* and osg::Math,
...
and added a guard to IntersectVisitor which uses these new methods to prevent
invalid segments being added.
2001-11-06 10:34:51 +00:00
Robert Osfield
b45aa55555
Integrated updates to stats sent in my Geoff Michel.
2001-11-04 19:29:20 +00:00
Don BURNS
c10d22d729
Fixed findFileInPath to prepend ./ if file is in local directory. This was
...
needed by dlopen() for dso's in the current directory
2001-11-02 21:20:32 +00:00
Robert Osfield
06abf2266b
Updates to Makefiles to include osgText.
...
Also a couple of undefined methods in osgText::Text have been added.
2001-11-02 20:11:37 +00:00