Commit Graph

2698 Commits

Author SHA1 Message Date
Robert Osfield
0a3384de64 From Paul Martz/Robert Osfield. Addition of initializers in AttrData to prevent
bugs due to uninitialized memory references.
2004-03-04 18:35:06 +00:00
Robert Osfield
88f2f38741 From Paul Martz, fix to the byte swapping of the version number 2004-03-04 16:38:56 +00:00
Robert Osfield
feb36860b6 From Bob Kuehne, added support for FragmentProgram and VertexProgram into .ive 2004-03-04 14:33:01 +00:00
Robert Osfield
8540414ae0 Removed redundent getAssociatedModes() 2004-03-04 14:32:27 +00:00
Robert Osfield
c8b8a81052 Changed StateAttribute::getAssociatedModes(std::vector<GLMode>&) across
to StateAttribute::getModeUsage(StateAttribute::ModeUsage&).
2004-03-03 15:38:22 +00:00
Robert Osfield
4aa7afedf3 Removed include <iostream> where possible, replacing with istream or ostream and changing
std::cout/cerr to osg::notify().
2004-03-03 13:27:21 +00:00
Robert Osfield
f3bee81e7a From Ruben, Added osgpointsprite examples. 2004-03-03 11:17:21 +00:00
Robert Osfield
f8f1456654 From Ruben, addition of osg::PointSprite and osgpointsprite example. 2004-03-02 22:36:11 +00:00
Robert Osfield
f10a47ed75 From David Fries, changed the Win32 Timer init code across to using
QueryPerformanceCounter to avoid inaccurate and slow original Sleep based code.
2004-03-02 21:37:44 +00:00
Robert Osfield
05969004c6 Added support for osg::Capsule into .osg format. 2004-03-02 20:35:27 +00:00
Robert Osfield
e2469aece9 From David Jung, added support for osg::Capsule shape 2004-03-02 20:33:00 +00:00
Robert Osfield
13d5b50bcf From Marco Jez, fix to circular reference which was causing a crash. 2004-03-02 20:05:43 +00:00
Robert Osfield
1eb2748b95 From Mike Weiblen, updated osg.ico file. 2004-03-02 16:57:08 +00:00
Robert Osfield
20252db7ff From Brede Johansen, added support for incrementing animation of DOFTransform
w.r.t. time rather than frame number.
2004-03-02 16:53:21 +00:00
Robert Osfield
cfe376b644 From Paul Martz, with a couple of mods by Robert Osfield:
"Changes to return the lat/long origin of an
OpenFlight model as userData of the root node object."
2004-03-02 16:12:11 +00:00
Robert Osfield
adcb6665d4 From Paul Martz:
"These two files fix the alignment bug in the flt plugin header
parsing, which I posted about on Saturday. They go in the flt plugin
directory.

The fix is to memcpy the data read from the flt file into individual fields
in our Header struct, then replace the raw (packed) data block with our
header struct. This avoids the alignment problem entirely, and all fields
now contain valid data."
2004-03-02 15:37:41 +00:00
Robert Osfield
1b7b65389e From Brad Christiansen: added _matrixDirty=true to AutoTransform::setPosition(..)
method.  From Robert Osfield, probagated this change to other AutoTransform set
methods.
2004-03-02 15:27:59 +00:00
Robert Osfield
8a1c39bffb Fixed warning message 2004-03-02 15:26:31 +00:00
Robert Osfield
d99b44e7d6 Build fixes 2004-03-01 09:15:51 +00:00
Don BURNS
078251a5f5 Changed OsgCameraGroup to check for the Producer::RenderSurface::defaultWindowName
rather than the hard coded string
2004-02-26 18:33:06 +00:00
Robert Osfield
57ed6ebb79 Warning fix 2004-02-24 12:04:48 +00:00
Robert Osfield
ac812539d8 Added scale parameter into PositionAttitudeTransform.
Added pivotPoint parameter into AnimationPathCallack.
2004-02-22 11:58:44 +00:00
Robert Osfield
e36ceae483 Changed the Timer class to default to using the standard clock under
Linux to prevent Timer problems occur under Linux32 on the Athlon64.
2004-02-21 16:59:14 +00:00
Robert Osfield
11975bd4da Made the FRAME event handling in the various MatrixManipulators return false
from the handle method to prevent frame events from being eaten.
2004-02-21 16:57:57 +00:00
Robert Osfield
d2491f6750 Added AnimationPathCallback::s/getTimeOffset and s/getTimeMultiplier() methods. 2004-02-21 16:56:23 +00:00
Robert Osfield
a6541a27bf Added missing _pause(false) into AnimationPathCallback default contructor. 2004-02-20 20:47:35 +00:00
Robert Osfield
a992676a98 Added missing initialization in the AnimationPathCallback constructor. 2004-02-20 20:10:51 +00:00
Robert Osfield
ebbf92e43c Added Material::operator = 2004-02-20 11:51:14 +00:00
Robert Osfield
b73d3c3e7f Fixed typo in inline docs on the default value of the clear stencil value 2004-02-19 10:10:25 +00:00
Robert Osfield
b050a9877b Added support for osg::LineWidth into ive format 2004-02-18 21:40:18 +00:00
Robert Osfield
dea22aeb8e Added support for a OSG_DISABLE_FAST_PATH_IN_DISPLAY_LISTS environmental
variable in the computeFastPathsUsed() method so that use of vertex arrays
can be forced off.  This is a work around for a bug in the OpenGL drivers in
OSX/Panther.
2004-02-17 09:46:16 +00:00
Robert Osfield
214f1458d9 Removed redundent byte swap on _version 2004-02-16 15:27:45 +00:00
Don BURNS
fc3d4aa5f0 Submission by Paul Martz for doing units conversions on flight files. 2004-02-12 18:40:15 +00:00
Robert Osfield
1970606dd2 Changed _X & _Y varaibles to _tileX & _tileY 2004-02-12 12:53:51 +00:00
Robert Osfield
1f80e1e6c4 From Shane Arnott, added drawing of "split" 2004-02-12 01:42:00 +00:00
Robert Osfield
eca2fc2837 Improved osgSim::SphereSegmenet's handling of transparancy. 2004-02-12 01:15:37 +00:00
Robert Osfield
2f63f0fa21 Added support for draw back then front faces of the osg::Sphere shape 2004-02-11 12:06:37 +00:00
Robert Osfield
61cb27806f From Brad Christiansen, fix to enable AutoTransform to keep track of window
size/perspective changes
2004-02-11 10:19:52 +00:00
Robert Osfield
c13ece9672 Added defined(__x86_64__) to force X86-64 build to use standard clock 2004-02-11 10:18:34 +00:00
Robert Osfield
5fa64ba416 Made getViewport(...) const. 2004-02-10 12:36:17 +00:00
Robert Osfield
05c2e8bd19 From David Fries, added _frameTime copying into copy constructor of osg::Sequence 2004-02-10 10:07:32 +00:00
Robert Osfield
2af70e3c4c From Ronny Krueger:
In RenderStage.cpp removed erroneous else statement.

    In ShapeDrawable.cpp's PrimitiveShapeVisitor::apply(const Box& box) fixed
    order of the last face.
2004-02-09 22:56:39 +00:00
Robert Osfield
33201a8f25 Added new TriangleIndexFunctor. 2004-02-09 10:14:06 +00:00
Robert Osfield
82ed0c61d6 Removed slideshow3D from runexamples.bat 2004-02-07 19:36:15 +00:00
Robert Osfield
bff1e6d76d From Eric Hammil, addition of /Zm200's to keep things compiling under VS6 2004-02-05 21:23:09 +00:00
Robert Osfield
345298badd Fixed the className() defintations to be const 2004-02-05 12:11:06 +00:00
Robert Osfield
bf6f27f6d3 Changed fonts to lower case. 2004-02-05 11:53:09 +00:00
Robert Osfield
37ec69a397 From Nick, Improved support for 3D labels. 2004-02-05 11:39:12 +00:00
Robert Osfield
22b2e7343e From Tom Jolly, Fixes to osgSim::BlinkSequence to enable proper saving and
loading.
2004-02-05 10:50:29 +00:00
Robert Osfield
e4dac2e6f6 Fixed warning in Tesselation w.r.t unhandled cases in switch statement 2004-02-05 10:15:38 +00:00