Jump to content

Fill with boxes


revelationsr

Recommended Posts

Hi there.
 
I am rather new to Houdini. I have this little project I would love to crack so any help would be awesome.
 
I have the shape. Lets say a character. I want to fill this shape with boxes. Now I could take a group and compare a grid to the shape and then use the copy sop. But what that will end up doing to have boxes stick though the skin of the shape. Ideally the corners of the boxes should not stick through the geometry of the shape. That is the first problem.

The second is that I want to have different sizes of boxes. If one could imaging lego blocks. There are a verianty of shapes. Ideally I would like to have the bigger blocks in the core of the character and then fill in the areas closer to the skin with smaller block. Also if there are longer blocks, then have them fill in appropriately as well. I am sure this will no doubt involve a grid and some very clever groups comboed with a copy sop. It is like I know what to do to start the effect and end it. Just the complicated middle part is really bumming me out.
 
And here is problem three. I would like to assign a shader to the boxes based on the colour of the texture of the character closest to the box. So if the stomic of the character is red. Then this shader will be added to the boxed close to the stomic. There as the head is green then I want to add that shader to the boxes closest to them.
 

Cheers :)

 

 

 

 

Link to comment
Share on other sites

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...