Sample Generator | |
---|---|
This simple generator produces noise. The code itself is heavily commented, showing how to create planes and generate the image data. | |
COP2_SampleGenerator.C COP2_SampleGenerator.h |
Source for the sample generator COP |
Sample Filter |
|
This simple filter does a multiply
and an add. Normally, this sort of operation would be done as a pixel
operation (see Pixel Add), but this is a good example of how to do a
general filter. |
|
COP2_SampleFilter.C COP2_SampleFilter.h |
Source for the sample generator COP |
Pixel Add |
|
This simple pixel operation
demonstrates how to create a Collapsable Pixel Operation. It adds a
color to the incoming pixel. |
|
COP2_PixelAdd.C COP2_PixelAdd.h |
Source for the Pixel Add COP |
Full
Image Filter |
|
This operator is an
example of how to create filters that cannot be tiled. The entire image
is processed at once. |
|
COP2_FullImageFilter.C COP2_FullImageFilter.h |
Source for the Full Image
Filter COP |
The script will first compile the sample source code, then install the icons so that Houdini will find them. By default, everything is installed in your home directory.