Robert Osfield
60597f4bbb
Fixed the scaling in pixelSize computation and the autoscale usage of it.
2005-03-23 10:46:08 +00:00
Robert Osfield
667ecd91f1
From Alberto Farre, fixes to ProxyNode.
2005-03-18 10:00:16 +00:00
Robert Osfield
a2e8bc6267
Added support for set/getUniform and set/getProgram into osg::StateSet.
2005-03-11 20:29:21 +00:00
Robert Osfield
7bf72cd43b
From Marco Jez, improved Texture2D and Image handling of compare().
2005-03-07 14:30:55 +00:00
Robert Osfield
5684a130b7
From Alberto Farre, addition of ProxyNode, with support in .osg, .ive and .flt loaders
2005-03-07 14:06:09 +00:00
Robert Osfield
d0c79ea638
From Mike Weiblen, warning fix for VS7.1
2005-03-07 12:05:48 +00:00
Robert Osfield
a139d28a12
Added the use of pixel buffer object in ImageStream so that it is only
...
compiled in on non OSX platforms.
2005-03-07 12:05:22 +00:00
Don BURNS
678281f2f2
In osg::isGLUExtensionSupported, fixed gluGetString to call GLU_EXTENSIONS
...
rather than GL_EXTENSIONS.
2005-03-02 15:06:23 +00:00
Robert Osfield
0f61af08bd
Added support for new event visitor type into osgGA and osgProducer::Viewer,
...
and event callback into Drawable.
2005-02-25 14:02:48 +00:00
Robert Osfield
96514b5077
New simplified timer implementation.
2005-02-25 08:38:05 +00:00
Robert Osfield
79833fa704
Added pause, rewind and play support into xine plugin.
2005-02-24 17:07:37 +00:00
Robert Osfield
5fbb1f11cd
From Mike Weiblen, adding prelimimnary GL Shader Language support into core OSG lib.
...
with renaming and reordering by Robert Osfield,
2005-02-24 13:33:35 +00:00
Robert Osfield
164cb8216c
Made Referenced::ref() and unref() inline methods.
2005-02-23 12:50:10 +00:00
Robert Osfield
e01990d419
Made the osg::Referenced Mutex be declared as a pointer to a Mutex, with the
...
Mutex allocated dynamically when required. Added the following methods to
help manage the usage of the mutex:
void setThreadSafeRefUnref(bool threadSafe);
bool getThreadSafeRefUnref() const;
2005-02-22 20:25:58 +00:00
Robert Osfield
feb06f7e4b
Added improved PBO support.
2005-02-22 13:34:24 +00:00
Robert Osfield
25658ad31f
Fixes from Marco Jez.
2005-02-22 11:55:30 +00:00
Robert Osfield
64e6b79340
Changed the Switch::addChild(Node*) behavior so it doesn't override the
...
any pre-exisitng _values value.
2005-02-22 10:08:01 +00:00
Robert Osfield
5215d43e14
warning fix
2005-02-10 20:21:01 +00:00
Robert Osfield
ec8624f185
Implemented the osg::Image::isImagTranslucent function.
2005-02-10 15:52:18 +00:00
Robert Osfield
021440b9a4
Commented out the debug messages, added back in the audio into the xine plugin
2005-02-09 12:29:09 +00:00
Robert Osfield
117c791a3b
Added osg::BufferObject and a made a number associated to accomodate this
...
new class. osg::BufferObject wraps up OpenGL pixel and array buffer objects.
Currently implementation is work in progress.
2005-02-09 10:39:45 +00:00
Robert Osfield
46ce4c3df3
Added the full set of buffer object methods
2005-02-07 17:28:03 +00:00
Robert Osfield
c3c3ed8519
Added support for 8 parameters.
2005-02-01 09:00:10 +00:00
Robert Osfield
9a93d7ae06
Fixes to osg::Image's handling of compressed formats.
2005-01-27 20:18:49 +00:00
Robert Osfield
355650ac1d
From Nicolas Brodu, new faster osg::Quat::makeRotate(Vec3d,Vec3d) implmentation.
...
From Robert Osfield, modes to osg::Quat to keep the original implmentation around
as makeRotate_original(,) and added tests into osgunittest to test the new
methods provide equivilant results to the original implemementation. The
orignal implementation will be removed once the new method is more widely tested.
2005-01-27 14:39:58 +00:00
Robert Osfield
e2132cc62a
Cleaned up the types.
2005-01-05 17:14:38 +00:00
Robert Osfield
c58f56adb6
From Fredric Mammond, fix for build using full extension checked mechansim
2005-01-05 16:16:52 +00:00
Robert Osfield
fab7c4d715
From Fredric Mammond, added new osg::BlendEquation state attribute wrapping
...
up glBlendEquation.
2005-01-03 16:39:28 +00:00
Don BURNS
3e96112b82
Added computeBound to osg::Switch, which now checks to see if a child is
...
enabled before computing its bound.
2004-12-17 20:51:55 +00:00
Robert Osfield
a0ba625cb0
Property API clean to smooth the task of generating wrappers.
2004-12-17 01:06:33 +00:00
Robert Osfield
fa4eaae122
From Frederic Marmond, add osg::LogicOp for support for glLogicOp.
2004-12-13 04:54:20 +00:00
Don BURNS
b84342c59a
Spelling errors fixed by Brede Johansen
2004-12-07 00:42:21 +00:00
Don BURNS
3412c6811e
Changed the strcmp() to use std::string instead.
2004-12-06 19:32:59 +00:00
Don BURNS
1771cdbcc7
Update version numbers in files
2004-12-04 23:38:24 +00:00
Robert Osfield
c5f5373e05
Added missing OSG_SCREEN_WIDTH docs
2004-11-26 21:35:36 +00:00
Robert Osfield
f213e473f3
From Fabien Dachicourt, bug fix to addChild(node,value)
2004-11-23 17:07:48 +00:00
Robert Osfield
5adff5c15e
Added support for pixel based LOD's and set the default priority scale to 1.0
2004-11-20 12:08:33 +00:00
Robert Osfield
796b4cbe8d
Added support for pixel range to PagedLOD
2004-11-20 11:48:28 +00:00
Robert Osfield
02ee5ff0cc
Altered the path for Cygwin to set the _ticksPerSecond to the correct value.
2004-11-18 09:19:15 +00:00
Robert Osfield
7d43aee78d
Made the use of the standard clock default instead of the RDTSC calls to avoid
...
problems with variable CPU frequency such as found on laptops.
2004-11-14 10:41:48 +00:00
Robert Osfield
a0fc9632b8
Fixed warnings.
2004-11-13 21:42:45 +00:00
Robert Osfield
b60304f8ad
Improvements to support for archives
2004-11-12 08:55:11 +00:00
Robert Osfield
fd9063628a
Added guard to testing _internalFormat in compareTexture(..) so that
...
a comparison would only be done if both the lhs and rhs had already been
set to a non zero value.
2004-11-08 16:39:10 +00:00
Robert Osfield
3fde44b5a5
Made fix to the setReferenceFrame method to properly disable culling
...
when reference frame is ABSOLUTE.
2004-11-06 10:18:55 +00:00
Robert Osfield
d548d77010
From Tree chagenes required for Java Wrappers
2004-11-01 16:14:53 +00:00
Robert Osfield
48191bb1ab
From Anders Backman, unit tests to test matrix to quat compute.
2004-10-28 13:40:09 +00:00
Robert Osfield
fd327f68f6
From Tom Jolley, Added a new enum POINT_ROT_WORLD_Z_AXIS and a new section in computeMatrix for this enum.
...
With a small tweak from Robert Osfield to set _cacheMode.
2004-10-28 13:26:06 +00:00
Robert Osfield
df9c7e5031
From Tree, fixes for Java bindings
2004-10-25 19:16:57 +00:00
Robert Osfield
b70ff91eaf
Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define
2004-10-24 20:04:00 +00:00
Robert Osfield
63e4587a88
Added s/getEventCallback support into osg::Node, and an EVENT_VISITOR
...
type into NodeVisitor.
2004-10-24 13:51:44 +00:00
Robert Osfield
6821a80e14
Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and
...
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.
2004-10-22 19:26:45 +00:00
Robert Osfield
93c439ba01
Generalised the osg::ClusterCullingCallback so that it coud be attached
...
to Node as well as Drawables.
Changed the osgTerrain::DataSet so that it moves the ClusterCullingCallback
up to the Node level.
Added support to the .ive plugin for attaching the ClusterCullingCallback to nodes.
2004-10-21 09:36:34 +00:00
Robert Osfield
2047ac250f
From Frank Lichtenheld, compile fix to Linux powerpc build.
2004-10-18 18:59:05 +00:00
Robert Osfield
f86be80c20
Added support for hardware generated mipmaps into Textre2D::copy*() methods.
2004-10-18 18:31:04 +00:00
Robert Osfield
4c8e48c9e7
From Yuzhong Shen, fix to the image dimensions passed to allocImage in Image::copySubImage
2004-10-18 14:46:57 +00:00
Robert Osfield
cecaec4ed8
From Sohey Yamamoto, added support for GL_TEXTURE_FILTER_CONTROL/GL_TEXTURE_LOD_BIAS.
2004-10-13 19:52:39 +00:00
Robert Osfield
edb15e17bc
Added new getMember() method and TypeMemberPair into StateAttribute and
...
support for the unsigned int member to be paired with types in osg::StateSet
so that lights, clipplanes and other attributes that have a type group but
then need to differentiate within that group via a member uint.
2004-10-13 11:15:50 +00:00
Robert Osfield
4192ef796b
Added CullingSettngs::s/getInheritanceMask() and inheritCullSettings(,) method.
2004-10-12 09:54:03 +00:00
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
Robert Osfield
6800b7d29a
Added the setting of the _internalTextureFormat from within osg::Image.
2004-03-17 20:03:56 +00:00
Robert Osfield
86dbbb2874
Added PrimitiveIndexFunctor for better support of TriangleIndexFunctor
2004-03-14 21:54:17 +00:00
Robert Osfield
28759baa98
From Marco Jez, added support NVidia extension to imager formats.
2004-03-14 15:08:12 +00:00
Robert Osfield
6112a373c1
Replaced eronous GL_TEXTURE_2D instances with GL_TEXTURE_3D and GL_TEXTURE_RECTANGLE_NV
...
respectively.
2004-03-11 14:34:59 +00:00
Robert Osfield
b0aede8dfe
From Bob Kuehne, fixed eroneous use of GL_TEXTURE_2D token in texture object
...
manager usage
2004-03-11 14:34:08 +00:00
Robert Osfield
9f6383f5dd
Added TextureRectangle(Image*) contructor.
2004-03-09 14:59:33 +00:00
Robert Osfield
a3d99d88ff
Added float s, float t parameters to createTexturedGeometry function
2004-03-09 14:58:50 +00:00
Robert Osfield
8b47c9c85d
Preliminary work on general support of video textures.
2004-03-09 09:42:07 +00:00
Robert Osfield
7c6734ff01
Added support for APPLE_client_storage to TextureRectange
2004-03-08 17:13:22 +00:00
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
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
e2469aece9
From David Jung, added support for osg::Capsule shape
2004-03-02 20:33:00 +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
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
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
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
24b710986f
Fixed the PagedLOD::removeExpiredChildren() so it only removes the high
...
res child that has expired and no more.
2004-02-01 16:13:07 +00:00
Robert Osfield
4714f93054
Fixed second pathway for computing HeightField bounding box.
2004-01-31 21:27:02 +00:00
Robert Osfield
1ec93f9cce
Fixed HeightField compute bounding box implementation.
2004-01-31 20:45:40 +00:00
Robert Osfield
d83fa3fca5
Added AnimationPathCallback::getAnimationTime() method
2004-01-31 11:34:28 +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
635f302a2a
Added support for osg::Texture::setBorderWidth().
2004-01-27 21:29:58 +00:00
Robert Osfield
e247b11861
Added proper handling of the rotation of billboards about an artbitary axis.
...
Note, this code while mathermatically is not optimal, and will need to
reviewed in the future to optimize it.
2004-01-23 21:47:39 +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
694aec666c
Fixed bug in logic in areAllTextureObjectsLoaded() which was producing the
...
exact opposite result to what it should have been generating.
2004-01-19 11:01:45 +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