This is a very important vex function to check intersections between primitives int intersect(geometry, orig, dir, &p, &uvw) You provide geometry, origin position and direction of vector checking the intersection and the function will return the intersection position in &p and uv of that prim in &uvw. It will also return 0 if an intersection […]
SOP look at constraint
Here’s a quick look at/aim constraint setup in SOP’s as you can see in the image below where the cone is pointing towards the translating sphere. You subtract position of object A from that of object B and store this result as @N and finally feed it to copy sop which is creating a single copy of the cone. […]
Compiling Houdini plugins on Windows
This is a quick introduction to compiling Houdini plugins on Windows . There a couple of prerequisites you need to suffice before you can compile your first plugin. Once you set your environment you can jump start from various plugin examples that come installed with Houdini. There are 2 ways to compile on Windows and […]
Houdini AOV Manager
If you are working with tons of aov’s in Houdini, then you know it gets irritating updating them as more the number of image planes, longer the update lag. AOV Manager makes this task super easy. Features Enable, disable and delete multiple aov’s on a rop from a list at once. Copy and paste multiple […]
Reload python modules in nuke
While developing tools for Nuke in Python, If you are importing multiple classes in main class and are trying to reload the module, you may not see the changes made to imported classes until you restart Nuke. Reload wont help either but you you can use the code below to remove the module from Nuke environment. Import statements will […]