Borrar filtros
Borrar filtros

How to draw a cube with poses?

2 visualizaciones (últimos 30 días)
snow John
snow John el 31 de Oct. de 2019
Comentada: snow John el 31 de Oct. de 2019
Does anyone know how to use MATLAB function to draw a cube with poses?
  4 comentarios
Steven Lord
Steven Lord el 31 de Oct. de 2019
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 el 31 de Oct. de 2019
Not exactly,sir!
I have know how to start.Thanks !

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 31 de Oct. de 2019
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.

Más respuestas (0)

Categorías

Más información sobre Object Containers en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by