Hi, I’m trying to replicate a Houdini tutorial where I can use a ray node to create normals that follow the source geometry and also isolate the points that are facing the source geometry. I was able to calculate the direction of the normal but it seems to only apply to a few of the points that are from the ray node. How do I apply the normal direction to all of the normals?
The screenshot below is how I want my normals to look:
This is the goal im trying to reach:
While working on this project, i had a couple of crashes when interacting with the viewer and/or removing a ‘normal pop’ that came before the ray.
I think I figured out a way to do it. I am deleting all of the points that have a RayPrimIndex equal to 4294967295.
sometimes i get clusters of vector arrows that seem random
The project also crashed while i was doing this:
CrashAutoSave.lightning houdini in POPss.17.toe (8.1 KB)
TouchDesignerCrash.2023.32484_6.dmp (1.1 MB)
Hello @AlexanderNewmanHall
You could also delete points that have RayNumHits equal to zero.
The crash you’re experiencing should be resolved in an upcoming build.
The random arrows you are seeing might be related to a known bug we have with the viewer. You could use for now the PopViewer in the Palette to validate the normals.
Thanks! RayNumHits is a lot cleaner 