Author Topic: Tree[d] Tutorial  (Read 6038 times)


  • Behemoth
  • *******
  • Posts: 968
    • View Profile
Tree[d] Tutorial
« on: 15 December 2010, 23:16:33 »
Wciow's Tree[d] Tutorial

Tree[d] is a free program for the creation of 3d trees. It vastly speeds up creating trees and bushes for Glest tilesets as it does all the modelling and uv work for you, turning what used to be hours of work into minutes. However in order to use your creations they must be exported via Blender as G3d models. This tutorial shows you how.

1. Create your tree in Tree[d]
Once you have played around with Tree[d] and understand the options you can begin making trees for Glest. Trees for Glest should ideally be below 200 polygons.

Code: [Select]
2. Set up the textures
Once you have finished your tree note down the textures used by your model. This should usually be one for the leaves/branches and one for the trunk/limbs. Create a new folder and copy the used textures from the Tree[d] directory to your newly created folder.

3. Export to Blender
On the file menu hit export OBJ and export to the directory containing your textures from the previous step. Now fire up Blender and go to File>Import>Wavefront (Obj). You should now be presented with your fully textured creation in Blender.

Code: [Select]
4. Set up your model
In object mode rotate your model 90 degrees clockwise so that the trunk lines up along the Y axis in Blender.
Switch to edit mode and select all vertices (ctrl+a) then convert to quads (alt+j) and then triangles (ctrl+t).

Code: [Select]
5. Split your model
In object mode select your tree and copy it (ctrl+d), then hit G followed by X and slide the copied model away along the X axis. Now in edit mode select the first model and click any vertex on the trunk. Hit L followed by (ctrl+i) to invert selection and then delete the canopy part of the model. Again in edit mode select the second model and delete the trunk. In object mode select the trunk and slide it back to its correct position on the X axis.

Code: [Select]
6. Assign materials
Both objects in your model (trunk and canopy) will automatically share a material. Select the trunk and go to the assigned texture for the material. Make sure it is set correctly as the trunk texture. Now select the canopy object and assign a new material to it. Add an image type texture and assign the correct leaf texture.
Code: [Select]

7. Final checks
Check to make sure that alpha is set to 1 for both parts of your tree.
Make sure the canopy of your tree is set to single sided.
Check that animation is set to 1 frame.

Code: [Select]
8. Export the G3D
Select both parts of your model and export as g3d into the directory where the textures for your tree are located. If all has gone well the model should load properly in G3dviewer.
Code: [Select]
« Last Edit: 16 April 2016, 10:20:56 by filux »
Check out my new Goblin faction -


  • Ornithopter
  • *****
  • Posts: 446
    • View Profile
    • MegaGlest Map Compendium
Re: Tree[d] Tutorial
« Reply #1 on: 16 December 2010, 09:33:19 »
Nice work wciow. The tree[d] app is hosted at
« Last Edit: 14 December 2021, 19:55:37 by Trappin »


  • Archmage
  • ******
  • Posts: 524
    • View Profile
    • Hageus_Iaponicus(@Hageus_Hagekura)さん | Twitter
Re: Tree[d] Tutorial
« Reply #2 on: 18 December 2010, 23:31:54 »
Interesting tool!
Thank you for excellent tutorial. :thumbup:
Bushido to iu wa shinu koto to mitsuketari.

Japanese Faction Mod


  • Guest
Re: Tree[d] Tutorial
« Reply #3 on: 3 January 2011, 21:13:45 »
Its easier to separate by material on import