Arvutiteaduse instituut
Logi sisse
  • English
  • Kursused
  • 2020/21 sügis
  • Arvutimängude loomine ja disain (MTAT.03.263)

Arvutimängude loomine ja disain 2020/21 sügis

  • Main
  • Lectures
    • Homework 1
    • Homework 2
    • Homework 3
  • Labs
    • Lab1 Introduction to Unity
    • Lab2 Space Game part 1
    • Lab3 Space Game part 2
    • Lab4 Unity Components
    • Lab5 Project Setup
    • Lab6 Tower Defence
    • Lab7 Tower Defence GUI & Buildings
    • Lab8 Tower Defence Content
    • Lab9 Blender Tree
    • Lab10 Sounds
    • Lab11 Animations
    • Lab12 Level Design
    • Lab13 Editor Extensions
    • Lab14 Lighting
    • Lab15 Procedural Generation
  • Projects
    • Design Document
    • Peer Review
  • Discord
  • Points
  • Links

Lab 9 - Blender modeling and texturing

In this lab, we are making a low poly tree and texture it using texture first approach. If you are more experienced with the blender you can make a different (more complex) model and submit a picture of your tree.

Why to learn Blender video from Computer Graphics course:

A very good Blender tutorial for beginners:

Lab video:

All hotkeys used in this lab are shown here:

Steps:

  • Create a new blender project and add a cylinder with 5 sides.
  • Extrude the tree upwards. After every extrusion, rotate and scale the last face a bit.
  • You can cut longer segments in half with the loop cut tool Ctrl+R. (Useful if you need squared faces for extruding branches)
  • Continue extruding sides of your trunk to make branches.
  • Add branches until your tree is detailed enough.
  • Open UV layout in another view and load the following texture:
  • Assign Material to your mesh, and give it a texture
  • Choose textured rendering mode to see the texture.

  • Unwrap your mesh
    • Select an edge loop and unwrap it. Scale and place the selection to the corresponding color on your UV map.
  • Continue unwrapping faces until they are all mapped to the texture. You can receive full points for submitting a picture of your tree at this stage.
  • Create another object with a quad. Unwrap this quad to the branch.
  • Duplicate the branch quad multiple times to cover the whole tree with branches.
Put your tree into Unity game engine
  • Save the tree in *.blend file or export as *.fbx file
  • Add this file to Unity
  • Add the TreeTex texture file to unity
  • Drag this object to the scene
  • Create a new material using the TreeTex texture
  • Use a two sided shader on your material for the leaves, you can find one from here: https://gist.github.com/cortvi/094f5233be6db0492b386cb494aa709a
  • Add the material to your tree and configure the ambient lighting to make it well lit.

Submission

Make a screenshot about your finished tree and submit this picture. (Don't include the Blender files)

Lahenduste esitamiseks peate olema sisse loginud ja kursusele registreerunud.
  • Arvutiteaduse instituut
  • Loodus- ja täppisteaduste valdkond
  • Tartu Ülikool
Tehniliste probleemide või küsimuste korral kirjuta:
Tartu Ülikooli arvutiteaduse instituudi kursuste läbiviimist toetavad järgmised programmid:
iktp regionaalarengu fondi logo euroopa sotsiaalfondi logo tiigriülikooli logo it akadeemia logo