Jump to content

Group primitives by normal direction [SOLVED]


Recommended Posts

Hi,

This is probably easy, but I can`t wrap my head around it today.

How could I get primitive group where primitives from extruded mesh are grouped by color and N direction from another geo.

I could just do attribute transfer and group by color, but then I get edges of extruded geo as well sometimes. I need just the faces with N direction same as not fractured geo.

I need just the outer shell of extruded geo. But I want to control the group with color from one sided surface.

Will try again tomorrow, but maybe someone knows quick way of doing that?

 

Cheers

Janis

02.thumb.PNG.87e66b9bda8d6368e4c1a8d551dd1ff8.PNG01.thumb.PNG.4e85eea7b3a1dfe9a6e78baa2e58759c.PNG

group_faces.hip

Link to comment
Share on other sites

9 hours ago, vicvvsh said:

Hi,

there are output groups in a poly extrude sop, you can use "extrudeFront" primitive group in your case.

group_faces_01.hipnc

Spasibo Viktor,

That would be easy then yes, but this is just an example scene. I have alembic geo imported, with no groups predefined. So that is why I thought maybe best way to goup outer shell is by matching normals.

Link to comment
Share on other sites

16 hours ago, cudarsjanis said:

I could just do attribute transfer and group by color, but then I get edges of extruded geo as well sometimes.

Is that what you want?

In the Attribute Promote set the promotion methode to minimum.
In attributeTransfert decrease distance threshold a little bit

 

group_faces F.hip

Capture.JPG

Link to comment
Share on other sites

34 minutes ago, flcc said:

Is that what you want?

In the Attribute Promote set the promotion methode to minimum.
In attributeTransfert decrease distance threshold a little bit

 

group_faces F.hip

Capture.JPG

Thanks for the reply,

Not really, the whole idea with grouping using normals would be to get only shell be in the group. normals for those small primitives by the edges are not aligning with normals from the mesh that I`m using to transfer color.

03.PNG

Link to comment
Share on other sites

  • cudarsjanis changed the title to Group primitives by normal direction [SOLVED]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...