Recently I’ve been writing a tree maker to speed up our tree creation pipeline, but generating nice looking trees turned out to be a lot harder then I expected.
Having a tree generator where you hit a button and pop out a perfect tree is the artists dream but realistically they need a lot of control as well.
The main difference between this and other tools is that it doesn’t do all the work for you.
We had to compromise in a number of areas: what we expected the artists to do by hand, amount of detail and artistic style. Also with the time limit, how good should we expect the trees to look anyway?
Enrico, Andy and myself did quite a bit of testing and finally we came up with a way to make trees!






This is the python script - “Tree from curves, its in Blender SVN development repository so any recent build of blender will include it (Script Window > Wizards > Tree from Curves), however usibility hasn’t been a priority yet! I’d like to document it and add presets when I have some time.

Main Features…
Wow!
Looks great!
I’m looking forward to suing this tool!
Sorry.. I mean’t “use” it.. not sue it..
Looks great!
Can you make a Suzanne-shaped tree/bush? :D
Awesome!!!
I’ve been using the TreeGen script, but this one looks way more artist and animator oriented/friendly. And that explains why the trunks appeared separated of the branches in the weekly video.
To stunning Live trees make much Power now we have ;)
simply awesome! wooooo…
sue… lol
I am also really looking forward to suing this tool!
great job guys!
Thanks for coding it Campbell, and thank you to @ndy and Enrico for testing it!
Wow!! That is VERY nice! And, complete with armatures and texture-based animation potential? …that’s pretty freakin’ sweet. And I love the workflow, it will definitely help you to focus more on the artistic aspect.
THANKS!
I can’t wait to get some time to test it.
i’ve crapped better trees..
chuckster: I guess you haven’t been taking your metamucil, then. stay regular, man
@chuckster: that’s really gotta hurt. You have my sympathy
as to the script - looks great and looking forward to trying it out
chuckster:
Sorry to hear about your issue :(
I hope it clears up for you.
Awesome script! :)
Looking great!
with the apricot project looming closer…will the trees be usable for real-time game rendering?
Fibonacci is the key my friend.
metalliandy: most likely not, currently a highres foreground tree can have over 11 mil faces…
.andy
Hello, Peach Team, i thinking about how create a runner/clasper on any surface with retopology tool more easily. If the retopo tool have an offset parameter you can set i.e. 0.5 and for branch curves set radius 1.0 this way can fit on surface well.
@chuckster: Maybe you need more peaches - they’re a great laxative!… ;)
Cool script!
~epat. :)
hi,
do you know this?
http://www.polas.net/trees/index.php
Great tool- I was using Lsystem,but this is so much improvement. Thanks too all!
Definitely an addition to my article here:
http://bchynds.com/index.php?option=com_content&task=view&id=30&Itemid=1
I’ll add it in once it hits the stable release. It’ll probably be the best one listed, since it’s functionality far exceeds the ones listed. Great work guys. :)
This is really cool!
The only thing I see is that it looks like some of the leaves are oriented in unlikely directions, such as straight upward. I feel like leaves are mostly facing so that their top (shiny) sides are in some way toward the sun, but they will also all point downward in some way because of gravity.
Check out these:
http://marko.isfoundhere.com/images/tree_leaves.jpg
in this photo you will see that most of the leaves are facing with the normals parallel to that of the camera (not random):
http://images.inmagine.com/img/mixa/mx043/mx043012.jpg
http://www.cirrusimage.com/Trees/Kentucky_coffee_tree_3.jpg
this isn’t the law or anything, and it really doesn’t matter that much, but it might make a difference.
[…] de vida natural do projeto. Ao que parece às versões de teste já estão bem funcionais, o Campbell Barton já publicou algumas imagens, da interface do Blender, com a nova ferramenta e de modelos 3D, gerados pelo Blender. O resultado […]
hey guys, Im really surprised so many people are interested in this ;)
some reply…
Tree’s are very low poly - because each segment is just 4 quads, they only become higher poly when they are subsurfed. Still, for a game you’d probably be better off with alpha mapped faces.
leaf placement can be improved. the random direction is a bit too much in the pics, however turning the random sliders down would do the trick ;).
Animating from textures is way cool - you can have the blend file playing, and slide the texture settings about realtime and see the tree’s motion change! - however its IS slow and its not responding to any wind direction, so baked ipo’s with some wind direction would be a great improvement.
Some people dont like the current twigs so much, and I agree they can be improved, however its not hard at all to plug new algo’s in to the tree maker (could even make them separate files and have it modular) - so if you work out a nicer auto-twig algo - we could probably include it as an option.
HI.
IT’s a great tool. Thank you !.
I have tried it and now I use it for some of my games(3D iso) or animation trailer - movies :).
Just a little suggestion : the title of the project is “peach”, so what do you think to add an option to add fruits (like add “leaf” for exemple) ;) ?
Thank again.
man, I can’t wait until that’s in the main build!
It would be nice if we could choose a mesh that would replace the static particles of a certain mesh. Have like a Option in the menu to use a certain mesh with a textbox indicating the object. Then leaves would be easy.
hi, just wondering if you could incorporate the ivy script into this script. It may make the tree’s more interesting and realistic.
will we be getting a forest like this?
http://fc01.deviantart.com/fs17/f/2007/215/7/5/the_Forest_church_2_by_weiweihua.jpg
Iam dead .
I don’t know what to do ,
and don’t know how to make things perfect .
I don’t have the vision of the final thing i want to made ,
and can’t go forward with the “crap” iam try to made .
Well ,that tool looks perfect ,
i dream to use my brain to code\create something like that or anything .
I don’t know what to do with my drawings ,
iam not that good to do the stuffs ..
I thing a suicide this time of the year
go to be perfect … :)
Well i just losse my focus somewhere ,
when i currently trying to get inspirated .
That’s a great news ,even for now only for reading ..
will we be getting a forest like this?
http://fc01.deviantart.com/fs17/f/2007/215/7/5/the_Forest_church_2_by_weiweihua.jpg
I might be wrong but if I remember right that was not a render, but painted in 2D. On the other hand this can be done now too, all you have to do is model those trees and then use the script to add branches where you want to, or you can use a ivy generator program.
Cool stuff.
Keep up the good work fellas.
That’s so cool..
Hi. While this way of building trees seems nice enough, I think there may be other ways as well, namely techniques from the field of algorithmic botany. As an example, a book that is a classic in this field: The Algorithmic Beauty of Plants.
Where can i download this from to try it out?
Cool. I wouldn’t mind having a “floating leaves” option, and other such options that make it less realistic, either for a more abstract style, or for eventual realtime use.
It sounds a good idea having inside the Blender a tool to make trees. Do you have a step by step tutorial to help us test the script?
Best regards,
Tio Ilmo
A video on how to create a simple tree with this script would be very useful.
From what I can tell this script is very powerful and flexible, great work guys :)