フィルターのクリア

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 Center および File ExchangeSurface 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