Jump to content

Carve along L-system in progressive order


Recommended Posts

Hi all,

I'd like to animate the progression of an L-system like curve, similar to how sliding the generation parameter works.

 

I thought the carve SOP would be the best approach but each primitive's U value starts at 0, causing all the curves to draw from the start.

Is it possible to modify the U value of a curve, so that each prim can start at the same value of the shared vertex (where it branches), or can I carve by an attribute?

 

One idea is to duplicate the point where the branch splits on any secondary branch, enough times so that it offsets the order of vertices to be in time with the main branch - I will try to implement this in the meantime

Attached is an example file to help explain

 

lsystem_carve.hipnc

Edited by Luijee
hip file
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...