Icon

The last thing that needs to be done for custom operators is to make an icon for the graphical user interface. The format of the icon file can be any of the Houdini supported image formats, SVG files, or legacy IRIX .icon/.bicon files.

In the past (and in the HDK samples), .icon files are used but we recommend that you use SVG files for new operators. SVG (and .icon) files are resolution independent and so they work best for operators displayed in the network view pane. There are several tools available on all platforms for creating SVG files such as Inkscape.

The icon filename corresponds to the table and name of the new operator. Then, by default, Houdini will use that icon for the operator. For example, if we have a new object operator named hdk_lamp, then the corresponding icon will be OBJ_hdk_lamp.svg. If you are unsure about the name, missing operator icons will have their name printed out to the shell when Houdini starts up.

When the icon is complete (to your satisfaction), it should be installed somewhere in the HOUDINI_UI_ICON_PATH search path. This is typically at

but on Mac it can be

where X.Y is the Houdini major and minor version numbers respectively.

See also:
Support Files

Generated on Mon Jan 28 00:27:58 2013 for HDK by  doxygen 1.5.9