Jump to content
skyros

Clustering geometry using primitives

Recommended Posts

Hi Everyone,
I have a quick question that I was hoping someone would be able to help me with.

I'm trying to fracture a wall, and follow the brick pattern, rather than standard voronoi shapes.
Part of this process is to generate a brick wall, fracture each brick, then cluster the results in a meaningful way.
Currently cluster is being controlled using the P attribute, but I would like to cluster based in the primID, so that whole brick pieces will be contained in the cluster and not just individual points.

Does anyone have a suggestion?  My test files are attached.

Thanks

 

 

 

wall.rar

Edited by skyros
updated example file

Share this post


Link to post
Share on other sites

You can think on that like this way:

1. Make single brick

2. Do voronoi fracture of that brick

3. Make copies of previous result on the point pattern representing wall

4. Use stamp of template points attributes from copy node for variation on voronoi points parameters, cluster definition etc.

 

Share this post


Link to post
Share on other sites

cluster_fragments.png

You could pack individual fragments. You need name attribute. If you use Assemble, there is checkbox to output packed fragments. Then every piece can be treated as points.

 

cluster_fragments.hipnc

Edited by f1480187

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

×