| Flatten SOP | |
|---|---|
| The flatten SOP will project all points in a geometry detail onto a plane. There are controls for setting the plane. | |
| SOP_Flatten.C SOP_Flatten.h |
Source for the flatten SOP |
| SOP_flatten.icon | Icon for the flatten SOP |
| Star SOP | |
| The star SOP will generate polygonal stars. The number of points can be specified. As well, this SOP illustrates how to put in "interrupt" checking via the UT_Interrupt class. If the SOP takes too long to cook, the user can interrupt the cooking. | |
| SOP_Star.C SOP_Star.h |
Source for the star SOP |
| SOP_star.icon | Icon for the star SOP |
| SParticle SOP | |
| This is just a simple particle system simulation. It includes some sample collision handling. | |
| SOP_SParticle.C SOP_SParticle.h |
Source for the SParticle SOP |
| SOP_sparticle.icon | Icon for the SParticle SOP |
| Blind Data SOP | |
| This SOP demonstrates how a SOP can save its own custom information into the .hip file. It's cook method merely propogates the incoming geometry, but when the .hip file is saved, it adds a extra packet to the .hip file containing "This is my private data". | |
| SOP_BlindData.C SOP_BlindData.h |
Source for the BlindData SOP |
| Detail Attrib SOP | |
| This is a very trivial SOP to show how one can add detail attribs inside a SOP. | |
| SOP_DetailAttrib.C SOP_DetailAttrib.h |
Source for the Detail Attrib SOP |
| Brush Hair Len SOP | |
| This is a sample SOP to show how to bind a selector & write a custom state to provide the brushing of attributes. | |
| SOP_BrushHairLen.C SOP_BrushHairLen.h |
This code provides the interface to the Brush operations. It sets up the brush to certain user defined & hardcoded values, creates an attribute called "hairlen", and creates hairs in the y direction with length from that attribute. |
| MSS_BrushHairLen.C MSS_BrushHairLen.h |
This implements & registers the custom brush state which is used by the SOP_BrushHairLen. |
| MSS_BrushHairLenSelector.C MSS_BrushHairLenSelector.h |
This implements & registers the custom selector used by SOP_BrushHairLen. It also binds the selector to the SOP_BrushHairLen. |
| SOP_tkt_brushhairlen.icon | The icon for the hair length brush. |
| MSS_BrushHairLen.ui | The UI file which describes the popup menu for the hair length bursh state. |
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.