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

3 views (last 30 days)
Martin  Schwendener
Martin Schwendener on 2 Apr 2020
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!

Answers (1)

Jemima Pulipati
Jemima Pulipati on 23 Jul 2020
Edited: Jemima Pulipati on 23 Jul 2020
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 Comment
Martin  Schwendener
Martin Schwendener on 24 Jul 2020
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!