Robert Osfield
ccefa05523
Clean up of headers.
2004-03-07 14:21:11 +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
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
f8f1456654
From Ruben, addition of osg::PointSprite and osgpointsprite example.
2004-03-02 22:36:11 +00:00
Robert Osfield
e2469aece9
From David Jung, added support for osg::Capsule shape
2004-03-02 20:33:00 +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
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
ac812539d8
Added scale parameter into PositionAttitudeTransform.
...
Added pivotPoint parameter into AnimationPathCallack.
2004-02-22 11:58:44 +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
eca2fc2837
Improved osgSim::SphereSegmenet's handling of transparancy.
2004-02-12 01:15: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
5fa64ba416
Made getViewport(...) const.
2004-02-10 12:36:17 +00:00
Robert Osfield
33201a8f25
Added new TriangleIndexFunctor.
2004-02-09 10:14:06 +00:00
Robert Osfield
345298badd
Fixed the className() defintations to be const
2004-02-05 12:11:06 +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
f5e2f7c731
Added atan2f to the list of #define's into include/osg/Math.
2004-02-02 08:55:17 +00:00
Robert Osfield
d83fa3fca5
Added AnimationPathCallback::getAnimationTime() method
2004-01-31 11:34:28 +00:00
Robert Osfield
268096be69
Added osg:: infront of State in Draw callback to make the callback work
...
when copy and pasting it in user code.
2004-01-30 21:10:05 +00:00
Robert Osfield
b4774099d6
Fixed the clampProjectionMatrix method so it doesn't modify the input
...
znar and zfar, by avoid the use of float/double&.
2004-01-29 20:14:20 +00:00
Robert Osfield
dea75f5510
Attempts to fix compile problems under IRIX due to namespace problems.
2004-01-29 15:47:51 +00:00
Robert Osfield
475c583975
From Pavel Moloshtan, add support to osg::Texture files for GL_ARB_shadow_ambinet support
2004-01-29 11:16:49 +00:00
Robert Osfield
39d7afaed2
Added support for CullVisitor::clampProjectionMatrixCallback
2004-01-28 10:49:23 +00:00
Robert Osfield
635f302a2a
Added support for osg::Texture::setBorderWidth().
2004-01-27 21:29:58 +00:00
Robert Osfield
43df3b90ef
Fixed problems with the DatabasePager free of texture objects and display
...
list before they are finished with.
2004-01-27 14:49:59 +00:00
Robert Osfield
6f61b34590
Added className() method to GlyphTexture for debugging purposes.
2004-01-27 14:47:41 +00:00
Robert Osfield
6700faccf4
Added operator = implementations to template classes.
2004-01-27 14:46:29 +00:00
Robert Osfield
d226e3ec68
From Nick, added VectorUInt in osgText/String hack to get around VS's stoopid compiler bugs.
...
From Robert, removed an #if #else #endif block, for code clarity.
2004-01-27 11:50:32 +00:00
Robert Osfield
ffec17c6bf
Removed redundent , from enum.
2004-01-24 20:50:33 +00:00
Robert Osfield
635cf7f7c5
Made getLookAt() etc methods const
2004-01-23 16:09:56 +00:00
Robert Osfield
edce2211fa
From Romano Magacho, fixes to handle the subloading from Image when the
...
internal format changes requiring a rebuild of the texture object.
2004-01-23 13:25:45 +00:00
Robert Osfield
84737941e1
Added controls over the datatbase pager threading priority during and outwith the frame.
2004-01-22 10:42:32 +00:00
Robert Osfield
b9f032bbb5
Updates for improvements to osgdem, such as adding support for skirt
...
and border into osg::HeightField, handling of computation of neigherbouring
tiles in osgdem's DestinationGraph.
2004-01-18 21:59:20 +00:00
Robert Osfield
6ff3f430b0
Clean ups of floats & .0f's
2004-01-14 15:14:20 +00:00
Robert Osfield
d4cfaae406
Fixed typo's of ImpostorSprite
2004-01-13 09:47:50 +00:00
Robert Osfield
72b8e5797c
Fixed for Win32 build
2004-01-13 09:47:31 +00:00
Robert Osfield
4765c8744d
Introduce new Matrix::invert() implementation from Ravi Mathur, with tweaks
...
by Robert Osfield.
2004-01-12 14:22:18 +00:00
Robert Osfield
c3b888c862
Fixed compile warning
2004-01-12 14:21:26 +00:00
Robert Osfield
b89ec5dcf9
Changed of _firstTime intial values of 0 to DBL_MAX.
2004-01-12 13:53:04 +00:00
Robert Osfield
d072e1087c
Added support for controlling the LODScale via '*' and '+' keys in
...
osgProducer::Viewer.
2004-01-10 21:29:15 +00:00
Robert Osfield
23443aa5db
From Alberto Farre, added osgDB::SharedStateManager. Also a couple of
...
ammendments by Robert Osfield, adding get/setSharedStateManager()
methods into osgDB::Registry, and clean up fixes in SharedStateManager
for the StateSet arrays.
2004-01-10 17:13:20 +00:00
Robert Osfield
8747b5161a
Standardised on using value_type in most methods in Matrixd & Matrixf interfaces
...
and Matrix_implementation.cpp.
2004-01-09 20:33:23 +00:00
Robert Osfield
6bdd84e3b0
Made the default settings of Quat 0,0,0,1 to represent a zero rotation.
2004-01-08 21:04:42 +00:00