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
Robert Osfield
273b9c47b4
Fixed #undef's
2004-01-13 16:07:02 +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
b89ec5dcf9
Changed of _firstTime intial values of 0 to DBL_MAX.
2004-01-12 13:53:04 +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
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
3f9ba1484c
Added code to scale the priority by the offset and scale.
2004-01-05 20:51:30 +00:00
Robert Osfield
413064fc6e
Added support for priority offset and scale into PagedLOD.
2004-01-05 20:45:28 +00:00
Robert Osfield
2cb360dd38
From Rommano Silva, admendments to Texture::computeRequiredTextureDimensions
...
so that it takes into account the current mip map settings.
2003-12-27 11:30:41 +00:00
Robert Osfield
96a8fa1f21
Fixes for VS6.0
2003-12-24 19:28:39 +00:00
Robert Osfield
477739f6fc
Fixed typos in error reporting
2003-12-24 00:14:45 +00:00
Robert Osfield
315065df24
Fixed PagedLOD's handling of distances beyond the furthest range.
2003-12-20 23:25:05 +00:00
Robert Osfield
30bafd8867
Added Mode parameter to constructor.
2003-12-20 14:19:09 +00:00
Robert Osfield
3ee8ed15a6
Added _ARB to GL_COMPARE_R_TO_TEXTURE
2003-12-19 10:52:17 +00:00
Robert Osfield
ca06afbc79
Changed the ArrayData constructor to use copyop for copying arrays, instead
...
of by default doing cloning.
2003-12-18 12:20:38 +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
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
de0253aac7
Changed the default wrap modes from REPEAT to CLAMP since CLAMP is the OpenGL
...
default value.
2003-12-15 23:22:35 +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
73c5896432
Removed DOFTransform.
2003-12-05 13:26:47 +00:00
Robert Osfield
4b63fde145
Added a cast (Array*) to get round VS.NET compiler error.
2003-12-05 09:22:03 +00:00
Robert Osfield
9c2f01fd61
Added support for expanding index'd attributes from within
...
osgUtil:TriStripVisitor.
2003-12-04 17:14:06 +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
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
92fc29a22c
Fixed type of unrecognized
2003-11-25 11:06:39 +00:00
Robert Osfield
d82b3d0105
Added read(string,float,float,float,float) method
2003-11-25 10:56:12 +00:00
Robert Osfield
f28783e22b
From Romano J M Silva, changed osg::Texture2D::copyTexImage2D so that it uses the
...
_internalFormat for the texture format to read rather than default to GL_RGBA.
From Robert Osfield, changed the osg::Texture2D::copyTexImage2D and copyTexSubImage
code so that it set the _internalFormat to GL_RGBA if is is zero.
2003-11-21 13:45:40 +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
3f33163c47
Fixed setting of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO value.
2003-11-12 15:03:05 +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
bce184e87c
Added a check into osg::Sequence::traverse() against an empty sequence, so
...
that a non existant child is not traversed.
2003-10-27 10:29:52 +00:00
Robert Osfield
d55d8f941d
Fixed error when handling mulltiple non per vertex vertex attributes during
...
rendering.
2003-10-22 13:39:16 +00:00