Jump to content

Intersection detection and realignment? Help


crispr_boi

Recommended Posts

Hi, I am not sure how to explain this well, so apologies in advance.

I have this basic cactus generator, there are clusters of thorns, at their base the thorns intersect with each other, which I currently don't mind, because I will solve or hide that later..

However I don't want the tips of the thorns to intersect with the tips of thorns from other clusters, as this is easily observed.

Is there a way to place each thorn or cluster of thorns after the other and check if there are any intersections, after a new cluster has been placed and if yes rotate and maybe scale the intersecting thorn(s) until there are no more intersection?

Like that cycle through all the clusters?

I know my scene might not be set up well to do that..

 

Would that be expensive to calculate and/or difficult to implement?

I attached the hip file, and an illustration to clarify what I mean:

base_cactus.hiplc

 

thorns_intersection.thumb.jpg.24be43420f750a3173e1bd441e4dc5a2.jpg

Edited by crispr_boi
Mispelling
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...