How can I simulate lambertian reflection?

조회 수: 13 (최근 30일)
Ji seong Hwang
Ji seong Hwang 2022년 10월 20일
답변: Image Analyst 2022년 10월 20일
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.

채택된 답변

Image Analyst
Image Analyst 2022년 10월 20일
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".

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Optics에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by