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...
This commit is contained in:
Robert Osfield
2002-11-20 07:46:25 +00:00
parent 3864500e5b
commit 6c8ef3b7df
11 changed files with 483 additions and 13 deletions

View File

@@ -54,6 +54,10 @@ echo osgprerender dumptruck.osg
osgprerender dumptruck.osg
more memleaks.log
echo osgshadowtexture cessna.osg
osgshadowtexture cessna.osg
more memleaks.log
echo osgparticle
osgparticle
more memleaks.log

View File

@@ -308,7 +308,7 @@ ifeq ($(OS),Darwin)
DEMOS_DIRS = osgbillboard osgcallback osgclip \
osgcluster osgconv osgcopy osgcube osggeometry \
osghangglide osgimpostor osgmultitexture osgoccluder \
osgparticle osglightpoint osgprerender osgreflect osgscribe osgstereoimage \
osgparticle osglightpoint osgprerender osgshadowtexture osgreflect osgscribe osgstereoimage \
osgtexture1D osgtexture2D osgtexture3D osgversion osgviews sgv \
osgshape osganimate osgteapot
endif

View File

@@ -92,6 +92,7 @@ DEMOS_DIRS = \
osgoccluder\
osgparticle\
osgprerender\
osgshadowtexture\
osgreflect\
osgscribe\
osgsequence\

View File

@@ -37,6 +37,9 @@ osggeometry
echo osgprerender dumptruck.osg
osgprerender dumptruck.osg
echo osgshadowtexture cessna.osg
osgshadowtexture cessna.osg
echo osgparticle
osgparticle