Jump to content
Sign in to follow this  
raincole

What exactly decides if two primitives are connected?

Recommended Posts

Posted (edited)

623d923fefd04_Screenshot2022-03-25175806.thumb.png.beb341b60ef76aa3f24178ca08d59a15.png

This cube has only 14 points. The top half and the bottom half share the same middle points. However, Connectivity SOP still considers it has two pieces in primitive mode.

1. Why? What decides whether two primitives are connected or not? Intuitively, if two prims share any point, they are connected... but Houdini doesn't think so.

2. How to make it a connected piece?

 

Please take a look at the attachment.

 

 

connectivity.hiplc

Edited by raincole

Share this post


Link to post
Share on other sites

After boolean in the middle edge you have double points. There is two separate pieces

Share this post


Link to post
Share on other sites
Posted (edited)
41 minutes ago, tamagochy said:

After boolean in the middle edge you have double points. There is two separate pieces

The double points are removed by Clean SOP already and there is no double point anymore. That's exactly why I asked this question.

Edited by raincole

Share this post


Link to post
Share on other sites

Better give a scene. Will be easy to understand.

Share this post


Link to post
Share on other sites

The connectivity SOP use the name attribute created by the booleanfracture.
Delete this attribute and you can see than the connectivity will no longer consider the cube as two separated pieces.

Share this post


Link to post
Share on other sites
Posted (edited)

It seems, that two prims are connected, if they share a same point (this is less restrictive than sharing an edge). If you want the edge only case you can use the divide sop (dual graph).

In your case, clean sop is fusing the points, which makes the geometry connected, if you turn it of (clean sop) you will get two classes and you see, that there are duplicated points (show point numbers).

explodeview is just using the name attribute and breaks the points again.

connectivity_prims.hipnc

Edited by Aizatulin

Share this post


Link to post
Share on other sites
12 hours ago, Aizatulin said:

It seems, that two prims are connected, if they share a same point (this is less restrictive than sharing an edge). If you want the edge only case you can use the divide sop (dual graph).

In your case, clean sop is fusing the points, which makes the geometry connected, if you turn it of (clean sop) you will get two classes and you see, that there are duplicated points (show point numbers).

explodeview is just using the name attribute and breaks the points again.

connectivity_prims.hipnc

Thank you very much. I thought explodeview checked the connectivity, but it actually, as you said, checks name attribute.

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  

×