In the meantime of Happy Feet production I wrote my first DSO for Mantra, It’s my first tool written in HDK. The idea is very simple: Load geometry at render time and modify it by CVEX code. This version is a raw version, probably it has a lot of bugs, but I will try to make it better!
How to install ?
otl file goes to ${HOME}/houdiniX.X/otls/
so file goes to ${HOME}/houdiniX.X/dso/mantra/
VRAYprocedural goes to ${HOME}/houdiniX.X
That’s all!
What does it add to Houdini?
First thing is procedural shader called: Delayed Load CVEX. It’s available in the SHOP context.
Second thing is Delayed Load CVEX Global VOP node. It gives you an access to predefined global variables.
Special Global Variables:
We have two special variables: geometry and proceduralid. Geometry variable gives a string, which is a path to geometry leaded by delayed load. It’s a shortcut, we don’t have to create parameter node with expression between delayed load and CVEX shader. Proceduralid variable gives you an access to Procedural ID parameter on delayed load shader. But what is it for ? It can be useful when you would like to modify the same geometry with the same CVEX shader but with a different seed.
Google Code
Have a good fun!
Cheers,
Piotr