Commit Graph

1433 Commits

Author SHA1 Message Date
Robert Osfield
aa3d887e94 Added check of translucency of an image via osg::Image::isImageTranslucent(). 2002-11-25 16:40:30 +00:00
Robert Osfield
010e56c8cc Added implementation of isImageTranslucent method. 2002-11-25 16:39:05 +00:00
Robert Osfield
26ba223880 Added isImageTransulacent() method. 2002-11-25 16:38:33 +00:00
Robert Osfield
b113dfeb73 Added extra check to the freeing of memory. 2002-11-25 16:30:34 +00:00
Robert Osfield
cbbbee4c41 Fixes for OSX build from Stephan Huber. 2002-11-25 16:13:57 +00:00
Don BURNS
12e922bc3c Added Paging TerraPage loader and osgTXP library. 2002-11-24 21:36:05 +00:00
Don BURNS
89b2575ffe Forced GLPixmapGlyph color to white rather than using glGetCurrentColor 2002-11-24 00:23:47 +00:00
Don BURNS
1098a7ded1 Freetype 2.1 and later align bitmap pitch on boundaries of 2 bytes. It is
therefore necessary to use glPixelStorei(..,UNPACK_..., 2).  There is an
#if() statement that allows the continued use of freetype 2.0 (Rh 7.x), as
well as accomodating newer releases.
2002-11-23 05:16:47 +00:00
Don BURNS
4acee51414 Merged in Joseph Steel's updates to rgb plugin 2002-11-22 17:36:46 +00:00
Robert Osfield
22c313cf3e Warning fixes. 2002-11-22 09:46:25 +00:00
Robert Osfield
bcf9d08c2b Adjusted tabbing. 2002-11-22 08:23:54 +00:00
Robert Osfield
fc9a2c0e38 Added d to the end of the dll name for the debug build of the ac3d loader. 2002-11-22 08:05:20 +00:00
Don BURNS
65fec63389 Fixes for IRIX build 2002-11-22 05:00:43 +00:00
Don BURNS
c735c379af Fixed std:: prefix and reinitialized variable for gcc 3.2 2002-11-21 20:28:28 +00:00
Robert Osfield
493d86fc73 Added use of ref_ptr<> for the replaced node in osg::Group::replaceChild(,)
to prevent it being deleted while it was still being used with the body of
the method.

Added mention of the shadow texture demo.
2002-11-21 16:08:30 +00:00
Robert Osfield
a545f3b48c Moved the shadow creation code into a seperate CreateShadowedScene header and source,
and exposed just the basic createShadowedScene function in the header.
2002-11-21 15:35:51 +00:00
Robert Osfield
3f97d6a44d Clean up of the shadow texture code... 2002-11-21 14:54:14 +00:00
Robert Osfield
2e1b827373 Added shadow texture demo .dsp under the correct name! 2002-11-21 14:38:55 +00:00
Robert Osfield
201f753170 Fixed the updating of projection matrix so that is done in eye coordinates. 2002-11-21 13:25:39 +00:00
Robert Osfield
5ddcd5d878 Added osg::Geometry::setPrimtiveSet,removePrimtiiveSet, insertPrimitiveSet
and getPrimitiveSetIndex().

Renamed osg::Group::findChildNum(..) to getChildIndex().

Renamed osg::Geode::findDrawableNum(..) to getDrawableIndex().
2002-11-21 09:07:11 +00:00
Robert Osfield
f2fc281b00 Fix for compile problems under IRIX. 2002-11-21 07:53:48 +00:00
Robert Osfield
7ca90a3b44 First pass at shadow textures. 2002-11-20 15:51:18 +00:00
Robert Osfield
de85272032 Moved the code to create StateSet around textures into flt::Pool::getTexture so that
the code associated with loading textures is done is just one place.
2002-11-20 14:40:33 +00:00
Robert Osfield
6c8ef3b7df Fixed the texture apply method which was broken yesterday, the new code wasn't
checking for the validity of _image before doing checks on it.  This breaks when
render to texture is used as there is no image to check against...

Added osgshadowtexture demo source.  Demos still in development, so don't expect
any shadows yet...
2002-11-20 07:46:25 +00:00
Robert Osfield
3864500e5b Fixed the references osgSim project file.
Added the osgshadowtexture demo project file.
2002-11-20 07:44:28 +00:00
Robert Osfield
f46b231305 Added handling of image dirty after a textyre has been bound, the texture
is now updated when the image is dirty.
2002-11-19 12:48:58 +00:00
Robert Osfield
4ae3e5c6bc Updated OSX defs to compile osgSim and osglightpoint 2002-11-19 12:26:51 +00:00
Robert Osfield
0e8db455bb Added osglightpoint to the demo list. 2002-11-19 12:25:38 +00:00
Robert Osfield
2b957675d5 Added visual workspace files for osgSim nodekit and osglightpoint demo. 2002-11-19 12:23:45 +00:00
Robert Osfield
e02ae73edc Added osgSim library which encapulsulates light points.
Added osglightpoint demo.
2002-11-19 10:57:40 +00:00
Robert Osfield
5fca8ea229 Moved Drawable across to using osg::buffered_value.
Added new osg::State::setInterleavedArray() method.

Added new osg::Group::setNode(uint,Node*) method.

Cleaned up and fixed the osg::Texture's handling of dirtyTextureParamters().
2002-11-19 10:56:59 +00:00
Robert Osfield
42fb3c5987 Added setDrawable(uint,Drawable*) method. 2002-11-18 16:14:00 +00:00
Robert Osfield
b89e7282ed From Jason Daly, fix for long file names on sequence nodes. 2002-11-14 15:30:28 +00:00
Robert Osfield
0980eeda1e Updated the plugins so they do the extension checking with a non
case sensitive comparison.
2002-11-14 09:03:31 +00:00
Robert Osfield
e35a6ce097 Updated NEWS and ChangeLog for the release. 2002-11-13 13:04:00 +00:00
Robert Osfield
ce47cbad91 Updates to docs for release 2002-11-13 12:42:58 +00:00
Robert Osfield
bd7762a73e Added State::computeSecondaryColorSupported() & computeFogCoordSupported().
Updated NEWS.
2002-11-13 11:09:55 +00:00
Robert Osfield
b6838c703e Small improvement to the computation of the pixel size vector. 2002-11-13 10:23:55 +00:00
Robert Osfield
b468d2f939 Fixed ansisotropic scaling problem with pixel scaling/small feature culling. 2002-11-12 15:50:39 +00:00
Robert Osfield
f07dc35976 Fixed bug in stats where overdraw would be reported incorrectly. 2002-11-12 13:51:04 +00:00
Robert Osfield
e1643bd16b Removed debugging messages. 2002-11-12 13:37:43 +00:00
Robert Osfield
4b27430931 Fixed bug in osg::Transform's computation of a its bounding sphere, where
it was erroneously using the y axis for the z axis test.
2002-11-12 13:36:56 +00:00
Robert Osfield
8e84722f90 Added LEFT_EYE and RIGHT_EYE stereo to osg::DisplaySettings/osgUtil::SceneView
Renamed LODBias to LODScale.
2002-11-12 10:22:38 +00:00
Don BURNS
6d1ba6c0f4 Fixed a const/non-const inconsistency in NodeVisitor.cpp
Fixed a blank namespace issue in UnitTestFramework.cpp
2002-11-11 20:18:27 +00:00
Robert Osfield
35b9317baf Fixes to typo of *Dirty() 2002-11-11 16:11:48 +00:00
Robert Osfield
5c1c9ec0e9 Added missing demos and libs into the darwin defines. 2002-11-11 09:06:02 +00:00
Robert Osfield
1f50138ec4 Added a getBound() to the SceneView::app() to make sure the bounding volume is
updated well before the cull traversal which can be multithreaded.
2002-11-11 09:01:54 +00:00
Robert Osfield
6f3e2b681c Fixed bug in osg::Node::isCullingActive().
Rnabled the automatic selection of the animation path if one is specified
on the commandline in sgv.
2002-11-11 08:52:24 +00:00
Robert Osfield
e809955120 Updates to news. 2002-11-11 08:08:37 +00:00
Robert Osfield
ec04b20bc9 Updates to doc 2002-11-11 08:05:23 +00:00