Geometry Intersections 1
Published: Thursday, September 9, 2010

Video
[68MB QT - Duration 00:10:33]


Many times in VFX work the need arises to quickly calculate the intersection of two or more objects and then do stuff with the resultant intersecting regions. I was asked this question from one of the many clever Houdini users where a simple example was worked up. The idea is to take any objects loaded from disk (cached from an RBD simulation or whatever) and then generate dust from the areas where the objects would get close or interpenetrate.

Let's step back a bit and set some reasonable initial criteria and work up a simple SOP node network. When calculating the intersection between two objects, the objects should be somewhat manifold meaning a closed shape that can be used to build a proper volume. With that single restriction (really not a restriction as you can generate volumes from anything: points, curves/lines, flat planes, etc), you can use a few SOPs including some new to Houdini 11 and a clever technique to isolate intersecting regions between any number of objects.

Three examples will be worked up from a simple two object intersection, multiple object intersection and finally calculating intersections from an RBD simulation. First on the list is to look at a simple method to detect overlapping regions of multiple objects.

Have fun!


HIP Sample Files
intersect_volumes_part1.001.hip




User Comments
by alejandro 2010-09-09 17:12:09
Thank you Jeff!!!! 
by Pagefan 2010-09-09 17:46:52
Jeff is back! Great!
by Cylibral 2010-09-09 20:35:42
thanks once again Jeff.... welcome back
by luoqiulin 2010-09-09 21:12:50
Jeff is back!Jeff is back!
by hsolomon 2010-09-12 05:12:46
Hi Jeff, 
 
Please could you illustrate with an example of how to really use "attributeComposite" SOP. 
There are no example files in Houdini manual or any explanation in the web. You are the last one to go :) Help me. thx. 
 
Han.
by splitpoint 2010-09-13 14:05:56
Really nice! I can't wait for part 2. Thanks for doing this Jeff.
by jeff 2010-09-14 16:38:34
Attribute Composite? Sure. Added to the list. I have a few example files I can run through.
by jumangic 2010-09-19 14:12:58
HI there Jeff , well you got me back into things again , really nice examples there. 
 
Jumangic , at POCOYO FILMS 
 
cheers looking foward for more
by reidh 2010-12-08 16:11:08
Can I load the sample .hip files into the apprentice?

Please login or register to add comments.