cast shadow in Simulink 3D Animation

2 ビュー (過去 30 日間)
Simon Detmer
Simon Detmer 2020 年 6 月 5 日
回答済み: Shivam Lahoti 2024 年 9 月 10 日
Hello,
short question for those who have used Simulink 3D Animation at some point,
I have 3D world with one box shape as ground and another box shape as a drone.
Now I want the drone to cast a shadow onto the ground to make it easier to distinguish its position.
Is that possible?
  1 件のコメント
Simon Detmer
Simon Detmer 2020 年 6 月 9 日
Any suggestions?

サインインしてコメントする。

回答 (1 件)

Shivam Lahoti
Shivam Lahoti 2024 年 9 月 10 日
Hi Simon,
I understand you want to cast the shadow of an object onto another surface in Simulink 3D Animation. To achieve this, you'll need a light source with the "infinite" style to mimic parallel sunrays. You can refer to the following documentation for more details:
Additionally, you'll need to define a surface with appropriate reflectance where the shadow can be cast.
I hope this helps you approach the problem.
Regards,
Shivam.

カテゴリ

Help Center および File ExchangeSimulation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by