archaeotect Posted September 30, 2013 Report Share Posted September 30, 2013 I am trying to imitate how branches radiate from a tree trunk in more or less random directions, but as you get to the level of twigs they will (at least in many species) fan out horizontally. The transition from vertical growth (to reach height) to a horizontal spreading (to maximize leaf surface area) can be quite subtle. So far I've used circular distribution for the primary branches and angular distribution for the lesser branches and twigs and apply the Vector direction modifier with a global vector. But the lesser branches angular spread is influenced by the parent branch´s axis (which may have rotated). Do I need to pick another vector, another node or use the vector orientation modifier or other path distributor options to ensure that twigs spread horizontally from the parent path, no matter what the parent axis may be? I guess I'm stlll a little confused about the vector direction modifier (and it's orientation for leaves checkbox) and the vector orientation modifer. Any help or examples would be appreciated! Quote Link to comment Share on other sites More sharing options...
ptrain03 Posted September 30, 2013 Report Share Posted September 30, 2013 in order for the child branches to have a perfectly horizontal spread you have to: 1. add a vector direction modifier to the parent and child with 100% in y 2.under the "starting path" section of the distributor tab set the "turn axis" to 180 3. under the "start vector" section of the distributor tab set the "angle axis" to 90 and right below that set the "chaos angle" to 0 (its at 25 by default) Quote Link to comment Share on other sites More sharing options...
archaeotect Posted September 30, 2013 Author Report Share Posted September 30, 2013 Thank you very much. That's exactly what I meant. I also learned why I couldn't get the same results so far: The parent and child paths had random direction modifiers, which seem to affect the angle axis. I replaced them with Noise direction modifiers to get the same kind of irregularity, and everything looks as it's supposed to. Quote Link to comment Share on other sites More sharing options...
Eduard Posted September 30, 2013 Report Share Posted September 30, 2013 I think that you want to get something like this: You can see how I solved this problem: HorizontalBranches_1.max Cheers 1 Quote Link to comment Share on other sites More sharing options...
ptrain03 Posted September 30, 2013 Report Share Posted September 30, 2013 good solution, I didn't think of that . thanks Eduard Quote Link to comment Share on other sites More sharing options...
Eduard Posted September 30, 2013 Report Share Posted September 30, 2013 good solution, I didn't think of that . thanks Eduard Of course, earlier we wanted to add some feature for solving such a problem, but so far no idea how to implement it... Thanks! Quote Link to comment Share on other sites More sharing options...
archaeotect Posted October 1, 2013 Author Report Share Posted October 1, 2013 Thank you for your example. I would've never thought of using the Hard bend modifier. I noticed that your tree-building method is completely different to mine. I've always tried to let all paths (including trunk and primary branches) grow to their finest tips and have all lesser paths branch out of their sides with path distributors. While you've attached smaller and smaller branches to the tips of their parents with path position distributors at 100%. Very interesting. Quote Link to comment Share on other sites More sharing options...
suitlm Posted October 1, 2013 Report Share Posted October 1, 2013 If i add some random direction modifiers ,The rule of direction will be disrupted.,Hope this can be solved Eduard's method is not conducive to add wind parameter Quote Link to comment Share on other sites More sharing options...
archaeotect Posted October 1, 2013 Author Report Share Posted October 1, 2013 As I've noted above, you could use the Noise modifier instead of the random direction modifier to add irregularity. Quote Link to comment Share on other sites More sharing options...
Eduard Posted October 1, 2013 Report Share Posted October 1, 2013 Thank you for your example. I would've never thought of using the Hard bend modifier. Later I noticed that in this model the Hard bend modifier is not needed. There, can be used the Vector direction modifier and slightly adjust the distributor settings. Eduard's method is not conducive to add wind parameter Why? I easily added the wind animation via the After Mesh Modifiers. Note that for the HBranches_2 I also add an Affect from the Parameter Level, to increase the wind influence on a thinner twigs. See me example: HorizontalBranches_1_Wind.max As I've noted above, you could use the Noise modifier instead of the random direction modifier to add irregularity. Yes, the Random direction modifier should be used carefully, and better use the noise modifier... Cheers Quote Link to comment Share on other sites More sharing options...
ptrain03 Posted October 1, 2013 Report Share Posted October 1, 2013 you could also use deviation to add noise. You just create a dummy path and distribute it onto the path are trying to add irregularity to. Then deviate the path using the dummy (no geometry). I usually just use noise though, and avoid random on larger plants where form is important. Quote Link to comment Share on other sites More sharing options...
mithcd Posted October 12, 2013 Report Share Posted October 12, 2013 I was looking to set up horizontal branches like this. I'll give dummy path a try and see how it goes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.