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 […]
Houdini VEX Intersect
