Jump to content

Book Generator - help with books leaning onto each other


trx

Recommended Posts

Hi, 

I am trying to build a book generator where I can have multiple books leaning at an angle onto each other, the problem is I am not able to figure out a way to have the books touching, without using RBD or any simulation. 

I have tried projecting a point at the top corner while also having the pivot there, then trying to project via a ray and have it on the previous book iteration but I can't get it working.

I am a beginer at Houdini so I don't know VEX and am struggling with it since I tried looking at an attribute wrangler as well.

Does anybody have an idea on how I could have each book touching the previous one perpedincularii based on the top pivot?

Many thanks

image.png.21f5f22801adad5243ff70778f090709.pngimage.thumb.png.b8471a0d0932aff9ad9fda23b2730d69.png

BooksGenerator.hip

Link to comment
Share on other sites

  • 3 weeks later...

If you're still looking for a solution, I can post something;

Click the Like reaction on this message

It's actually quite simple, but you have to be proficient in For loop with feedback SOP

None of the distribute / align tools that ship with Houdini compute the collisions on the full geometry, AFAIK,  you have to do it yourself with rays; there are a few different cases to test though, depending on how complex you want you book stack.

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