> Init should be called in UpdateTraversal but if for
> some reason you created 
> your ShadowedScene after UpdateTraversal but before
> CullTraversal : crash 
> may happen.

Thanks a lot for these pointers. I still get the same
error though after adding sm->init() or
sm->computeDataVariance() or both. If you have already
succeeded with such an approach maybe my problem lies
elsewhere in the program.

Lights are added under the scene root and associated
with the scene root's stateset.

By the way, there is no call to init() in the call
stack of the debugger. The crash appears while culling
tries to  get the DataVariance...

Anymore ideas regarding this problem? Maybe a short
working sample code (apart from the osgshadow
example).

Thanks,
D.



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to