Scatter SOP with a normal from the input surface

   3882   2   1
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
Hi.

I'm trying to scatter points across my geometry. I'm using the scatter SOP to generate the points and then I'm using a copy SOP to stamp in another piece of geometry onto the points.

Each one of the points that I've spawned has a position, but I wanted to also save a normal direction from the surface where the point was spawned.

I'm trying to have the objects that I stamp align with the surface underneath.

Any help would be appreciated

-Gisli
User Avatar
Member
4531 posts
Joined: Feb. 2012
Offline
Put a Facet SOP before Copy and turn on Post Compute Normals on the point cloud.
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 | pragmaticvfx.gumroad.com
User Avatar
Staff
4177 posts
Joined: Sept. 2007
Offline
There's also the new Normals SOP you can use to add vertex/point/primitive normals.

Attachments:
screenshot-area-2015-12-19-085102.png (235.1 KB)

I'm o.d.d.
  • Quick Links