user_guide:tutorials:visual_tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:visual_tutorial [2017/07/10 21:32] – [Behind the scenes] removed empty section oroehriguser_guide:visual_tutorial [2019/01/25 09:27] – ↷ Page moved from tutorial:visual_tutorial to user_guide:visual_tutorial oroehrig
Line 201: Line 201:
 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 [[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.
  
-==== Povray ==== 
- 
-There seems to be a problem with the latest security restriction of povray, which prevent polymake from rendering pictures directly from the interactive shell. Until we find a suitable fix you need to create an output file and render it by hand, i.e. 
-<code perl> 
-polytope> $my_polytope = cube(3); 
-polytope> povray($my_polytope->VISUAL,File=>"myfile.pov"); 
-</code> 
-To compile the file ''myfile.pov'' you need to copy ''polymake-scene.pov" and ''polypov.ini'' file to the same directory as ''myfile.pov''. The path to the files is shown in the ''include'' statement of ''myfile.pov''. This ''include'' statement will cause an error because of increased security measures in ''povray''. You have to modify the line to be: 
-<code povray> 
-#include "polymake-scene.pov" 
-</code> 
-Then you can render the file using  
-<code bash> 
-> povray +Imyfile.pov +Omypic.tga polypov.ini 
-</code> 
-Sorry for the inconvenience. We will fix it. Feel free to create your own scenes, materials, and render settings. We are always looking for beautiful pictures. 
  
  
  
  • user_guide/tutorials/visual_tutorial.txt
  • Last modified: 2019/02/04 22:55
  • by 127.0.0.1