List of my modules...

Module: Convert_Scene_To_PovRay

Description:

Translates the open inventor scene shown in the main viewer (i.e. viewer 0) into a POV-Ray (Persistence Of Vision, a raytracer freeware) file. The idea is to be able to improve on the visual quality of a scene, setup in Avizo, with the raytracing abilities of a dedicated program.

Left : scene displayed in viewer 0 of Avizo. Right : POV-Ray scene from file generated by this module (reflectiveness proving it wasn't Avizo again).

NOTES:

Reproducing the material properties of the shapes in Avizo is limited, the basic idea of this module is to define the positions of the different objects in the scene (camera, lights, shapes), and handle the rest in POV-Ray.

Connections:

Ports:

Options


Some basic options.

LowDim_Options


Options for lower-dimensional objects: lines and points. In Open Inventor, they are indeed 1- or 0- dimensional objects in the 3D space, but in a POV-Ray scene all objects are at least 2D, so points are converted to spheres, and lines to cylinders (or cones given what's desired). The size conversion of these objects have these options:

Above is an example of a Cube (line drawstyle), with the 1D option, and a high FOV angle to show the effect. At the start, i.e. at the initial camera point of view (the one that's saved in the POV-Ray file) it looks like all "lines" are the same size. But going around the back you can see the illusion. The lines are actually cones!

LowDim_Sizes


User-given sizes for the Open Inventor points and lines ().

Advanced options


For when you want to modify the POV-Ray files.

Background


If background was toggled in the previous port, then this is the color to set it to.

Time


If animate was toggled, this is the time port, connected to another time port controlling what you want to animate. The module takes the time from this step, and renders one file for each time step in the given sub range of the time port.

Directory


The directory in which the files will be created.

Filename


The file name, without the extension. A .pov file and a .inc file are created.

DoIt


Push this button to generate the file.

Commands:

Additional options can be accessed when typing in the console Convert_Scene_To_PovRay COMMAND_NAME.

verbose

Displays information on the conversion. Retype to hide info.

create

Runs the computation.