Simscape Multibody visual properties: How to define/inherit custom color scheme?

1 次查看(过去 30 天)
Version: Matlab 2019a
Hi all,
I am trying to have a photorealistic visualization of earth in Simscape, e.g. this NASA Earth model. While I can import arbitrary shapes (here: the geoid) as an stl or step file, the visualization remains monochromatic.
Any Ideas, how this can be achieved?
Many thanks!

回答(1 个)

Jemima Pulipati
Jemima Pulipati 2020-7-23
编辑:Jemima Pulipati 2020-7-23
Hello,
From my understanding, you want to manipulate visual properties of bodies which contributes to the effectiveness of multibody visualization.
Here is the documentation link of R2019a for manipulating the color of a solid.
  1 个评论
Martin  Schwendener
Martin Schwendener 2020-7-24
Dear Jemima,
Thanks for your answer. Indeed, my question was directed towards how can I give a body multiple colors or maintain the color scheme of an imported stl file.
For the time being, i circumvented the problem by overlaying a green stl. file of the dry earth with a blue wgs84 sized ellipsoid, see below. It's not perfect, but it does the job for the moment.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Bodies 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by