필터 지우기
필터 지우기

Visually depicting light movement in hemispherical shell on a planar substrate

조회 수: 1 (최근 30일)
Onur Kucuktas
Onur Kucuktas 2021년 8월 19일
댓글: darova 2021년 8월 20일
I have ray tracing code that is intended to vectorially follow collimated light beams incident on a semitransparent hemispherical shell on a planar substrate as they undergo reflections and refractions until attenuation. Each ray is described by an origin point, a direction, and an intensity and then the intersection points are calculated. At the intersection the beam is appropriately reflected/refracted and the subsequent beam is then followed similarly. In order to solve bugs in the code visualizing the light beams would be very helpful. I'm unsure of which of the plethora of plotting functions to use in order to plot two hemispheres and the light vectors on the same 3D plot for visualization. The sphere function produces a 3D plot but I have no idea how to limit it to only the hemispherical top part of the sphere or how to plot light ray vectors onto the same plot. Any direction would be helpful.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by