Why don't surfaces or patch objects that block light sources cast shadows on other surfaces or patches?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 30 Dec 2021
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
MathWorks Support Team
on 30 Dec 2021
Edited: MathWorks Support Team
on 30 Dec 2021
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:
0 Comments
More Answers (0)
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!