PRMan ships with a number of useful RiFilters. These "Rifs" can be found in $RMANTREE/etc. Brief descriptions can be found below.
RIBBound.so - print world-space bounds of rib
prman -rif RIBBound.so rib-files
RIBBound.so is a Rif plugin provided with PRMan. It tracks the world-space bounding box of a RIB stream and prints it to stdout on close. Procedural bounds are used as given in the RIB; the procedurals are not cracked open. Transformation and deformation motion blur are taken into account.
RIBBounds.so only works with prman; it will not function correctly with catrib. To find the bounds of a .rib file without having to actually render it, prman -catrib can be used to prevent actually rendering an image.
The following example displays the world-space bound of the primitives in foo.rib.
prman -rif RIBBound.so -catrib /dev/null foo.rib
prman -rif RifFaceEdgeData.so rib-files
prman -rif RifSubdivFaceIndex.so rib-files
prman -rif RifRayTraceHider.so [-rifargs [-mode fixed|adaptive] [-minsamples samples] [-variance pixelvariance] -rifend] rib-files
Pixar Animation Studios
|