Jump to content

Edit L-system in digital asset


Robert

Recommended Posts

Hi odforce,

 

I was wondering if it is possible to create a digital asset that allows you to edit the points of an l-system that is inside.

It doenst seem viable to create a transform node and handle for every point since that could get messy when there are a lot of points.

 

The other method I tried was to create a curve that influences the l-system points and create a curvepoint handle for that. The problem with this approach is that the curvepoint handle doesnt work when you use expressions or snapping points when creating the curve to make it properly align with the l-system. 

 

So in short: How can I set up a digital asset in which I can edit the position of an arbitrary amount of points that were created by an l-system?

Edited by Robert
Link to comment
Share on other sites

I have the same question.

When faced with a similar problem I actually used transform nodes and painstakingly exported the handles to the DA, because I wanted to show the user the intuitive options of what can be changed in the scene and how.

I could imagine using the edit node and stamping red boxes to every editable-point, but even so things would probably get incredibly cluttered.

Edited by DASD
Link to comment
Share on other sites

I would rather have this indirect way because after a few generations an l-system can become quite complicated. In that case I would prefer to have a simple 4 point curve to control a branch that could have hundreds of points. An edit sop after the DA would only be able to change the output while I would like to be able to edit the underlying structure. For example to change the basic shape of a branch before any other operation like sweep or polywire that turns it into actual geometry.

Link to comment
Share on other sites

So if I understand correctly you want to have control over each iteration? Because each adjustment will have it's effect on the subbranches. Then you should split your system into each one of those steps. A bit like the approach that has been taken for Xfrog

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