Tuesday 24 November 2009

Leafy



Continuing on from the tree tutorial is adding in the leaves and the bumpy effect on the trunk...
  1. Add plane.
  2. Move in edit mode so center point at bottom of plane.
  3. UV unwrap plane, add leaf texture.
  4. Then in textures load both leaf textures, same one again and the black and white one (second).
  5. Black and white: Col: off, Alpha: On(press twice so yellow), hit no RGB.
  6. On the material panel make aplpha zero
  7. On the links panel have Ztransp clicked = makes plane a leaf shape.
  8. With the original tree trunk selected click generate leaves.
  9. Name plane 'Leaf'.
  10. So name: leaf, size:0.1, press generate from selection. Now we have leaves but they are not so good just yet.
  11. Select plane, in edit mode turno it 90 degress counter clockwise, then back in edit mode rotate it back 90 degrees clockwise. This means the leaves will point towards the sky just like leaves in real life, so they can abosorb as much sun light as possible.
Adding a displacement map
  1. Add new texture to the tree, clouds, noise size: 0.3, depth:0.
  2. In material panels/buttons turn the texture off because we don't want to see it.
  3. Add displacement modifier to tree, write name of texture, strenfth: 0.05 (experiment with this).
  4. But effects whole tree at the moment, need to only effect tree trunk and start of branches because branches will not look right.
  5. To choose the areas it will effect and how much by I used weight painting, so in that mode turn subsurf off for the moment so not too slow the process down, set weight: 1, opacity: 1/2, size: 40, hit Spray.
  6. Blue are the un-effected areas and red are the most effected areas.
  7. So make the trunk red and the start of the branches blue/green.
  8. Go to displacement, type ine group 'Group', so now twigs should be normal but the trunk still looks messed up/bumpy/slightly deformed much like a real tree.
Leaf colour/Nodes
  1. To change the colour of the leaves which I did because the texture is yellow, and you can see in the picture the leaves are red and in my next post they are gree, use mode editing mode...
  2. On the leaf texture click nodes, then enter node editing mode.
  3. Hit texture nodes
  4. Click Add>Input>Image
  5. Load Leaf
  6. Add>Colour>Colour boxes
  7. Change Hue for colour and saturation for brightness.
Thats that!!

No comments:

Post a Comment