How can I simulate lambertian reflection?

12 Ansichten (letzte 30 Tage)
Ji seong Hwang
Ji seong Hwang am 20 Okt. 2022
Beantwortet: Image Analyst am 20 Okt. 2022
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 20 Okt. 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".

Weitere Antworten (0)

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by