Don BURNS
3b92e02f29
Fixed a define for __sgi. Irix does not allow dlsym(0L, ...) without
...
calling dlopen() first, just like __sun
2004-05-08 18:37:26 +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
b7746ff56e
Added support for automatically finding CoordinateSystemNode's in the
...
scene graph and then using them to set up the CoordinateFrame used
by the camera manipulators.
2004-05-03 12:04:25 +00:00
Robert Osfield
fced94fab3
Added support for decoration of the osgTerrain::DataSet generated databases
...
with a CoordinateSystemNode which reflect the coordinate system of the
database.
Added support for reading and writing CoordianteSystemNode into the .osg
and .ive formats.
2004-05-02 21:50: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
97ef4985f7
From Eric Wing, clean ups for OSX support.
2004-04-11 21:21:38 +00:00
Robert Osfield
e44176a7aa
Fixed the handling begin()/vertex()/end() sequences in TriangleIndexFunctor.
2004-03-29 12:28:40 +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
c46855976c
Added empty() method as a convinience method for setting checking whether
...
an animation path contains any control points
2004-03-26 10:48:29 +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
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
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
358743f999
Added support for APPLE_client_storage of textures.
2004-03-08 17:09:58 +00:00
Robert Osfield
136db7b63a
Clean up of headers.
2004-03-08 11:53:12 +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
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
e2469aece9
From David Jung, added support for osg::Capsule shape
2004-03-02 20:33:00 +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
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
33201a8f25
Added new TriangleIndexFunctor.
2004-02-09 10:14:06 +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
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
6700faccf4
Added operator = implementations to template classes.
2004-01-27 14:46:29 +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
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
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
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
Robert Osfield
cace776940
Moaved PagedLOD::PerRangeData implementaton into .cpp and add missing
...
return *this to copy operator.
2004-01-07 08:39:33 +00:00
Robert Osfield
413064fc6e
Added support for priority offset and scale into PagedLOD.
2004-01-05 20:45:28 +00:00
Robert Osfield
d25b682269
Fixed osgFX::Validator::compare(..) so that it checked for the correct
...
StateAttribute type before comparing member variables.
Fixed docs typo in Material
2004-01-04 12:37:18 +00:00
Robert Osfield
458e10c796
Fixed getFogCoord methods
2004-01-02 20:44:18 +00:00
Robert Osfield
30bafd8867
Added Mode parameter to constructor.
2003-12-20 14:19:09 +00:00
Robert Osfield
b1945b865e
Added swap bytes methods.
2003-12-19 22:34:18 +00:00
Robert Osfield
d99e7a2d00
Changed inline docs for readPixels to say "read pixels from current frame buffer"
2003-12-18 20:53:23 +00:00
Robert Osfield
7f76c66a00
Added definition of GL_DEPTH_TEXTURE_MODE_ARB
2003-12-18 16:15:58 +00:00
Robert Osfield
3eef331f2a
Fixed s/getCreateBackFace(bool on) methds so that use used the correct variable.
2003-12-18 10:57:57 +00:00
Robert Osfield
8fefec9f47
From Pavel Moloshtan, added GL_ARB_shadow_support to osg::Texture.
2003-12-17 19:26:16 +00:00
Robert Osfield
1e361017c8
From Pavel Molishtan, Fixed comparision of _t plane.
2003-12-17 17:05:20 +00:00
Robert Osfield
2e9676f2cb
Put the ordering of the callbacks so that the update callback is first,
...
then cull then draw. Added missing copy of update callback into copy
constructor.
2003-12-16 08:56:49 +00:00
Robert Osfield
5295d68fd3
Added _maximumNumberOfActiveOccluders variable to CollectOccludersVisitor(), to
...
limit the maximum number of occluders used in the cull traversal, default is
now 10.
Added set/getCollectOccluderVisitor() method into SceneView to allow control
of the the settings of the CollectOccluderVisitor.
2003-12-11 16:46:45 +00:00
Robert Osfield
9780a7cbd6
Removed osg::Transform::ComputeTransformCallback from osg::Transform.
...
Updated various dependant files to reimplemt callbacks as Transform subclasses.
2003-12-09 14:07:44 +00:00
Robert Osfield
1baffa3a77
Addition of the following methods:
...
/** Set the object-space reference radius of the volume enclosed by the PagedLOD.
* Used to detmine the bounding sphere of the PagedLOD in the absense of any children.*/
inline void setRadius(float radius) { _radius = radius; }
/** Get the object-space radius of the volume enclosed by the PagedLOD.*/
inline float getRadius() const { return _radius; }
/** Set the number of children that the PagedLOD must keep around, even if thay are older than their expiry time.*/
inline void setNumChildrenThatCannotBeExpired(unsigned int num) { _numChildrenThatCannotBeExpired = num; }
/** Get the number of children that the PagedLOD must keep around, even if thay are older than their expiry time.*/
unsigned int getNumChildrenThatCannotBeExpired() const { return _numChildrenThatCannotBeExpired; }
2003-12-09 12:08:27 +00:00
Robert Osfield
6d5eb79804
Addition of Mode mode=MODULATE constructor.
2003-12-09 12:05:50 +00:00
Robert Osfield
393f1580c8
From Pavel Moloshtan, extension support for ARB_occlusion_querry
2003-12-09 11:20:44 +00:00
Robert Osfield
db66abd6d6
Implemented duplicate removal code into TriStripVisitor and added an
...
extra pass to doing tri stripping in the osgUtil::Optimzer.
Added validity checks into osg::TexEnvCombine to catch eronous enumarant values.
Improved the efficient of CullingSet's handling of new transforms.
Added a copy shared subgraphs and subdivision code into osgUtil::Optimizer.
2003-12-03 21:45:32 +00:00
Robert Osfield
cdb6f9a1df
Made removedExpiredChildren() virtual.
2003-12-03 21:28:42 +00:00
Robert Osfield
e7f9a51f0f
Updates to osgdem + BoundingBox to support graph iterators
2003-11-27 15:13:55 +00:00
Robert Osfield
31c5528ffb
Moved osg::DOFTransform to osgSim::DOFTransform.
...
Fixed crash associated with .osg files which contain empty description fields.
From Sondra Inverson, added support to .ive plugin for osgSim::DOFTransform.
2003-11-25 14:11:05 +00:00
Robert Osfield
9c311b4077
Added intersect method.
2003-11-25 10:56:42 +00:00
Robert Osfield
d82b3d0105
Added read(string,float,float,float,float) method
2003-11-25 10:56:12 +00:00
Robert Osfield
62c955fa19
Added the missing insertChild(index,child) and insertChild(index,child,value) into
...
osg::Switch.
2003-11-20 12:03:51 +00:00
Robert Osfield
8f2a688eff
Added TextureObjectManager constructor.
2003-11-04 22:00:16 +00:00
Robert Osfield
54a8ea33ce
Added support to slideshow3D for -s commandline option allow the size of
...
the display to be specified.
Also implementaited some code for display position and speed info in
osgProducer::Viewer, not fully implemented yet.
2003-11-04 16:38:10 +00:00
Robert Osfield
bc7622149d
Updated to slideshow3D to support animation + pausing of animation.
...
Updated associated osg/osgUtil classes that provide animation pausing.
2003-11-03 23:13:31 +00:00
Robert Osfield
fd016af34b
Added support for 565 textures to osgbluemarble.
...
Added a osg::Image::scaleImage() version which allows the datatype to be varied.
2003-10-29 23:10:11 +00:00
Robert Osfield
f1c4dc3b0d
Updates for osgdem. Including new read/writeHeightField() methods.
2003-10-29 11:11:17 +00:00
Robert Osfield
eb4ee3afad
*** empty log message ***
2003-10-27 16:07:21 +00:00
Robert Osfield
8bb2ca48b7
Made = opeator const.
2003-10-17 10:26:31 +00:00
Robert Osfield
fad832425f
Improvements to DatabasePager
2003-10-10 19:25:14 +00:00
Robert Osfield
5d35daa970
Udates to Drawable + IVE plugin with support for new ClusterCullingCallack.
...
Improvement to osgbluemarble.
2003-10-10 12:54:21 +00:00
Robert Osfield
1a6dc82d32
Made the Drawable::*Callback derive from osg::Object so that they can be
...
saved to .osg properly.
Added osg::ClusterCullingCallback to Drawable header/source. Not complete yet,
but will enable drawables to culled is they are facing away from the eye point.
2003-10-08 21:29:45 +00:00
Robert Osfield
4700b8902c
Introduced new DisplaySettings::set/getDisplayType() and environemtal variables
...
to and command line arguments to set it.
Added support for using the DisplaySettings::getDisplayType() to detect use
of a Head Mounted Display when doing stereo so that the asymtric frustum can
be switched off.
2003-10-01 15:56:52 +00:00
Robert Osfield
e693f148cb
Made osg::Quat support either float or double internal representation, defaulting to double.
...
Generalised the osgDB::Field so that its getFloat() method can be used with either doubles or
floats governed by the type passed in - this helps support either float/double
Quat and Matrix classes seemlessly.
2003-09-29 13:35:02 +00:00
Robert Osfield
7d69f8e193
Added getPerspective() method to Matrix* and SceneView
2003-09-29 13:14:34 +00:00
Robert Osfield
da8ef894c1
Added equals operator to CUllingSet.
...
Update AUTHORS file.
Change tabs to 4 spaces in ive/TextureCubeMap.cpp
2003-09-28 10:15:10 +00:00
Robert Osfield
5027d831c0
Fixed nameing of getAllocationMode()
2003-09-28 09:23:45 +00:00
Robert Osfield
f8df9991b2
Improves to CullStack.
...
From M.Grngr. options support for f=switching off internal imagery in .ive files
2003-09-26 11:20:43 +00:00
Robert Osfield
7fb9f6be4b
Added the beginnings of a new osgforest example.
...
Added support into osg::TriangleFunctor for specifying whether the vertices
being generates are temporary or not.
2003-09-25 21:54:33 +00:00
Robert Osfield
2812c50329
Improved the Geometry::verifyBinding() and computeCorrectBindingsAndArraySizes()
...
methods to check all atributes and to report warnigns when errors are detected.
Added a CheckGeomtryVisitor to osgUtil::Optimizer to detect eroneous Geometry
before rendering.
2003-09-24 15:54:22 +00:00
Robert Osfield
c2b02608d1
Renamed instance of variables called format to pixelFormat to make a
...
clearer distinction between pixelFormat and internalTextureFormat.
2003-09-22 09:13:22 +00:00
Robert Osfield
d45fcb5613
From Alberto Farre, added support for GL_EXT_blend_color, GL_ARB_multisample,
...
GL_NV_multisample_filter_hint extension in the form of osg::BlendColor and
osg::Multisample state attribute classes.
2003-09-17 12:04:48 +00:00