Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
user_guide:visual_tutorial [2019/01/25 09:27] – ↷ Links adapted because of a move operation oroehrig | user_guide:tutorials:visual_tutorial [2019/01/25 16:01] – ↷ Links adapted because of a move operation oroehrig |
---|
<code> polytope > simplex(3)->VISUAL(VertexColor=>['red','0 1 0',new RGB(0,0,1),'255 255 0']); </code> | <code> polytope > simplex(3)->VISUAL(VertexColor=>['red','0 1 0',new RGB(0,0,1),'255 255 0']); </code> |
| |
See [[user_guide:visual_tutorial#Specifying Colors]] for different ways to specify colors. | See [[user_guide:tutorials:visual_tutorial#Specifying Colors]] for different ways to specify colors. |
| |
**Function**: You may also pass a function, i.e. a perl ''sub'', to the //VertexColors// attribute that returns a color depending on the vertex index. The following line produces a tetrahedron with colors ranging from black for vertex 0 to yellow for vertex 3: | **Function**: You may also pass a function, i.e. a perl ''sub'', to the //VertexColors// attribute that returns a color depending on the vertex index. The following line produces a tetrahedron with colors ranging from black for vertex 0 to yellow for vertex 3: |
===== application topaz ===== | ===== application topaz ===== |
| |
For information on how to visualize simlicial complexes and other topology-related objects, see [[user_guide:apps_topaz#visualization|here]]. | For information on how to visualize simlicial complexes and other topology-related objects, see [[user_guide:tutorials:apps_topaz#visualization|here]]. |
| |
=====Backends===== | =====Backends===== |
| |
=== Save View === | === Save View === |
Clicking the "Save View" button on the bottom of the jReality window attaches a "ViewTransformation" matrix to your object (read [[reference:clients#attachments|this]] if you don't know how attachments work). It contains the transformaiton necessary to convert the coordinates of your object to the coordinates of the (possibly rotated, translated etc. by you in the interactive visualization) object as you currently see it. This information is then used by jReality and Sketch to display the object in exactly that way if you visualize it the next time. | Clicking the "Save View" button on the bottom of the jReality window attaches a "ViewTransformation" matrix to your object (read [[user_guide:extend:clients#attachments|this]] if you don't know how attachments work). It contains the transformaiton necessary to convert the coordinates of your object to the coordinates of the (possibly rotated, translated etc. by you in the interactive visualization) object as you currently see it. This information is then used by jReality and Sketch to display the object in exactly that way if you visualize it the next time. |
| |
| |
| |
| |