## Name

rt — Executes the BRL-CAD rt program with the default options of "-s50 M."

## Synopsis

`rt` [`options`] [`--objects`]

## DESCRIPTION

Executes the BRL-CAD rt program with the default options of "-s50 M." If perspective is turned on, then the -p option will be included with the value of the perspective angle. The current database name is added to the end of the rt command line along with either the specified objects or, if none is specified, the list of currently displayed objects. The rt program is written such that options may be repeated, and the last occurrence of an option will override any earlier occurrences. This allows the user to specify other size (-s) options. The rrt command performs a similar function, but may be used to execute other programs as well. The -M option tells rt to read the viewing parameters from standard input. See the man page on rt for details. A related command is saveview, which can be used to create a shell script (batch job) to raytrace this view in the background.

## EXAMPLES

The first example shows the use of the rt command to run the rt program to produce a color-shaded image of the current view. The second example shows the use of the rt command to produce a color-shaded image of an object using MGED's current viewing parameters.

Example 1. Run the rt program to produce a color-shaded image of the current view in MGED.

`mged>``rt -s1024 -F/dev/Xl`

Runs the rt program to produce a color-shaded image of the current view in the MGED display. The image will be 1024 pixels square and will be displayed on a lingering X framebuffer.

Example 2. Run the rt program to produce a color-shaded image of an object using MGED's current viewing parameters.

`mged>``rt -C 200/200/255 -- roof`

Runs the rt program to produce a color-shaded image of the object roof using MGED's current viewing parameters. The image will have a sky-blue background and will be displayed on the framebuffer specified by the FB_FILE shell variable.

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.