Hi,
I tried to test the "intersect" function, and the problem I faced was that when I changed the y position of the source point, the intersection points deviated from the rays! The intersection points are not on the rays anymore! Maybe I have to use the "uvw", but I don't know how.
I appreciate your help.
------------------
Houdini v 19.5.359
intersect VEX function deviation
997 2 0- ali_sarlak
- Member
- 9 posts
- Joined: Nov. 2021
- Offline
- animatrix_
- Member
- 4506 posts
- Joined: Feb. 2012
- Offline
Hi,
You are using the intersect function wrong:
https://www.sidefx.com/docs/houdini/vex/functions/intersect.html [www.sidefx.com]
Instead of start and end pos, you need to provide one position and one direction, where the length of the direction specifies how far the ray can reach from the origin point.
You are using the intersect function wrong:
https://www.sidefx.com/docs/houdini/vex/functions/intersect.html [www.sidefx.com]
Instead of start and end pos, you need to provide one position and one direction, where the length of the direction specifies how far the ray can reach from the origin point.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
- ali_sarlak
- Member
- 9 posts
- Joined: Nov. 2021
- Offline
-
- Quick Links