Jump to content
Sign in to follow this  
cudarsjanis

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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

To make it more clear I would like to group faces from sphere nr 2, whose normals are facing same direction as closet point from sphere 1. :unsure:

 

04.thumb.PNG.5113f59b235816eaa8a501fdc2349a44.PNG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×