- How to Run POV-Ray in Batch
- How to Run POV-Ray Interactively
You can use any text editor to make the appropriate input files for POV-Ray.
POV-Ray is installed in /u/local/apps/povray/current/bin/povray
It is recommended that you run POV-Ray in batch in two situations:
- to render high quality images.
- to render images for an animation.
To render in batch we recommend the following POV-Ray options:
- Do not display the image.
- +FN or +FP
- Save a PNG or PPM image respectively.
- Turn on anti-aliasing.
POV-Ray can generate the frames of a movie using its animation options in cases when motion or other factors change with time. This requires only a single invocation of POV-Ray. For example, it is an ideal way to render a movie in which the camera rotates around the scene so that the scene can be viewed from all sides. To render the frames of a movie in which the geometry for each frame comes from a different time step of a simulation, you could have one POV-Ray scene file for each time step and submit the rendering to batch using UGE Job Arrays
How to Run POV-Ray from the UCLA Grid Portal
How to Run POV-Ray from the Cluster Login Node using the Queue Scripts
Create a simple script that calls /u/local/bin/povray or the /u/local/apps/povray/current/bin/povray executable. Use job.q or jobarray.q to create your UGE command file.
How to Run POV-Ray from the Cluster Login Node Using UGE Commands
See Running a Batch Job for guidelines to follow to create the required UGE command file. Alternatively, you could create an UGE command file with one of the queue scripts listed above. After saving the command file, you can modify it if necessary. See Commonly-Used UGE Commands for a list of the most commonly used UGE commands.
How to Run POV-Ray Interactively from the UCLA Grid Portal
Click the Interactive tab and then click Xterm VNC. At the shell prompt, enter:
argument-list is your POV-Ray arguments.
How to Run POV-Ray Interactively from the Cluster Login Node
To run POV-Ray interactively and display its output, you must first connect to the cluster login node with X11 forwarding enabled. Then enter:
argument-list is your POV-Ray arguments. This will automatically run POV-Ray for you on one of the interactive compute nodes of the Hoffman2 Cluster.
For example, the following command could be used for testing:
povray filename.pov +D -FN +W400 +H400
filename.pov is the name of the file that contains the description of the geometry for the scene. +D requests that the output image be displayed; -FN requests that an image not be saved. +W400 +H400 specifies the image width and height at 400 x 400.