abpy / improved-sapling-tree-generator

A new version of Blenders sapling tree generator addon with improvements, new features, and bug fixes
GNU General Public License v2.0
140 stars 24 forks source link

Adjust trunk height #26

Open Reptorian1125 opened 5 years ago

Reptorian1125 commented 5 years ago

Hi, I have tested the current sapling tree generator found in experimental 2.8 (not sure if they are the same as you said it been merged to master), and I would like to know if it were possible to adjust trunk height or the part of the tree that's not branched out. It's a bit difficult to do that right now as you have to experiment with many control until it looks just right. If it were possible to just adjust trunk height with no changes to other part of the tree, that'd be a improvement.

The best way I can do this is to change the first box below branch: under Branch Growth. The problem is that it dramatically affects the tree outcome.

Reptorian1125 commented 5 years ago

Found the option to do what I'd like under Branch Splitting and changing Split Height. My only problem now is that the options are limited. Sure, you can type in values, but the result of the split height don't always change. Not to mention that if I change the number 'Base Split', Split Height does not change. Maybe the issue name should really be that split height should be more intuitive.

abpy commented 5 years ago

'base split' controls splitting only at the beginning of the trunk. 'split height' is the starting height for splitting of the trunk above the base splits, the amount is controlled by 'segment splits' 'trunk height' is the starting height for the next level of branching

I hope that helps

Reptorian1125 commented 5 years ago

No, it doesn't help. Here's a picture to clarify -

image

I am not having a easy time editing the height of what the red indicator points to. That's what I want to be able to adjust. I want to be able to stretch it. Ideally, there could be a code to edit vertexs into negative coordinate, and then the model is shifted up. Something like that.

abpy commented 5 years ago

ok, so for that I would leave 'base splits' at zero and use 'split height'. you may not get exactly 3 branches like that, but adjust 'segment splits' and maybe 'split bias' to get it similar.

also 'curve resolution' will change the length of segments and thus the length before the base split