Why don't surfaces or patch objects that block light sources cast shadows on other surfaces or patches?

I would like to know why surfaces or patch objects that block light sources do not cast shadows on other surfaces or patches.

 Accepted Answer

MATLAB's implementation of light sources does not perform any ray tracing which is necessary to produce shadows. Light sources in MATLAB illuminate each object in the axes with respect to the object's lighting related properties only.
However, if you have the Mapping Toolbox, you may find the LOS2 and VIEWSHED functions useful:

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!