Hi all,
I have a use case where I need to add dead branches on a parent branch only where no other live branches have been spawned. Is there a way to do this?
In other words, both live and dead branches should not spawn at the same place.
Thanks!
Tim
Hi @timothyroysimon,
I’d say in your case you would be best off using the Pruning curve.
The Pruning curve can be used to a certain generator from spawning along it’s parent at certain places. So you’ll want to create a curve for your dead branches and then apply the reverse of that curve to the live branches. Here’s an example:
You can see that my First boundary is 0.2 (green arrow), but with the pruning curve (pink arrow), I’ve cut off the branches from spawning below about 0.5. You can also toggle between Relative and Absolute for your curve setting (Relative will calculate the curve based on relative position (between “First” and “Last”) and Absolute will calculate based on the absolute position of a node i.e. between 0 and 1.)
Then you can copy and paste the curve to your dead branches, right click in the curve window and click “flip horizontal” to get the mirror image:
Note, you might need change up your First and Last boundaries if you don’t see your branches spawning low or high enough.
I hope this helps!
Hi and thank you for your response! It’s a coincidence that this is the exact solution I have on my tree right now and was hoping for something more dynamic.
Is there a way to add a random noise to the curve so I can copy it and flip it? Thanks again!
There isn’t currently a way to add random noise to a curve, but that’s an interesting idea! I’ll log it as feedback.
Nothing comes to top of mind that’s more “dynamic” and elegant solution. You could play around with projectors or Gen->Clip, but I don’t think either will be particularly what you’re looking for. If I think of something, I’ll let you know!