Main navigation

How to Run POV-Ray

Input

You can use any text editor to make the appropriate input files for POV-Ray.

How to Run POV-Ray in Batch

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:

-D
Do not display the image.
+FN or +FP
Save a PNG or PPM image respectively.
+A
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

See How to Run an Application from the UCLA Grid Portal

How to Run POV-Ray from the Cluster Login Node using the Queue Scripts

The easiest way to run POV-Ray in batch from the login node is to use the queue scripts. See Running a Batch Job for a discussion of the queue scripts and how they are used.

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

How to Run POV-Ray Interactively from the UCLA Grid Portal

See How to Run an Application from the UCLA Grid Portal

Click the Interactive tab and then click Xterm VNC. At the shell prompt, enter:

/u/local/apps/povray/current/bin/povray argument-list

where 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:

povray argument-list

where 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

Here 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.

Report Typos and Errors
UCLA OIT

© 2016 UC REGENTS TERMS OF USE & PRIVACY POLICY