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
Robert Osfield
42faf78b47
Updated index.html with dependacy info about the new osgText library.
...
Modified osg/Drawable::draw(..) so that it uses display list COMPILE
rather than COMPILE_AND_EXECUTE to solve performance problems under
NVidia drivers. The old behavior is still available by comments out
a #define.
Fixed the default compilation list src/osgPlugins/Makefile so that it
compiles by defalt png and gif.
2001-11-02 12:26:33 +00:00
Robert Osfield
aa725e899a
Updates to the flt loader from Brede Johansen.
2001-11-01 16:35:26 +00:00
Robert Osfield
f7a2567bca
Updates to osgText to fix a crash on ikart.tff font available under Linux, the
...
bug was related to texel padding of the height not be accounted for in texture
size calculation, but was used during populating the image data causing a
mismatch.
2001-11-01 15:13:31 +00:00
Robert Osfield
b462845857
Added missing config.h file to src/osgPlugins/lib3ds.
2001-10-31 22:35:44 +00:00
Robert Osfield
4d4ff39ff9
Added a bool paramter to osg::StateSet::compare(const StateSet& rhs,bool compareAttributeContents=false) const;
...
to allow it to use different comparison schemes, now it can use checking for pointer equality (the default)
or attribute contexts. This has been added to assist optimization of databases within the flt loader, but
also could be useful for other operations too.
2001-10-31 20:04:32 +00:00
Robert Osfield
78372a5a62
Updated the lib3ds plugin with the new 1.1 version of lib3ds.
2001-10-31 18:33:27 +00:00
Robert Osfield
94ce36f9a3
Update to osgText to get things compiling under Windows.
2001-10-31 12:27:48 +00:00
Robert Osfield
c45cdd14f9
Update osgText.dsp to define FTGL_STATICLIBRARY to prevent it compiling
...
the as a seperate library and producing linkage warnings.
2001-10-31 11:41:22 +00:00
Robert Osfield
254268030d
Updated the FTGL implemention in osgText to FTFL1.1.
2001-10-31 10:20:50 +00:00
Robert Osfield
8f4e62ced0
Further updates to the ReaderWriter support in osgDB, and a fix to a small warning
...
in Matrix.cpp.
2001-10-30 19:23:24 +00:00
Robert Osfield
f0372817b5
Added support for ReadResult and WriteResult to the osgDB::ReaderWriter
...
to allo plugins to pass back more information about the success or failure
of a file load. All plugins have been updated to the new convention.
2001-10-30 14:20:37 +00:00
Robert Osfield
97e4488d80
Changed a #define ... (GLenum) 0x84fe to 0x84FE to fix problems under MacOS9
...
build.
2001-10-29 19:29:49 +00:00
Robert Osfield
7ae83e9168
Ran to_unix over src/Demos/osgtext/main.cpp to try and fix some return type
...
problems reported under Windows.
2001-10-29 12:22:22 +00:00
Robert Osfield
915aad95a0
Added missing src/osgText/Version.cpp file.
2001-10-29 12:19:14 +00:00
Bryan THRALL
51f1c904d5
Imposter.cpp added to the project
2001-10-25 01:11:52 +00:00
Bryan THRALL
b0e1b21f5b
Changed the int to a GLint because of the differences within mac/win32/linux versions of gl.h.
2001-10-25 00:49:28 +00:00
Bryan THRALL
7f546320dd
sgv is almost working
2001-10-25 00:45:33 +00:00
Robert Osfield
0551da3613
Completed work on osgText compilation under Win32. We now
...
have fonts under Wndows and Linux :-)
2001-10-24 23:15:15 +00:00
Robert Osfield
e96a17564f
Updates to the visual studio files for osgText.
2001-10-24 22:29:38 +00:00