Filter löschen
Filter löschen

how does hgtransform works?

1 Ansicht (letzte 30 Tage)
Zaitul
Zaitul am 10 Jan. 2017
Kommentiert: Zaitul am 10 Jan. 2017
Hi, can anyone explain to me what is hgtransform actually. i cant figure how it's work. thank you.

Antworten (1)

Walter Roberson
Walter Roberson am 10 Jan. 2017
hgtransform is interpreted in software for the painters renderer or z-buffer renderer.
For the OpenGL renderer, command and data node structure is created enclosing all of the data, the transform commands being marked as applied to the result of the other operations, and the complete structure is sent to the OpenGL renderer to process. The actual transformations are not done at the MATLAB level in this case: instead what to do is sent to OpenGL. In turn OpenGL might send the structure (or parts of it) to hardware rendering routines.
If that is not what you meant, then perhaps read https://en.wikipedia.org/wiki/Transformation_matrix and understand that transform matrices are applied to coordinates to find new coordinates. After that, it is a matter of rendering the transformed coordinates just as if the the coordinates had always been that value.
  1 Kommentar
Zaitul
Zaitul am 10 Jan. 2017
at first i wanted to export the image to stl but i failed. then, i use hgtransform, and it's work. so, this case related to the transformation of matrices?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Object Containers finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by