Commit Graph

1549 Commits

Author SHA1 Message Date
Robert Osfield
3715320b85 Fixes from Norman Vine for Cygwin support. 2002-12-06 09:19:35 +00:00
Robert Osfield
92d31b132b Updates to the osglogo demo. 2002-12-05 15:21:25 +00:00
Robert Osfield
a91324e158 Added Brede Johansen's osgpbuffer demo, currently only runs under Windows,
requires the equivilant glx support to be added.
2002-12-05 14:30:57 +00:00
Robert Osfield
b0c4256e90 Norman Vine's changes for gcc 3.2 under Cygwin, moving of SG_EXPORT to after
the extern declaration.
2002-12-05 12:43:08 +00:00
Robert Osfield
730e2b4d1f Added osglogo to test scripts. 2002-12-05 12:13:30 +00:00
Robert Osfield
af400cb5ab Added first pass at a new logo, this time generated by a osglogo demo. 2002-12-05 12:04:38 +00:00
Robert Osfield
d7692f83d7 Added support for setting the axis which the text should be aligned along. 2002-12-05 12:01:38 +00:00
Robert Osfield
a4404a388d Fixes for Cywin gcc3.x build in GL and Math headers.
Fix for VS build in osgshadowtexture.
2002-12-04 17:34:52 +00:00
Robert Osfield
b9110154c4 Removed the osg:: from the from of the osg::TexGen::apply() call. 2002-12-04 13:26:11 +00:00
Robert Osfield
f6934e25ab Made the callback class uses virtual inheritance of osg::Referenced to ensure
that a single class can be used for two different types of callbacks whithout
incurring issues of multiple ref counts and ref()/unref() methods existing.
2002-12-03 17:20:31 +00:00
Robert Osfield
264cca1317 Fixed the ifeq ($(OS),SunOS) so it was correctly on its own seperate line, and
complimented by the required endif
2002-12-03 10:19:37 +00:00
Don BURNS
d87754857f updated difference between forte compilers and gnu compilers on Solaris 2002-12-02 19:37:43 +00:00
Don BURNS
bf0cbf6b10 Modified Files:
include/osgTXP/trPagePageManager.h src/Demos/osgtxp/osgtxp.cpp
 Added Files:
    VisualStudio/Demos/osgtxp/osgtxp.dsp
2002-11-29 22:10:12 +00:00
Don BURNS
97ec694e21 Fixes to txp loader 2002-11-29 16:14:03 +00:00
Don BURNS
4512ffd868 Made LIB's dependent on PLUGINS for directories where both are built 2002-11-27 05:29:59 +00:00
Robert Osfield
d370227d89 Added comment for future reference about the validity of using delete in
the demo code... should really by using ref_ptr<> etc.
2002-11-25 16:57:49 +00:00
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