How can I simulate lambertian reflection?

I want to simulate lambertian reflection on surface.
I am researching solar cell / module.
I want to know light intensity inciding to red surface from reflection on Lambertian surface in 3d space.
I'm trying to apply the ray tracing method, but I've never worked with MATLAB, and I'm struggling with my lack of knowledge about optics.
If you have code, books, or papers that can solve this problem, please recommend.
Thanks for viewing my question.

 Réponse acceptée

Image Analyst
Image Analyst le 20 Oct 2022
I guess you could send in a ray and then use rand() to get a random angle between -90 and +90 that the ray bounces off at.
angle = -90 + 180 * rand(1)
I know that's only one part and you'll say you don't know how to do the rest of the app, but sorry, we can't write a whole turnkey app for you.
I suggest you search the forum for "monte carlo".

Plus de réponses (0)

Catégories

Produits

Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by