필터 지우기
필터 지우기

How to draw a cube with poses?

조회 수: 2 (최근 30일)
snow John
snow John 2019년 10월 31일
댓글: snow John 2019년 10월 31일
Does anyone know how to use MATLAB function to draw a cube with poses?
  댓글 수: 4
Steven Lord
Steven Lord 2019년 10월 31일
So you want to do something like reproducing the first picture, four different colored six-sided dice, on this Wikipedia page? Each die is in a different location and oriented slightly differently on the (presumably flat) surface on which they were rolled or arranged.
snow John
snow John 2019년 10월 31일
Not exactly,sir!
I have know how to start.Thanks !

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2019년 10월 31일
Other than that, you can either just calculate new positions based upon rotation matrices.
Alternately, you can use a hgtransform group, and draw a cube and set its parent to the hgtransform group. Then adjust its Matrix property of the hgtransform in order to rotate or translate or scale the cube; makehgtform can help with that.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Object Containers에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by