Gazebo | Ignition | Community
Ask Your Question

imstevenpm's profile - activity

2018-07-24 00:31:12 -0500 received badge  Supporter (source)
2018-07-24 00:31:04 -0500 marked best answer Model doesn't stop light

Hello community!

I'm building a gazebo track where I need the light from a light bulb (simulated as a white sphere with a pointlight) to be stopped by the model's wall so that way the light does not reach to other parts of the track. But, the light seems to go through the model's walls and reaches more zones than desired.

image description

In the image, we can see that light reaches the other end of the track. This happens becasue the light goes through the red wall, illuminates one side of the yellow wall and then goes through the yellow wall, reaching the other end. Also, notice that one side of the green wall -not visible in the image- is illuminated but the other side isn't, and the light still reaches outside the track.

Note: The pointlight is very close to the ground, so that discards that the problem is happening because the light illuminates the whole track from above. Note 2: Simulating with a spotlight seems to have no different effect.

So the question is, How can we stop the light from going through the wall so that way it doesn't reach the other part of the track? How can we make the lights stay trapped in the track's walls?

As always, thanks for your awsome help.

2018-07-24 00:31:04 -0500 received badge  Scholar (source)
2018-07-24 00:30:59 -0500 commented question Model doesn't stop light

Any help is appreciated :)

2018-02-02 10:24:10 -0500 received badge  Famous Question (source)
2017-12-12 15:45:30 -0500 received badge  Notable Question (source)
2017-12-12 09:11:11 -0500 received badge  Popular Question (source)
2017-12-11 11:46:30 -0500 received badge  Student (source)
2017-12-11 06:22:39 -0500 commented question Model doesn't stop light

Any help is appreciate it :)

2017-12-11 06:21:43 -0500 asked a question Model doesn't stop light

Model doesn't stop light Hello community! I'm building a gazebo track where I need the light from a light bulb (simulat

2017-12-11 06:19:19 -0500 asked a question Model doesn't stop light

Model doesn't stop light Hello community! I'm building a gazebo track where I need the light from a light bulb (simulat

2017-12-11 05:25:46 -0500 commented question Light through the wall in a custom model

Did you find a solution?

2017-09-26 11:53:53 -0500 answered a question Realistic implementation of ultrasound sensor in gazebo_range plugging?

Hello @carlos.tubio I'm having the same issue. It seems that simulating an ultrasound sensor with a <ray> tag, ga