Upload
leonard-garrett
View
216
Download
2
Embed Size (px)
Citation preview
1
SE 313 – Computer Graphics
Lecture 4: Represeting 3D ModelsLecturer: Gazihan Alankuş
Please look at the last three slides for assignments (marked with TODO)
16.02.2012
2
Quiz
• Turn off monitors• Take out a piece of paper and a pen/pencil• 5 minutes
16.02.2012
3
Our Goal
• Understand how 3D models are represented in computers. Supplement this knowledge with practice in Blender.
16.02.2012
4
3D Models
• A 3D model encapsulates the geometrical and visual properties of an object in a virtual world. – Can be used for rendering (taking a virtual
photograph)– Can be used for other purposes as well (collision
detection, physics calculations, etc.)
16.02.2012
5
How are 3D Models Represented?
• Geometry• Visuals
16.02.2012
6
Elements of a 3D Model
• Geometrical elements– Vertices– Edges– Faces– Normals
• Visual elements– Materials– Textures– UV maps
16.02.2012
7
Geometrical Elements
• Vertices• Edges• Faces• Normals
• Demonstrations in Blender
16.02.2012
8
Geometrical Elements
• Vertices• Edges• Faces• Normals
• How they are represented in Blender: http://blenderscripting.blogspot.com/2011/05/blender-25-python-printing-vertex.html
16.02.2012
9
Visual Elements
• Materials• Textures• UV maps
• Demonstrations in Blender
16.02.2012
10
Visual Elements
• Materials• Textures• UV maps
• How to texture with UV maps in Blender– http://www.geeks3d.com/20090925/tutorial-disc
overing-blender-part-3-applying-uv-mapping/
– https://www.youtube.com/watch?v=obB9T3jXlak16.02.2012
11
Basic Illumination
• Materials• Lights • Normals– Regular normals• Using edges and the right hand rule
– “Fake” normals• Smooth shading
16.02.2012
12
Lab assignment
• Part 1– Start with a cube. Create a tower with
three segments, like in the picture to the right.
• Part 2– Mark its seams appropriately and
unwrap it so that it unwraps like the image to the right. (You can mark seam around the top square, and vertically on each side. Then clear seam on one of the edges on the top)
• Part 3– Draw a texture for it in a creative way. Random
scribbles will not be accepted. Show the texture in the 3D view as well as render the object with the texture on.16.02.2012
13
Project Ideas
• Creating 3D models of a game• An interesting 3D problem that a game has
and a solution to it• A short movie• An interactive 3D experience in Unity
requiring interesting calculations
16.02.2012
14
TODO: Projects• Form project groups of 2-3 people.• Come up with a project idea• One person in your group should send the
list of students and a one-page project idea proposal – Send it to [email protected] and cc it to
[email protected]– Use the subject “SE 313 Project Group”
• Due November 2nd (as next week is holiday)
16.02.2012
15
TODO: Homework 4 (deliverable)• Start with the first letter of your name that you created last week.
(Ask for a letter model from the assistant if you did not submit last week’s homework)
• Unwrap it (re-watch the video on slide #10 if you get lost). The creases should be hidden as much as possible.
• Choose one of these themes: fire, sea, grass, soil• Texture it with the theme you chose. The model should give us
the feeling of the chosen theme when we look at it. The texture should look continuous no matter how we turn the object. Majority of your grade will be on the quality of your texturing.
• The texture should be visible in the 3D view as well as when the object is rendered.
• Submit the rendered image and the .blend file, just like you did last week.
• Due November 2nd (as next week is holiday)16.02.2012