InstallingPlugIns

From Odwiki

Jump to: navigation, search

Contents

Installing Image Format Plugins

Installing the DSO/DLL

This section assumes that you have written the code required to process a new image format (see the HDK sample source IMG/IMG_Raw).

In HFS/houdini, there's a file called FBformats. This file specifies the formats (and precidence of the formats) supported by Houdini. You can create an FBformats file earlier in the HOUDINI_PATH which might look something like

#include "$HFS/houdini/FBformats"
fb/MyImageFormat.so

If your format has an extension which matches one of the existing formats, it will be given a lower priority than the format which was declared previously. For example, in the default FBformats file, you should see

internal houdini
internal prisms
...
fb/IMG_SoftImage.so

All three of these formats use the .pic extension. When a user creates a .pic file, the first format declared will be the one used (i.e. the houdini format)

Alternatively, you can change the order

fb/IMG_SoftImage.so
internal houdini
internal prisms

And now, when a user creates a .pic file, it will be created as a Soft Image .pic file.

If everything has worked properly, you should be able to run

iconvert -

and see your format listed.

Getting the file browser to recognize your format

When the file browser is used to select an image format, it automatically filters out files that it doesn't think are images. It does this using the HFS/houdini/FBfiles file. This file contains a list of all the file extensions of supported image types.

You can install an FBfiles file earlier in the HOUDINI_PATH and set it up the same way that the DSO/DLL was set up.

Installing a VEX plug-in

TODO

See also VEXDSOs

Installing a VRAY procedural

TODO

Installing a custom SOP/COP/POP etc.

TODO

Installing a custom hscript expression function

TODO

Installing a custom hscript command

TODO

© 2009 od[force].net | advertise