Commit Graph

1592 Commits

Author SHA1 Message Date
Robert Osfield
f14e9d42aa Udpated the freetype 2.1.3 linked to by the osgText.dsp 2003-01-24 09:46:52 +00:00
Robert Osfield
0d4e969746 Added support for osg::Transform::asMatrixTransform, asPositionAttitudeTransform
and as DOFTransform.
2003-01-24 09:37:56 +00:00
Robert Osfield
1ce53fcfba Changed the setUpViewer so it takes unisigned int to make it easier to
do OR'ing of the various enumerates when passing in paramters (avoids a
warning).
2003-01-24 09:37:11 +00:00
Robert Osfield
df21d69666 Fixed the formating of the Matrix output. 2003-01-24 09:35:05 +00:00
Robert Osfield
6eb62b1e30 Added an #ifdef check around the glutSpecialUpFunc to help compile unde old
version of GLUT.
2003-01-24 09:34:33 +00:00
Robert Osfield
20ba1a4033 Fix for impostors bug where image insert were visible, this was down to a double
call to RenderStage::drawPreRenderStage().  The call to it in RenderStage inside
the draw() method has been removed, leaving on the call in SceneView.
2003-01-24 09:11:05 +00:00
Robert Osfield
f74f50161c Changed the template insert(,,) method for a std::copy() implemention as it
seems that the Sun Forte compiler can't handle member templates!
2003-01-23 22:12:04 +00:00
Robert Osfield
f43d02f496 Added extra checks in the removal of rendundent nodes code so that description
fields etc are checked.
2003-01-23 15:12:58 +00:00
Robert Osfield
5a05e14e50 Fix to handling of comment records and longid's. 2003-01-23 14:46:10 +00:00
Robert Osfield
bf41106ce8 Changed the image directory refered to in billboard demo.
Updates NEWS.

Changed the line endings in TextureCubeMap to unix endings.
2003-01-23 12:18:22 +00:00
Robert Osfield
a32a392d8d Tweaking of the osgvertexprogram tex matrix settings. 2003-01-23 12:07:01 +00:00
Robert Osfield
3cdf42e599 Fixed Win32 compile problem. 2003-01-23 10:11:11 +00:00
Robert Osfield
e5d1d9da37 Removed COPYING file as it is now replaced by the LICENSE file. 2003-01-23 09:58:25 +00:00
Robert Osfield
79eaabd961 Fixed typo of APPLY_MATICES_BEFORE_STATE. 2003-01-23 08:39:48 +00:00
Robert Osfield
ecc2f02f0d Removed eroneous std:: from the from of DisplayListVector. 2003-01-23 08:37:15 +00:00
Robert Osfield
6ecc3537e5 From Ulrich, change to the pflib includes for Performer under Linux to solve
problem loading pf datasets.
2003-01-22 23:40:47 +00:00
Robert Osfield
fce55a22ad Added a couple more #defines for the texture cube maps that one can use. 2003-01-22 23:35:19 +00:00
Robert Osfield
f7439363ea Added support for a -c option. 2003-01-22 23:34:43 +00:00
Robert Osfield
9aaf5a560b Changed the implementation of the texture objects and display list to delete
caches so that they use a std::vector<> swap on the internal data structures
when ready to delete to minimize the amount of time that a race condition
condition can happen.
2003-01-22 23:34:18 +00:00
Robert Osfield
d6f25a112d Vertex program update from Brede. 2003-01-22 20:48:10 +00:00
Robert Osfield
6afedcc6d1 Updated version numbers to 0.9.3 2003-01-22 19:17:39 +00:00
Robert Osfield
ec8afe0392 Fixed compute bound code which was applying offset first then rotating, rather
than rotating first then offset.
2003-01-22 16:49:05 +00:00
Robert Osfield
fbeae00fa2 Fixed handling of rotations reading from .osg of osg::Shapes. 2003-01-22 16:17:56 +00:00
Robert Osfield
ea35796526 From Daniel Sjölie, support for controlling which viewports are focusable i.e.
recive mouse/keyboard events.
2003-01-22 15:44:22 +00:00
Robert Osfield
6fd27a4b59 Clean up to the osgProducer lib and demo. 2003-01-22 15:30:17 +00:00
Robert Osfield
4b671e5023 Fixed remove transform code to work with the new extra paramter require by osgUtil::Optimizer. 2003-01-22 12:50:52 +00:00
Robert Osfield
d2b7340fb5 Changed the decal=true setting to decal=false to make sure that textured models
come out lit ok.  The makes the assumption that colour values on the objects
and realistic, if they arn't then decal texture can produce better results..
2003-01-22 12:25:04 +00:00
Robert Osfield
329a8a1656 Fixed an Optimizer crash where if the top most node of a model was
a static transform it would crash when this root was deleted.  Have fixed
by recognising this node as one not to remove and set it to identity instead.
2003-01-22 12:06:22 +00:00
Robert Osfield
1c56ee52a2 Changed the local header includes from <> to "" to help the OSG compile. 2003-01-21 21:02:17 +00:00
Robert Osfield
926394dcb8 Removed debugging messages. 2003-01-21 19:37:45 +00:00
Robert Osfield
48bda9cc79 Added new Copyright/License notice to header and source files. 2003-01-21 16:45:36 +00:00
Robert Osfield
6cd43acb5a Made the pre rendering texture using glCopySubImage rather than copy to image
and then copy to texture, as the later was no longer working due to
texture->apply ordering.
2003-01-21 16:40:18 +00:00
Robert Osfield
87973523ad Added gaurds around alpha function value to catch erroneous values before they
are passed on to the OSG.
2003-01-21 16:02:29 +00:00
Robert Osfield
ac5c9a6847 Made a new osgproducer demo based on the new osgProducer::Viewer class.
Kept the old camera group version around for future reference.
2003-01-21 13:22:13 +00:00
Robert Osfield
128be070ba Added new osgProducer::Viewer class for putting together simple producer
based viewers very quickly.
2003-01-21 13:14:29 +00:00
Robert Osfield
2261b1cc86 From Joseph Steel, addition of texture filter modes to txp plugin. 2003-01-21 09:09:48 +00:00
Robert Osfield
0f69a4c3ae Made the drawable::compile(State&) method const and the DisplayListVisitor to
compile even when dislay list is off.  This has been done to allow subclasses
of Drawable handle their own compile implementation, such as used by text.
2003-01-20 20:40:06 +00:00
Robert Osfield
dc83e399a9 Improvements to osgProducer lib, in particular adding a mutex lock to the init() call in
SceneView to prevent init running multi-threaded.
2003-01-20 20:33:50 +00:00
Robert Osfield
4de63e72c6 Improvements to the handling of multiple graphics contexts. Still needs alot
of work, but at least it isn't crashes in trivial cases right now.
2003-01-20 20:28:28 +00:00
Robert Osfield
6e778f2436 Removed the ReaderWriterFLY.cpp for the project as its no longer used. 2003-01-20 14:08:03 +00:00
Robert Osfield
7633ffce3c Removed the ReaderWriterFLY demo since it was causing OSX builds to crash when
running the osghangglide demo.
2003-01-20 14:07:27 +00:00
Robert Osfield
e56872aa1f Added the new standard copyright notice. 2003-01-20 12:41:15 +00:00
Robert Osfield
253f39cc5d Added the OpenSceneGraph Public License which is a based on the
WxWindows license which inturn is a modified LGPL.
2003-01-20 12:40:12 +00:00
Robert Osfield
5cb765ff25 Clean up to the osgproducer demo. 2003-01-20 11:54:34 +00:00
Robert Osfield
a889cb8f88 Fixed bug in the flight and drive manipulators where they would uncontrollably
shrink down to a tiny window size when one rezized the window.
2003-01-20 11:52:34 +00:00
Robert Osfield
f034ca6d74 Fixed osglogo demo so that is correctly set up the colour of the background. 2003-01-20 11:07:41 +00:00
Robert Osfield
c1831b21f7 Made the setting of default glNormal and glColor values an compile
option via #ifdef USE_DEFAULT_NORMAL and USE_DEFAULT_COLOR defines respectively.
2003-01-20 11:02:27 +00:00
Robert Osfield
2ac175484a Updates from Pavel.
1. Storing color of geometry in ColorArray e.g. its don't work when
    lighting off.

  2.  Detecting of alpha channel and automatically enabling blending.
2003-01-20 10:41:21 +00:00
Robert Osfield
ec30f7d8a6 Update the ReaderWriterATTR file so that it used the definitions that Joseph
Steel obtained from MPI.

Removed the unique child check from the flt::PrimRecord and osg::Group, this
allows more flexibility when specifing nodes, and is faster..
2003-01-20 09:56:09 +00:00
Robert Osfield
3723dcda1d From Ruben, updates to the IV/VRML1 loader to handler large datasets. 2003-01-20 09:09:46 +00:00