Is there a way to obtain light intensity information when lighting a surface?
1 view (last 30 days)
Show older comments
Suppose we create a very basic surface and single-faced lighting.
peaks(10)
light
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149344/image.png)
Is there a way to obtain the matrix indicating light intensity on the surface patches for the current view? Alternatively is there a way to simply obtain the FaceColor attribute which is being applied to the individual patches on the surface (I assume that from subtracting this FaceColor from the unlit FaceColor, we can obtain intensity)?
1 Comment
Carmelo Mineo
on 6 Jan 2021
Hello all. I am having the same issue. Does anyone have any idea to measure the light intensity on each node of a mesh, for a given lighting condition?
Answers (0)
See Also
Categories
Find more on Lighting, Transparency, and Shading in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!