Commit Graph

1910 Commits

Author SHA1 Message Date
Robert Osfield
358743f999 Added support for APPLE_client_storage of textures. 2004-03-08 17:09:58 +00:00
Robert Osfield
bd37f999c4 From Bob Kuehne, change on __DARWIN_OSX__ define to __APPLE__ 2004-03-08 11:02:05 +00:00
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
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
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
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
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
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
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
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
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
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
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
Robert Osfield
77840e62e7 Added virtual destructor to LightPointDrawable 2004-02-04 11:03:52 +00:00
Robert Osfield
8cf1cc0dad From Brad Christaiansen, added check for projection matrix changing in
screen coord character size mode.
2004-02-04 09:30:06 +00:00
Robert Osfield
996d292979 Changes to help differentiate between OSX using Quicktime vs not using
quicktime, from Eric Sokolosky and Robert Osfield.
2004-02-03 22:46:10 +00:00