Render Output Sample Code


This directory contains sample code for generating custom IFD render outputs. Refer to the toolkit documentation for more details.

Custom Render
This example contains code for generating output to a renderer not supported by Houdini. The renderer does not have to be a traditional renderer (i.e. and image generator). For example, anything which needs to know about the scene database can use this interface for output.
IFD_CustomRender.C
IFD_CustomRender.h
Contains an example render output. The renderer is assumed to be able to read the Houdini geometry format.
Simple RIB
This example contains code which uses the RIP stream library which comes with Pixar's RenderMan to generate a RIB stream. The example is very basic and only handles Polygons & NURBS primitives. It also only handles point color attributes. It is intended as an example of how to access data structures more than a useful piece of code.
IFD_SimpleRib.C
IFD_SimpleRib.h
Contains example RIB output. There is some simple geometry conversion as well as camera parameter conversion. Motion blur is not currently supported.

Install Script

sample_install.sh is a sample install script.

The script will compile the sample source code. By default, everything is installed in your home directory.


simple_rib_install.sh is an install script for the SimpleRib class.

The script will compile the sample source code. This script uses the -L and -l options of hcustom to specify additional libraries which the .so file must be linked. The script assumes that prman is installed in /usr/local/prman (and the installed version is compiled with -mips2)


Copyright © 1996 Side Effects Software Inc.
477 Richmond Street West, Toronto, Ontario, Canada M5V 3E7