All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TS_cosKernel.C File Reference

Sample metaball kernel function. More...

#include <UT/UT_DSOVersion.h>
#include <TS/TS_Expression.h>
#include <TS/TS_KernelList.h>
+ Include dependency graph for TS_cosKernel.C:

Go to the source code of this file.


void newMetaKernel ()
 Registration function which installs the kernel. More...

Detailed Description

Sample metaball kernel function.

This file demonstrates how to add a custom metaball kernel function that will show up in all the Kernel Function parameter menus.

Once this file is compiled, register this dso into a MetaKernels text file that is found in your HOUDINI_PATH environment variable. For example:

  • $HOME/Library/Preferences/houdini/X.Y/MetaKernels (OSX)
  • $HOME/houdiniX.Y/MetaKernels (other platforms)

The MetaKernels file should contain a list of .so/.dll paths that are located relative to the search paths in the HOUDINI_DSO_PATH environment variable. For example:

# MetaKernels : Kernel extension table

In this case, you should install the TS_MyKernel.so file into the dso subdirectory under where MetaKernels is found.

Definition in file TS_cosKernel.C.

Function Documentation

void newMetaKernel ( )

Registration function which installs the kernel.

Definition at line 117 of file TS_cosKernel.C.