Houdini Development Toolkit - Version 9.0

Side Effects Software Inc. 2007

Compositing Operators

Generators


The COP2_Generator subclass provides a parameter framework for setting up a sequence and the code for masking with its parameters. The main function to override is:
virtual OP_ERROR generateTile(COP2_Context &context, TIL_TileList *tiles);
This is where your image processing will occur (cookMyTile is overriden to do all the image compositing and masking operations available to all generator COPs). Unlike other COPs, you will rarely need to call inputRegion() or inputTile() in a generator.

Some other useful methods:
Override this if your generator only occupies a certain area of the frame area (or more area that the frame area). You won't need to override the computeImageBounds() method, and it can deal with the mask input (if any) as well.

See an example of a generator COP in the COP HDK Samples (COP2_SampleGenerator.C).

Table of Contents
Operators | Surface Operations | Particle Operations | Composite Operators | Channel Operators
Material & Texture | Objects | Command and Expression | Render Output |
Mantra Shaders | Utility Classes | Geometry Library | Image Library | Clip Library
Customizing UI | Questions & Answers

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