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, the -catrib prman option can be used to prevent actually rendering an image.


prman -rif RIBBound.so -catrib /dev/null foo.rib

Displays the world-space bound of the primitives in foo.rib.

Pixar Animation Studios
(510) 752-3000 (voice)   (510) 752-3151 (fax)
Copyright © 1996- Pixar. All rights reserved.
RenderMan® is a registered trademark of Pixar.