There are many switches, and a default value is provided for each
one.
To render an image into a TIF file, one can use the
following:
rib [viewmtx.a1] file1.a1 file2.a1 file3 >! file.rib
/home/alpha1/permpub/BMRT*/bin/rendrib file.rib &
Any options set by the user before invoking this command are
automatically passed as defaults to the program.
The rendrib program can be quite slow for images of
complex models.
This section describes the meaning and use of the various switches for
the RIB program.
The only form for the output of RIB is the run-length-encoded
(RLE) file. This is a device independent format that can be used with
various displays, as well as with an assortment of other programs for
manipulating RLE files, as part of the Utah Raster Toolkit. The Utah
Raster Toolkit is distributed with Alpha_1 and documentation is
included in a separate section of the (hardcopy) manuals. The image
can be checked while it is being computed without any harm to the
on-going RIB process. While redirecting the output of
RIB to a file is required, the use of pipes for RIB
output is not generally recommended. It is better to create the RLE
file and use that as the basis for further display or
computation.
The following set of flags control other output options of RIB.
- RIB.pixwidth
- (512) Set the X resolution for the resulting image.
- RIB.pixheight
- (512) Set the Y resolution for the resulting image.
- RIB.tif_outputname
- default.tif Specifies the name of the file for the rendered
output. If you forget to specify a file, the output will end up going
to default.tif.
Try this--it follows the style of ray and render list of files and
command line args.
cd $w/../dnelson/src/app/pgm/rib/a1files/
rib -tif_outputfilename /tmp/chess.tif chess_view.a1 chess.a1 >! /tmp/chess.rib
/home/alpha1/permpub/BMRT*/bin/rendrib /tmp/chess.rib
xv /tmp/chess.tif
Alpha_1 User's Manual Home Page
Alpha_1 User's Manual. Version 99.01.
Copyright © 1999, University of Utah
a1-web@gr.cs.utah.edu