PDA

View Full Version : Growing leaves along branches animating moprh



jerel
04-04-2016, 06:36 AM
Hi all,

I am animating a tree growing and the leaves growing along each branch.

I've created a tree form in the wonderful dp Verdure plugin http://dpont.pagesperso-orange.fr/plugins/Verdure/DP_Verdure.html

using the dp growth to animate the branches is a breeze. Adding foliage to populate leaves on the branches is also very simple with the foliage plugin.

I have come to the end of my skills and math knowledge trying to achieve the real result i want and i will explain the couple of methods that i have tried but need to tweak and would appreciate any suggestions and help.

Using Relativty with an effector null linked to the morph i can achieve a sort of hiding of the shrunk leaves within the sphere of the effector then moving it away. A problem is that as the morph of the shrunk leaves needs to be 100% which is not the base this method is bodgy. If i could reverse the morph and just expand the range of the effector by scaling i could have an nice radial/spherical reveal/growth of the leaves as the branches expand.

The other method i tried was using the node editor in the displacement panel. Using a null to drive a simple node set up to grown the leaves. If I could either use a weight map to control the growth ( say the branch fineness map that is generated by dp verdure) or gradient mapped along the Y to control the vertical growth of of the leaves so they start down the bottom and grow larger bottom then to top. Obviously a spherical gradient would also be ideal too. This is a screen shot of my nodal displacemnt setup 133260

If I can't get help my solution would be to break up the leaves into branch groups by hand and run nulls along each brach to "grow" the leaves along each branch. But this is a very labour intensive option that means a lot of extra work if the client wants to change the leaf distributioin or shape for example during a late stage of production.

thanks in advance.

jerel

lertola2
04-04-2016, 07:38 AM
This might help. The attached scene has a node setup that uses the y distance of 2 control nodes to control the radial influence of a morph.

http://forums.newtek.com/attachment.php?attachmentid=133262&d=1459776579
http://forums.newtek.com/attachment.php?attachmentid=133261&d=1459776559

133262
133261
133263

prometheus
04-04-2016, 01:22 PM
This might help. The attached scene has a node setup that uses the y distance of 2 control nodes to control the radial influence of a morph.

http://forums.newtek.com/attachment.php?attachmentid=133262&d=1459776579
http://forums.newtek.com/attachment.php?attachmentid=133261&d=1459776559

133262
133261
133263


Thatīs nice..thanks for the content and the clean nice presentation with gif and proper info text.:thumbsup:

jerel
04-06-2016, 05:49 AM
Thanks lertola2 this is very cool setup.

I've tried using this setup it seems to work though not as required. I need the branch state as bare to start with and this setup shows the existing leaves at their normal size not shrunk (100% morph) then when the nulls pass through the leaves grow VERY LARGE which would work if i can have the default morph set to 100% then as the nulls move through they in fact negative value/subtract a value.

leaf open (leaf in it's final state on the tree) = morph value 0%
leaf shrunk = morph value 100%

I've tried multiplying and a few things with the node setup but i'm guessing and still stumped. BUT almost there :)

jerel
04-06-2016, 06:45 AM
Actually i've worked it out it was my fault. I some how corrupted my morph map. It all it works now thanks again lertola2!!

daforum
04-06-2016, 09:00 AM
Can we seehow you did it in the end?

lertola2
04-06-2016, 01:39 PM
Actually i've worked it out it was my fault. I some how corrupted my morph map. It all it works now thanks again lertola2!!

Your welcome. Glad it helped.

daforum
04-07-2016, 06:28 AM
Can we seehow you did it in the end?

jerel?

jerel
04-07-2016, 06:11 PM
jerel?

A work in progress. I'm happy with it. Thanks again for the help lertola2


https://youtu.be/Z3pXkhNQfVs

lertola2
04-07-2016, 07:49 PM
That is cool.

daforum
04-09-2016, 03:02 AM
That is cool.

+1 :thumbsup: