Attribute Transfer SOP question

   1096   2   1
User Avatar
Member
11 posts
Joined: Aug. 2017
Offline
I am trying to place objects (like a spike) on the center of each polygon of a mesh, pointing perpendicularly outwards from the polygon.
I use Copy To Points and want to provide the appropriate N at each point.

Based on what I have seen elsewhere, my approach was to

A. Facet the incoming geometry, generating an individual prim per polygon.
B. Then generate prim normals and
C. shrink each prim's points towards its barymetric center with a Primitive SOP (Transform, scale 0)
D. then a Fuse SOP to eliminate the duplicate points

Finally, I thought I could transfer the Prim normals (from B or C) to Point (from D) normals with an Attribute Transfer SOP
but it doesn't work… no normals appear on my points (per Geometry spreadsheet and scene view)

Should it or am I making the wrong assumptions about how Attribute Transfer works ?



Image Not Found
Edited by geometryNerd - Dec. 2, 2018 23:46:25

Attachments:
Screen Shot 2018-12-02 at 8.32.19 PM.png (118.8 KB)
Attr Transfer Question.hiplc (80.8 KB)

User Avatar
Member
236 posts
Joined: March 2015
Offline
Hi, not sure if this is what you're looking for but you could use an Attribute Promote before the fuse. See attached.
Edited by robsdesign - Dec. 3, 2018 05:32:50

Attachments:
Attr_Promote.jpg (50.5 KB)
Attr_Transfer_Question_Fix.hiplc (85.5 KB)

User Avatar
Member
11 posts
Joined: Aug. 2017
Offline
Thank you Rob, appreciate your time - that does it !
  • Quick Links