Robert Osfield
1e4bceb562
Added #include <memory> for Win32 build
2004-03-07 21:03:01 +00:00
Robert Osfield
ccefa05523
Clean up of headers.
2004-03-07 14:21:11 +00:00
Robert Osfield
bd80dee903
From Geof Michel, bug fix to handling of Materials
2004-03-07 14:19:48 +00:00
Robert Osfield
68f462983f
Changed cerr to osg::notify(osg::WARN)
2004-03-07 14:14:42 +00:00
Robert Osfield
8d25f0766a
From Paul Marz : "Input.h, Input.cpp -- Here's where support for reading the continuation
...
record goes. I added a new function to read a continued record body. I added
code in the existing ReadRecord routine to peek ahead for a CONTINUATION_OP
if the current record could possibly be continued.
opcodes.h -- Besides adding the opcode for CONTINUATION_OP, I also added new
15.8 opcodes. I labeled opcodes as "ignored" if I could easily discern that
our loader wasn't doing anything with them. For historical reasons, I added
all obsolete opcodes, prefixed with "OBS_".
LocalVertexPoolRecord.h, LocalVertexPoolRecord.cpp -- This is one of three
types of records that can be continued with a CONTINUATION_OP record. I
removed all invalid assertions that assumed the record length would always
be less than 65535. I replaced the "vertex size" calculation with a more
efficient method based on caching the size from attribute bits, rather than
taking the length of the record and dividing it by numVerts (which would
have been incorrect if the record had been continued)."
2004-03-06 15:03:55 +00:00
Robert Osfield
c0f062f41f
Added osg.ico back in again to test out cvs's assignment of keyword
...
substitution.
2004-03-06 14:38:40 +00:00
Robert Osfield
e1fe93e08c
Temporarily removed osg.ico
2004-03-06 14:37:51 +00:00
Robert Osfield
4751f401d7
Changed cout/cerr to osg::notify().
2004-03-06 14:13:53 +00:00
Robert Osfield
eb21da4d29
From Boris Bralo, Added std:: in front of getline.
2004-03-05 20:07:01 +00:00
Robert Osfield
89d9ca11c9
From Marco Jez, on behalf of Farshid Lashkari. Details from Marco's email: "I've just received an addition to osgParticle from Farshid Lashkari. It enhances the generation of texture coordinates on particles so that animated textures can be used, with the current frame of animation being computed from each particle's current age.
...
Clients just have to call Particle::setTextureTile() and specify the number of
horizontal and vertical tiles that make the animation up in the texture image."
2004-03-05 15:44:15 +00:00
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