ivy to blender

Upload: xxc1982

Post on 09-Apr-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Ivy to Blender

    1/8

    Using Thomas Luft's Ivy Generator with Blender 3D

    Tim Ellis 2007

    This tutorial will explain the process of using the Ivy Generator, to add ivy to this scene

    and to render it using Blender 3D.

    1. Preparing your model.

    The Ivy Generator works faster with low poly mesh objects, so I'm going to remove thesections of my scene,

    which won't be covered with ivy.

  • 8/8/2019 Ivy to Blender

    2/8

    Triangulate all mesh objects in your model or scene and export as an .obj file.

    You can use high poly objetcs, but at the cost of increased calculation times for growing

    the ivy.

  • 8/8/2019 Ivy to Blender

    3/8

    2. Importing your model into the Ivy Generator.

    Open the Ivy Generator. Load your model by clicking on the 'import obj+mtl' button.

    Use the following key and mouse commands, to move the viewport so you can see thewhole model.

    Camera controls:-

    Rotate - left mouse buttonTrack - left mouse button + control

    Dolly - right mouse buttonOrbit - left mouse button + shift

    3. Understanding the sliders and placing the ivy root.

    Each slider affects the category and value directly below it.

    Firstly we need to place the root point, for the ivy to start growing.Double click anywhere on the imported mesh to place the root point.

  • 8/8/2019 Ivy to Blender

    4/8

    4. Growing the ivy.

    Test the default settings by clicking the 'Grow' button and watch the ivy grow.

    If you can't see the ivy growing, press the 'Grow' button again to stop the growing process.

    Then press the 'Flip normals' button and double click the mesh again. Finally press 'Grow'again to restart.

    The ivy will grow on the side of the mesh, on which the face normals are pointing.Face normals inside the mesh, the ivy will grow inside the mesh.

    Face normals outside the mesh, the ivy will grow outside the mesh.

    The longer you grow your ivy, the higher the resulting poly count will be.

    Depending on the model, the growing may only occur for a small number of branches andthen stop.If this happens, change a few of the slider values and try again.

    You will need to double click the mesh again to create a new root point.

  • 8/8/2019 Ivy to Blender

    5/8

    You can press the 'Grow' button again at any time, to stop the growing process.You can also modify the sliders and press the 'Grow' button again, to continue growing

    using the modified settings.Camera pan, orbit and zoom are possible during growing, depending on the speed of the

    computer.

    5. Creating the geometry.

    Once you are happy with the grown ivy, press the 'Birth' button to create the ivy geometry.

    Adjust the birth sliders to suit and click the 'birth' button again to update the geometry.

    6. Exporting the ivy.

    Once you are happy with the results, press the 'export obj+mtl' button to export the mesh.Your model won't be exported, only the ivy geometry.

  • 8/8/2019 Ivy to Blender

    6/8

    7. Creating multiple ivy plants.

    Once you have exported your birthed ivy, you can double click on the mesh to grow a new plant.

    Creating several plants will reduce the file size of objects.You will have slightly more control over smaller plants, than you will over one large plant.

    In the folowing images, I've tried to follow the general direction with each plant, to produce one large plant.

    Ivy plant one:-

    Ivy plant two:-

    Ivy plant three:-

    I've exported each plant before creating the next one. The applied slider settings are shownfor each plant.

    8. Preparing the obj file for materials in Blender 3D.

    Import each created ivy .obj into Blender.

  • 8/8/2019 Ivy to Blender

    7/8

    I'll use the scene file I used for the export, so the correct scale is retained between the IvyGenerator and Blender 3D.

    Select the object:- None_leaf_adult and open the material buttons.The Ivy generator creates one texture channel called KD, which won't load the image map

    correctly.Switch to the Texture buttons and select the KD channel. Load the efeu1.jpg image from

    the texture pack.

    Switch back to the material buttons and check that the Map input is set to UV co-ordinates.

    Turn on Col and CSpec in the Map to buttons. Finally use the 'Auto name' button torename the layer.

    Go back to the texture buttons and add a new image texture, to the second texture slot.Load up the efeu1_Norm.jpg and turn on the 'Normal map' button.

    Switch back to the material buttons and set the Map input to UV co-ordinates.

    Turn off Col and turn on Nor in the Map to buttons.

    Repeat the process for the next texture slot, load up the efeu1_rough.jpg map.(Don't press the 'Normal Map' button this time.)

    Switch back to the material buttons and set the Map input to UV co-ordinates.In the Map to buttons, turn off Col and turn on Spec. Press the Spec button again to use the

    inverse.You can also use this same texture to affect the Ref value, press the Ref button twice to

    use the inverse value.

    Repeat the process for the next texture slot, load up the efeu1_trans.jpg map.

    Switch back to the material buttons and set the Map input to UV co-ordinates.In the Map to buttons, turn off Col and turn on Alpha. You will need to press it twice to

    use the inverse.

  • 8/8/2019 Ivy to Blender

    8/8

    The Alpha text on the button will turn yellow, for inverted values.Lower the Alpha slider to zero and turn on Ray transp. Make sure that the IOR slider is set

    to 1.00.

    Repeat the process for the next texture slot, load up the efeu1_Bump.jpg map.

    Switch back to the material buttons and set the Map input to UV co-ordinates.In the Map to buttons, turn off Col and turn on Nor.

    For the rest of the shader settings, we need to apply reduce the specular level, set theshader type and turn on Trans shadows.

    Texture maps used in above images:-

    Repeat the same process for the material called 'leaf_young', using the efeu0 leaf textures.

    Finally modify the material called 'branch' in the same way, but without a transparencymap.

    Make sure that all materials in the scene have TraShadow turned on in the shader section.This will mean the ivy leaves will cast correct shadows across your scene.

    Blender output.

    Tim Ellis. 2007 [email protected]