Robert Osfield
d77e6a0829
Added new clear, removeAttribute, removeMode, removeTextureAttribute and
...
removeTextureMode method and deprecated the setToInherit equivilants.
2004-10-07 09:40:03 +00:00
Robert Osfield
c27bf441e2
Improved the osg::Geometry::computeCorrectBindingsAndArraySizes() implemention
...
so that it produce more optimal settings.
Changed flt/GeoSetBuilder so that it doensn't merge geometry, as it was
merging geometry even when inappropriate.
2004-10-06 20:32:09 +00:00
Robert Osfield
7e4d34c57a
Added :
...
osg::PagedLOD::s/getDatabasePath() and support in PagedLOD::traverse().
osgDB::ReaderWriter::Options::s/getDatabasePath()
osgDB::Input::s/getOptions()
setting of osgDB::Input::setOptions() in ReaderWriterOSG.cpp
src/osgPlugins/ive/DataInputStream::s/getOptions()
setting of src/osgPlugins/ive/DataInputStream::setOptions() in ReaderWriterIVE.cpp
2004-10-06 09:31:34 +00:00
Robert Osfield
9af350eb41
From Lewis Harmon, fixes to the Node and NodeCallback constructors.
2004-10-01 22:05:40 +00:00
Robert Osfield
5ecfb11e1b
Changed the argument parser to accept strings that start with a - as being
...
valid strings.
2004-10-01 18:32:42 +00:00
Robert Osfield
884544c52c
Added setPlanesFromMatrix method
2004-10-01 15:48:58 +00:00
Robert Osfield
08d4fdefb0
Fixed newly introduced compressed mipmnap error.
2004-09-30 12:10:45 +00:00
Robert Osfield
d204a087c3
Added proper handling of 3d texture compression
2004-09-30 09:10:29 +00:00
Robert Osfield
e08328a449
Preliminary steps to support for compressed 3D textures.
2004-09-29 10:01:46 +00:00
Robert Osfield
7b826228bb
From Brad Christiansen, fix expandBy(const BoundingSphere&) method to properly
...
handle the instance of when the two bounding sphere's have a coincident center.
2004-09-28 07:15:01 +00:00
Robert Osfield
de0e616433
Added new methods into osg::Referenced for controlling the use of thread safe
...
ref/unref:
/** Set whether reference counting should be use a mutex to create thread reference counting.*/
static void setThreadSafeReferenceCounting(bool enableThreadSafeReferenceCounting);
/** Get whether reference counting is active.*/
static bool getThreadSafeReferenceCounting();
2004-09-27 14:15:13 +00:00
Robert Osfield
7e5c87de6a
Changed the version strings to use OpenSceneGaph rather than "Open Scene Graph"
2004-09-27 12:07:34 +00:00
Robert Osfield
1b31024cd5
Clean up of new DatabasePager code, and change of osgProducer so that
...
DatabasePager support is now integrated into the OsgSceneHandler.
2004-09-23 18:50:38 +00:00
Robert Osfield
5b0739bcf0
Updates for better DatabasePager peformance w.r.t constant frame rates.
2004-09-23 12:27:56 +00:00
Robert Osfield
54b45ce3bc
Updated to DatabasePager support
2004-09-21 21:33:52 +00:00
Robert Osfield
0d884d66eb
Various improvements to database paing.
2004-09-21 17:26:08 +00:00
Robert Osfield
63f8935afb
From George Papagiannakis, added extra Quat length to catch case
...
where length is zero.
2004-09-13 14:33:41 +00:00
Robert Osfield
790da0776a
Made the computeLocalToWorld etc method to use const NodePath's parameters.
2004-09-09 15:14:33 +00:00
Robert Osfield
a36b10ac24
From Marco Jez, added missing TexGenNode constructor.
2004-09-06 14:30:25 +00:00
Robert Osfield
d9af748b78
From Tom Jolly, add detection for whether multi-texturing is supported before
...
checking for number of texture units supported, using 1 as a fallback value
2004-09-01 10:41:50 +00:00
Robert Osfield
19bf7bb1ce
From Eric Sokolsky, add support for recording default values for env vars
2004-09-01 09:48:17 +00:00
Robert Osfield
e5cfe0a27a
From Marco Jez, addition of new interal texture formats to osg/Texture and Image.cpp
2004-09-01 08:49:48 +00:00
Robert Osfield
08017daf37
Added rescale of quaternion in Matrix::set(Quat), a copy operation in osg::Quat and
...
extra tracking options in NodeTrackerManipulator.
2004-08-31 09:20:31 +00:00
Robert Osfield
2733324701
Fixed the Matrix::get(Quat&) method
2004-08-30 18:51:42 +00:00
Robert Osfield
f15877f89b
Changed the AnimationPathCallback::reset() to reset the _firstTime to DBL_MAX
...
so that it resets on the next update traversal.
2004-08-24 18:23:53 +00:00
Robert Osfield
b2d39d7f5b
Added s/getLoopingMode() to ImageStream and MPEG plugin
2004-08-24 12:55:15 +00:00
Robert Osfield
1a455e1aad
Rejigged the __int* definitions to try and get round Mingw compile errors
2004-08-18 06:06:02 +00:00
Robert Osfield
5460013a92
From Bruce Clay, fixes for VS6.0 build.
2004-08-17 19:42:45 +00:00
Robert Osfield
a1fc4b986c
Changed sizeof(..) references to 1,2,4 respectively.
2004-08-17 18:56:24 +00:00
Robert Osfield
ca61c11134
From David Fries, "I added code to also check the local up vector, but
...
only if one of the rotation modes is selected, because autoscale isn't
affected by the camera rotations. "
2004-08-17 07:58:32 +00:00
Robert Osfield
a9cb803404
Added a handling of different hex long long handling for VS and non
...
VS.
2004-08-16 21:03:41 +00:00
Robert Osfield
cf99c3c9bd
Added support in Image::flipVertical for flipping mipmapped imagery
...
and for flipping compressed imagery.
2004-08-16 20:57:24 +00:00
Robert Osfield
bb6fe74738
Fixed _MSC_VAR reference
2004-08-16 16:43:17 +00:00
Robert Osfield
8c1f1e05c8
Added fxtctool in prep for adding compressed imagery swap
2004-08-16 15:43:12 +00:00
Robert Osfield
6c3eb95f7b
Disabled the culling for clear node.
2004-08-16 08:55:48 +00:00
Robert Osfield
61033103bc
Removed inappropriate #ifdefs
2004-08-13 10:49:45 +00:00
Robert Osfield
bd68cf9f50
Changed binding warnings to be reported as info rather than as warnings.
2004-08-07 19:08:12 +00:00
Robert Osfield
3579506fa8
Added support for osg::AutoTransform::setAutoRotateMode(AutoRotateMode) deprecating
...
the previous setAutoRotateToScreen(). Added support for ROTATE_TO_CAMERA mode.
Cleaned up the autotransform demo to use a sensible number of labels
2004-08-06 08:22:58 +00:00
Robert Osfield
e9f4ed87bc
From Jay Zuckerman, fixes to AutoTransform so that it includes checking of
...
previous position value.
2004-08-05 15:15:51 +00:00
Robert Osfield
ddb7423e46
Set version numbers for 0.9.7 release
2004-08-05 08:02:48 +00:00
Robert Osfield
98d30a8ce0
From Pavel Moloshtan, fix to Image copy constructor so that it used the
...
correct size of image including mipmaps.
2004-08-03 18:06:36 +00:00
Robert Osfield
7126ca44e9
Better macro support for switching on/off use of mutex
2004-08-03 11:01:39 +00:00
Robert Osfield
ebad31c3dd
Fixed warnings
2004-08-02 13:57:47 +00:00
Robert Osfield
6524fe1293
From Norman Vine, fixes for Mingw
2004-08-02 09:11:31 +00:00
Robert Osfield
40a1a39bff
Replaced GL_PACK_ROW_LENGTH by GL_UNPACK_ROW_LENGTH
2004-07-28 12:38:54 +00:00
Robert Osfield
7deea8531e
Clean up of debugging messages
2004-07-27 13:32:15 +00:00
Robert Osfield
654764a0e9
Fixed unref image so it only unref's when images are STATIC
2004-07-27 13:24:35 +00:00
Robert Osfield
bb5576bef8
Added support s/getImage(uint i) and getNumImages().
2004-07-27 10:11:45 +00:00
Robert Osfield
c9f5749c12
Added preliminary support for thread safety in various delete GLobjects code
2004-07-21 19:16:49 +00:00
Robert Osfield
1963fac426
Replaced STOPPED by PAUSED.
2004-07-21 19:14:15 +00:00
Robert Osfield
aa833acfd3
Added support for releasing GLObjects, and renamed DisplayListVisitor the
...
GLObjectVisitor to better fit its function, and added support for releasing
objects as well as compiling them.
2004-07-20 05:37:59 +00:00
Robert Osfield
3e5c491f54
Added debugging message, currently commented out.
2004-07-12 13:13:58 +00:00
Robert Osfield
ba295ccab7
Added a more flexible variable on the textured quad generation function
2004-07-12 01:01:00 +00:00
Robert Osfield
788a19d3b5
Made debugging message write to osg::INFO instead of osg::NOTICE
2004-07-11 23:07:47 +00:00
Robert Osfield
363d13d7ce
Added CLUSTER_CULLING mask to CullSettings, and modified the ClusterCullingCallback
...
to use the mask to see if cluster culling is enabled or disabled.
2004-07-11 21:46:23 +00:00
Robert Osfield
3f4b8e9034
Fixed cluster culling.
2004-07-09 20:58:43 +00:00
Robert Osfield
ba20259794
Removed debugging message
2004-07-06 12:32:09 +00:00
Robert Osfield
b8aa8bfc40
Fixed warning.
2004-07-06 12:15:03 +00:00
Robert Osfield
518cedf6c7
Added dealloc or previous image data into readImageFromTexture
2004-07-05 21:46:02 +00:00
Robert Osfield
cce00c475b
Added suppor for copying mipmaps of compressed textures
2004-07-05 21:09:30 +00:00
Robert Osfield
1c2c5c4f43
From Ulrich Hertlein, added check for detailRatio<=0.0
2004-07-05 09:04:53 +00:00
Robert Osfield
c58891d168
Fixed missing member variable initialized varaibles
2004-07-05 07:42:46 +00:00
Robert Osfield
2ce192f0ae
Change the light in LightSource from a generic osg::StateAttribute to
...
a osg::Light.
2004-07-02 14:46:24 +00:00
Robert Osfield
0c38189018
Moved the radius parameter from PageLOD into LOD.
2004-07-01 13:53:30 +00:00
Robert Osfield
a8ee967f14
Added support for using pixel size control of LOD levels.
2004-06-30 19:07:05 +00:00
Robert Osfield
c45138f977
Fixed handling of PROCTED/OVERRIDE
2004-06-30 09:02:41 +00:00
Robert Osfield
888d9e2a25
From Pavel Moloshtan, added support for storing primitive sets in VBO's
2004-06-29 15:04:38 +00:00
Robert Osfield
fdbb1fe021
Re-organised Texture::computeInternalFormatWithImage() to avoid testing
...
for extensions when not required.
2004-06-28 22:09:52 +00:00
Robert Osfield
4c0aa24526
Added handling of GL_INTENSITY in osg::Image::computeNumComponents()
2004-06-17 15:07:50 +00:00
Robert Osfield
06aa06d686
Added support for setting texture units in the new TexGenNode.
2004-06-17 14:02:15 +00:00
Robert Osfield
840d5d4930
From Loic Dachary, added missing copy contructor operations.
2004-06-16 15:05:01 +00:00
Robert Osfield
ad6bf73037
From David Fries, small treak to debugging output.
2004-06-16 06:02:12 +00:00
Robert Osfield
78d075eb24
Added new TexGenNode class for positioning tex gens.
2004-06-14 19:11:04 +00:00
Robert Osfield
773ffc0c05
Added better debugging messages for verify bindings.
2004-06-11 21:05:50 +00:00
Robert Osfield
f75a7c6294
Added CoordinateSystemNode::set(const CoordinateSystemNode&) method to conviniently
...
set up a coordindate system.
2004-06-09 15:11:27 +00:00
Robert Osfield
a8ce6b01d6
Added CoordinateSystem::s/getFormat().
2004-06-09 15:00:03 +00:00
Robert Osfield
6f82b37dd0
Improved the precision of animation paths.
2004-06-08 14:30:48 +00:00
Robert Osfield
eec378a885
Moved the osg::ClusterCullingCallback into into own header and source file.
2004-06-07 15:05:22 +00:00
Robert Osfield
c69a8a5b80
Added check to Quat::makeRotate(,,,) to catch zero lengh axis.
2004-06-04 10:05:18 +00:00
Robert Osfield
0fac56f56a
From Max Behensky, fixes to the computation of the number of primitives
2004-06-04 08:13:36 +00:00
Robert Osfield
eb3917060f
From George Tarantilis, fixes to DDS size computations.
...
From Robert Osfield, addition of constructors for internal DDS structures.
2004-05-25 16:10:28 +00:00
Robert Osfield
ab2b817e61
Made improvements to the handling of small rotations in Quat and
...
TerrainManipulator
2004-05-20 23:25:26 +00:00
Robert Osfield
f02c75f5ea
Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to
...
Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f.
2004-05-20 10:15:48 +00:00
Robert Osfield
867a1ae105
From Bob Kuehne, more general checks for existance of extensions.
2004-05-17 13:20:41 +00:00
Robert Osfield
45998cfdf7
Revert the computeNearFar mode to using bounding volumes as default.
2004-05-13 22:06:20 +00:00
Robert Osfield
0307463746
Added GL_TEXTURE_RECTANGLE define
2004-05-07 12:40:21 +00:00
Robert Osfield
48dad727b1
From Bob Kuehne, added getting of the max number of texture units in
...
the Texture::Extension object
2004-05-07 11:28:55 +00:00
Robert Osfield
eedfe44a1c
Fixed computeLocalTransform to generate correct orientation of local coordinate
...
frame.
2004-05-06 10:54:58 +00:00
Robert Osfield
8bdb68ef97
Added support for reading environmental varables in CullSettings.
2004-05-05 09:16:12 +00:00
Robert Osfield
1678066e6e
Changed the default near far calculation mode so that it uses the
...
fine grained computation of near/far.
2004-05-02 14:03:15 +00:00
Robert Osfield
5836d60fbd
Added osg::CullSettings class as a way of collecting all the various
...
settings related to the cull traversal in one place, so we can keep APIs
for settings these values more consistent.
2004-04-30 15:35:31 +00:00
Robert Osfield
36cd372847
Added osg::CoordinateSystemNode
2004-04-29 22:16:50 +00:00
Robert Osfield
017983429b
Added getBoundingBox() method to osg::Geode to provide a closer bound
...
of the bounding volume of a Geode to be tracked. This sits alongside
the existing getBound() method which returns a bounding sphere.
2004-04-22 10:47:12 +00:00
Robert Osfield
715cdcf5e2
From Don Tidrow, changed "setupGLExtenions()" to "setupGLExtensions()" in Texture and
...
Texture.cpp
2004-04-16 22:50:41 +00:00
Robert Osfield
884099b11c
From Bob Kuehne, updated extension/version checking for border clamp extension.
2004-04-16 10:05:57 +00:00
Robert Osfield
97ef4985f7
From Eric Wing, clean ups for OSX support.
2004-04-11 21:21:38 +00:00
Robert Osfield
50d066d756
From Bob Kuehne, reworked code to use a marco instead of duplicated code,
...
done as measure for reducing the risk of copy and paste errors.
2004-04-02 15:45:34 +00:00
Robert Osfield
aa52005b87
Added empty() method to Geometry to facilitate tests for removing empty
...
geometry from the scene graph.
Added removal of empty geometry leaves from within the RemoveEmptyNodeVisitor
2004-03-29 10:24:16 +00:00
Robert Osfield
02f9ce48bc
Added ArgumentParser::Parameter class to make the argument parsing much more
...
flexible, and to simplifying the API. The read(,,,) methods now take
Parameter objects as arguments, and this Parameter adapt what ever basic
type is passed in, so is able to transparently handle float, double, int,
unsigned int & strings.
2004-03-19 22:03:09 +00:00
Robert Osfield
28214337a3
Moved the LineSegment destructor from the header to the source to avoid
...
compilation problems under MingW.
2004-03-19 09:18:21 +00:00