Is there a way to obtain light intensity information when lighting a surface?

1 vue (au cours des 30 derniers jours)
Theo
Theo le 23 Sep 2015
Commenté : Carmelo Mineo le 6 Jan 2021
Suppose we create a very basic surface and single-faced lighting.
peaks(10)
light
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 commentaire
Carmelo Mineo
Carmelo Mineo le 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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by