Commit Graph

2273 Commits

Author SHA1 Message Date
Robert Osfield
d2783c11e6 Removed eroneous reference to Matrix_implementaion.cpp. 2003-09-05 22:37:10 +00:00
Robert Osfield
792bba05b9 Added new Matrixf and Matrixd implementations.
Made Matrix be a typedef to either Matrixf or Matrixd.  Defaults to Matrixf.

Converted the osgGA::MatrixManipulators and osgProducer::Viewer/OsgCameraGroup
across to using exclusively Matrixd for internal computations and passing betwen
Manipulators, Producer and SceneView. Note, SceneView still uses Matrix internally
so will depend on what is set as the default in include/osg/Matrix.

Added the ability to osgProducer::setDone/getDone(), kept done() as the
method that the viewer main loop uses for detecting the exit condition.
2003-09-05 22:35:34 +00:00
Robert Osfield
a2834d74d2 Added set and get methods for Matrixd and Matrixf. 2003-09-05 20:52:36 +00:00
Robert Osfield
5b93250eb0 Added support for Matrixd and Matrixf implementations, with the default
Matrix typedef's to either Matrixd or Matrixf.
2003-09-05 20:48:42 +00:00
Robert Osfield
604e478f52 Moved testCancel() to end of loop as per TXP pager code. 2003-09-04 19:45:55 +00:00
Robert Osfield
11d1faeeb1 Added testCancel() to DatabasePager::run() loop. 2003-09-04 19:37:49 +00:00
Robert Osfield
f8107a39b9 Build Fixes for IRIX. 2003-09-04 08:50:06 +00:00
Robert Osfield
06046639b5 Fix for IRIX build. 2003-09-03 18:17:07 +00:00
Robert Osfield
bd44cfcfd8 Added a Matrix::value_type typedef'd trait into osg::Matrix, defaulting its
value to float, and converted the internal code across to use value_type.  This
allows Matrix to be converted to use double's simply by change the definition
of value_type.  Added Matrix::glLoadlMatrix and Matrix::glMultMatrix() to
help encapsulate the changes between float and double matrix usage.

Updated code that uses Matrix so it doesn't assume float or double matrices.
2003-09-03 10:47:25 +00:00
Robert Osfield
9a5ab0ac47 Fixes for IRIX build. 2003-09-03 08:14:00 +00:00
Robert Osfield
39b9a5e550 Removed old DatabasePager.cpp from osgProducer. 2003-09-03 07:39:42 +00:00
Robert Osfield
218c6e8d13 Added Inventor plugin, submitted by Sean Spicer, Written by Vivek (c) Magic-Earth.
To compile in do a setenv/export USE_COIN or USE_INVENTOR.
2003-09-02 21:53:41 +00:00
Robert Osfield
4761442005 Merged changed to osgParticle from Marco Jez, the changes are (quoted from
email from Marco)

"Most relevant news:
1) particle systems now have the "freezeOnCull" property set to false by
default. Since it is an optimization, and using it may cause some unwanted
behaviors if not handled properly, it makes more sense to turn it off by
default.
2) new "LINE" shape mode which uses GL_LINES to draw line segments that
point to the direction of motion.
3) particles can now have a rotation angle and angular velocity.
4) new AngularAccelOperator applies angular acceleration to particles.
5) particle processors such as emitters and programs can have a "start",
"end" and "reset" time coordinate. For example, an emitter may be instructed
to start emitting particles only after a certain time, stop after another
amount of time and then start again.

Update (2) is from Gideon May.
Updates (3) to (5) are from Douglas A. Pouk."
2003-09-02 20:39:41 +00:00
Robert Osfield
763ee70f2f Commented out calc near/far debugging messages. 2003-09-02 20:06:20 +00:00
Robert Osfield
fe5e6d14de Added test of sizeof(types) - run osgunittests sizeof. 2003-09-02 20:03:01 +00:00
Robert Osfield
e530912744 Made Matrix a typedef to Matrixf, and converted the old Matrix to Matrixf, as
part of prep for supporting both Matrixf (float) and Matrixd (double).

Added osg::Matrixf::glLoadMatrix() and osg::Matrixf::glMultiMatrix() methods
and changed corresponding usage of glLoad/MultMatrixf() calls across to use these
methods. Again prep for support Matrixd.

Fixes for VisualStudio 6.0 compile.
2003-09-02 17:19:18 +00:00
Robert Osfield
f90e4ff5f8 Converted eroneous writeLong/readInt boolean entries used writeBool/readBool. 2003-09-02 17:16:17 +00:00
Robert Osfield
da6f7ebeef Fixes for IRIX build + to_unix on txp plugin files. 2003-09-02 10:27:57 +00:00
Robert Osfield
7575f45800 Support for BumpMapping added by Marco Jez. 2003-09-01 21:53:53 +00:00
Robert Osfield
bc14e4ecdc Updates from Marco:sgfxbrowser.cpp (added specular
component to scene light) and AnisotropicLighting.cpp (workaround for a
multiple-context issue).
2003-09-01 19:43:58 +00:00
Robert Osfield
2a2ca0da2c Win32 fixes. 2003-09-01 15:49:08 +00:00
Robert Osfield
73094265c3 Fixes for Win32. 2003-09-01 15:46:10 +00:00
Robert Osfield
0ebf005ac1 Added a call to disable all vertex attrib arrays when none are present
on an osg::Geometry.
2003-09-01 11:23:29 +00:00
Robert Osfield
144ac14b07 From Neil Salter, added osgSim::SphereSegment and osgSim::ScalarBar, and
osgspheresegment and osgscalarbar, and osgsimulation examples.
2003-09-01 09:36:03 +00:00
Robert Osfield
5400f8293b Converted cout's to notify's. 2003-08-31 22:17:53 +00:00
Robert Osfield
6bb951a5bb From Alberto Farre, fixes to the file path handling of internally referenced
files.
2003-08-31 22:17:15 +00:00
Robert Osfield
4c62cfe6e5 Added experiment Tempated fast path implemenation, #if 0 out right now. 2003-08-31 22:08:22 +00:00
Robert Osfield
5ca8207bd1 From Tree, updated syntax highlighting. 2003-08-31 21:23:08 +00:00
Robert Osfield
1896b8417e Converted cout's messages to use notify. 2003-08-31 21:13:50 +00:00
Robert Osfield
5c3a2bc683 Added s/getCullVistorLeft/Right(), s/getRenderStageLeft/Right(),
s/getRenderGraphLeft/Right() methods.
2003-08-29 23:04:42 +00:00
Robert Osfield
0fbccf778c From Alberto Farre, added support for both / and \ slashes in path utility
functions.
2003-08-29 22:05:06 +00:00
Robert Osfield
0b75a59cfe Added an explicit check for file extension so that only .jpg and .jpeg files
are loaded with the JPEG plugin, thus avoid a crash which was occuring when
it was passed non JPEG files.
2003-08-29 22:04:35 +00:00
Robert Osfield
8498422d7e Added fonts/ in front of arial.ttf. 2003-08-29 21:52:52 +00:00
Robert Osfield
d559ff91c3 Added getBound() to the database pager so that once a model has been loaded
it bounding volume is computed upfront and in the database paging thread.
2003-08-28 21:40:23 +00:00
Robert Osfield
64e3c052d6 Removed double line spacing in ExternalReference code. 2003-08-28 12:49:38 +00:00
Robert Osfield
138835d817 Added a PushAndPopFilePath usage to the internal flt file references. 2003-08-28 12:47:32 +00:00
Robert Osfield
77c862d305 From Marco Jez, tangent space generator. 2003-08-27 14:13:12 +00:00
Robert Osfield
91229f8d51 Added /Zm200 for VS6.0 build. 2003-08-27 13:09:38 +00:00
Robert Osfield
ca37080020 Added /Zm200 define to .dsp's to avoid compile errors under VisualStudio6.0. 2003-08-27 10:34:34 +00:00
Robert Osfield
2910ec140d Added KeyboardMouseCallback::shutdown() support. 2003-08-27 10:22:12 +00:00
Robert Osfield
2fcb74a30c Added Performer plugin .dsp 2003-08-27 08:54:30 +00:00
Robert Osfield
b5674a7dde Fixed CullVisitor::popProjectionMatrix() handling of othorgraphic near
and far values.
2003-08-27 00:39:44 +00:00
Robert Osfield
f7d7a746f3 Added missing osgFX files. 2003-08-26 22:09:15 +00:00
Robert Osfield
2c4c2ad068 Added osgFX - Marco Jez's special effects nodekit. 2003-08-26 21:17:22 +00:00
Robert Osfield
a782cbad60 Moved the keyboardmouse startThread into the Viewer::realize() method. 2003-08-26 15:49:49 +00:00
Robert Osfield
e07c1ea10d Added set/getDatabasePager() method. 2003-08-26 08:02:43 +00:00
Robert Osfield
229a0f2920 Added check for :: in wrapper name when writing out to .osg, so that
if a namaspace:: exists in the wrapper name then one isn't created for
it by default.
2003-08-25 22:50:01 +00:00
Robert Osfield
5a0b499637 Updated NEWS for 0.9.6 release. 2003-08-25 14:04:16 +00:00
Robert Osfield
4924cd9ceb Added osgProducer:: in front of KeyboardMouseCallback. 2003-08-25 14:03:49 +00:00
Robert Osfield
0ed56936ce Removed suplerfluous inline from setInitialViewMatrix(). 2003-08-25 13:31:31 +00:00