PhotoRealistic RenderMan® Extension
The PRMan render package should be used when utilizing PhotoRealistic RenderMan renderers. The PRMan render package provides RIB generation for gops and gprims supported by PRMan renderers including automatic declaration of shader parameters. In addition, this render package facilitates generation of shadow maps. That feature is described separately in the Shadows section of this documentation.
render
command is used. In both cases, the PRMan extension must be
loaded.
render command
is issued, use set-render-package! (probably in your user initialization file).
(set-render-package! "default" "prman")
render command
is issued via the "package" parameter.
(render 'package "prman" other options)
render
command which are summarized in
the Renderman Packages subsection
of AL Language Reference section on rendering.
casts-shadows to
control shadow map generation for individual objects. This feature
is documented in the Shadows section.
render command.)
| style | command |
|---|---|
| "vector" | "render -vector ~s" |
| "shaded" | "render ~s" |
ri-declare call in the fragment below is
unnecessary.
(world ... (ri-declare "basecolor" "uniform color") <- not necessary! (surface "spatter" 'basecolor '#<1 0 0>) ... )
When a typical image is rendered, the world model is evalued multiple
times to create different RIB files for the scene, shadow maps, and
motion blur. The function prman:rib-output-mode
takes no arguments and returns a symbol, one of 'frame, 'shadow, or
'motion, which indicates the reason for the current evaluation of the
world model.
Last updated: 1/28/97 / Steve May ( smay@cgrg.ohio-state.edu ) Any comments or suggestions appreciated.