Robert Osfield
7f76c66a00
Added definition of GL_DEPTH_TEXTURE_MODE_ARB
2003-12-18 16:15:58 +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
3eef331f2a
Fixed s/getCreateBackFace(bool on) methds so that use used the correct variable.
2003-12-18 10:57:57 +00:00
Robert Osfield
aac16a17e7
Fixed typo in comments.
2003-12-18 09:56:48 +00:00
Robert Osfield
0edb480129
From Bob Kuehne, build fixes for OSX.
2003-12-17 23:19:11 +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
01f171f133
Added support for tracing the resolutions that are required by the destination data.
2003-12-17 17:02:23 +00:00
Robert Osfield
c6cd8edf3f
From Jeremy Bell, made SHARED = -dynamic for OSX.
2003-12-17 10:05:29 +00:00
Robert Osfield
a30c83560c
Added VS projects for osgkeyboardmouse and osgsimple examples.
2003-12-17 10:04:01 +00:00
Robert Osfield
90642007e1
Added -losgGL2 to link line.
2003-12-17 00:58:36 +00:00
Robert Osfield
6bdbe942b1
From Marco Jez, fixes to osgFX so that effects are compiled correctly.
...
Fixed title name of osgkeyboardmouse example.
2003-12-16 23:43:37 +00:00
Robert Osfield
7fcdf9b82d
Added osgUtil dependancy to lib3ds plugin
2003-12-16 19:21:45 +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
1158e4605d
Added support for updating the SceneView projection matrix from the values
...
of near and far computed during the cull traversal.
2003-12-15 23:23:45 +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
b1226cc4a9
Added two news examples, osgsimple just loads a model and then renders it in
...
a single window. osgkeyboardmouse adds to osgsimple support for keyboard mouse
and picking interactions.
2003-12-15 16:46:06 +00:00
Robert Osfield
ff6b9099cf
Added gemetry of photo album and page turning animation.
2003-12-15 16:40:26 +00:00
Robert Osfield
caaed0d8b8
Added test against MultiSwitch in Optimizer to prevent switch children
...
being removed.
2003-12-15 08:54:38 +00:00
Robert Osfield
0c22a6550f
Fixed paramter name from being fileName to file.
2003-12-13 22:15:47 +00:00
Robert Osfield
3702947ef9
From Jeremy Bell, add -losgText to fix OSX compile.
2003-12-13 22:07:55 +00:00
Robert Osfield
70572a3930
Added TriStripVisitor usage.
2003-12-13 16:41:46 +00:00
Robert Osfield
0cbe10d399
From Michael Gronager, with updates from Robert Osfield, to add support
...
for Registry::closeAllLibrary and forced Registry destruction via
Registry::instance(true).
2003-12-13 16:36:29 +00:00
Robert Osfield
1025643170
From Eric Sokolosky, fixed broken handling of palatted textures.
2003-12-13 15:33:48 +00:00
Robert Osfield
4c95f0db1f
Fixed typo of s/getUpdateVisitor().
2003-12-12 20:33:36 +00:00
Robert Osfield
9f0dc42efe
Fixed flatten static transform
2003-12-12 17:23:03 +00:00
Robert Osfield
3fefc3cc7e
Removed comments, and move the tri stipper slightly later in the code to
...
apply it on all geometries.
2003-12-12 16:34:46 +00:00
Robert Osfield
f4b5c075be
Updates from Geof Michel.
2003-12-12 15:22:39 +00:00
Robert Osfield
4bf9347fae
Made progress reports use osg::notify(osg::INFO) instread of std::cout
2003-12-12 13:53:04 +00:00
Robert Osfield
995af47ab9
Fixed merging of geometry code.
2003-12-12 13:24:23 +00:00
Robert Osfield
7e012ccfc4
Renamed PermissableOptions to setPermissableOptimizations.
2003-12-11 23:33:27 +00:00
Robert Osfield
1881610a35
Added support for controlling what optimization operations can be applied
...
to specific nodes in the scene graph. Typical use would be tagging a
node so that it can't be optimized away in say a flatten static transform
pass. Added methods to Optimizer are:
inline void setPermissableOptionsForObject(const osg::Object* object, unsigned int options)
{
_permissableOptionsMap[object] = options;
}
inline unsigned int getPermissableOptionsForObject(const osg::Object* object) const
{
PermissableOptionsMap::const_iterator itr = _permissableOptionsMap.find(object);
if (itr!=_permissableOptionsMap.end()) return itr->second;
else return 0xffffffff;
}
inline bool isOperationPermissableForObject(const osg::Object* object,unsigned int option) const
{
return (option & getPermissableOptionsForObject(object))!=0;
}
2003-12-11 23:26:22 +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
8f41f8a149
Added environmental variable for setting the height of the drive manipulator.
2003-12-10 16:50:26 +00:00
Robert Osfield
5011d994e8
Added a special AvailablerReaderWriterIterator class to handle the task
...
of iterating through the list of available reader writer, whilst handling
cases where the list itself changes size during iteration through the list.
Previous size changes during iteration was cause invalid iterators, which
in turn was causing a crash.
2003-12-10 15:24:14 +00:00
Robert Osfield
cfb14b7490
Added proper handling of unhandled file return type.
2003-12-10 15:22:05 +00:00
Robert Osfield
af482998b9
Improved the management of errors reported from ReaderWriters, and cleaned
...
up the reporting of errors in DynamicLibrary.
2003-12-10 11:40:58 +00:00
Robert Osfield
eb57ab5cda
Added support for using DrawArrays when indices are in ascending order, and
...
increment 1 at a time.
2003-12-10 10:49:16 +00:00
Robert Osfield
a25e14b42f
Improvements to the TriStripVisitor such that it now groups 4 point tri strips
...
together as quads.
2003-12-09 22:29:56 +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
d76cef6f8e
Added support for new PagedLOD Radius and NumChildrenThatCannorBeExpired variables
...
to .osg and .ive support.
2003-12-09 14:06:48 +00:00
Robert Osfield
f46cbe60dc
Added new example osgphotoalbum.
2003-12-09 12:11:21 +00:00
Robert Osfield
5ad968b049
Reverted back to non exception based JPEG plugin.
2003-12-09 12:09:36 +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
f5a79aec4e
Added get() method to ReaderWriterProxy class to allow the readerwriter to
...
be obtained once its constructed.
2003-12-09 12:07:41 +00:00
Robert Osfield
6d5eb79804
Addition of Mode mode=MODULATE constructor.
2003-12-09 12:05:50 +00:00
Robert Osfield
bbde1b2ae7
Fixes for optional compile of GL_LUMINANCE_ALPHA and GL_ALPHA texture usage
...
in fonts. Default to GL_ALPHA.
2003-12-09 12:04:14 +00:00
Robert Osfield
4c3f6004df
Moved osgText across to create GL_ALPHA textures instead of GL_LUMINANCE_ALPHA
2003-12-09 11:31:33 +00:00
Robert Osfield
393f1580c8
From Pavel Moloshtan, extension support for ARB_occlusion_querry
2003-12-09 11:20:44 +00:00
Robert Osfield
77fce7f6f6
From Mike Wieblen, tweak to GL2 shader
2003-12-09 11:19:52 +00:00