Re: [osg-users] light through walls

2010-07-06 Thread Jose Rincon
Hi, Before all, I thank Nick and Jean-Sebastian for your pieces of advices. What I try to do now, it's to apply ShadowMap to the SpotLight. I use Delta3D for my initial program, and I have a shader for Spotlight in that program. I've included the ShadowedScene of OpenSceneGraph and my goal now

[osg-users] light through walls

2010-07-05 Thread Jose Rincon
Hi, I'm working with a light (spotlight) concretely. I would like that this light didn't go through walls. How can I obtain this effect? Thank you! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28747#28747

Re: [osg-users] light through walls

2010-07-05 Thread Trajce (Nick) Nikolov
do a search in the archive for light lobes. There is a code posted that do what you ask for -Nick On Wed, Jun 9, 2010 at 7:01 PM, Jose Rincon jm.rincon.pe...@gmail.comwrote: Hi, I'm working with a light (spotlight) concretely. I would like that this light didn't go through walls. How can I

Re: [osg-users] light through walls

2010-07-05 Thread Jean-Sébastien Guay
Hi Jose, I'm working with a light (spotlight) concretely. I would like that this light didn't go through walls. How can I obtain this effect? In real life, the fact that a light doesn't go trough walls is a consequence of the fact that solid objects block the light (i.e. cast shadows). The