Module: sage.interfaces.tachyon
The Tachyon Ray Tracer
Author: John E. Stone (johns@megapixel.com)
Class: TachyonRT
- class TachyonRT
-
The Tachyon Ray Tracer
tachyon_rt(model, outfile='sage.png', verbose=1, block=True, extra_opts='')
Input:
- model
- - a string that describes a 3d model in the
Tachyon modeling format. Type
tachyon_rt.help() for a description of
this format.
- outfile
- - (default: 'sage.png')
output filename; the extension of
the filename determines the type.
Supported types include:
- tga
- - 24-bit (uncompressed)
- bmp
- - 24-bit Windows BMP (uncompressed)
- ppm
- - 24-bit PPM (uncompressed)
- rgb
- - 24-bit SGI RGB (uncompressed)
- png
- - 24-bit PNG (compressed, lossless)
- verbose
- - integer; (default: 1)
- 0
- - silent
- 1
- - some output
- 2
- - very verbose output
- block
- - bool (default: True); if False, run the rendering
command in the background.
- extra_opts
- - passed directly to tachyon command line.
Use tachyon_rt.usage() to see some of the possibilities.
Output:
- - Some text may be displayed onscreen.
- - The file outfile is created.
Author: John E. Stone (johns@megapixel.com)
Functions: help,
usage
Special Functions: __call__,
__repr__
Release 2008.07.11, documentation updated on July 11, 2008.
See About this document... for information on suggesting changes.