30
Introduction to Modeling

Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Embed Size (px)

Citation preview

Page 1: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Introduction to Modeling

Page 2: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

What is CG Modeling?

• Combination of Sculpting, Architecture, Drafting, and Painting.

• The core component of computer animation.

Page 3: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

What are the challenges: – Time!

• Time to create the models.

• Time to render the models.

• Time to animate the models.

What are our options?

• To improve rendering time reduce polygon count.• To improve realism increase polygon count.• To create models faster reduce polygon count.• To reduce animation time reduce number of manipulators.• To improve animation realism increase the number of manipulators.

Page 4: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Low polygon model

Page 5: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

High polygon model

Page 6: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Few manipulators

Page 7: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Many manipulators

Page 8: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

How to create models?

• Hand code the model – no one does this anymore.

• Use a modeling tool – eg Maya.

• Scan physical models using a 3D scanner.

Page 9: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Generate by Hand

Pros/Cons

Very very exact.You know exactly what you get.

Very very time consuming.Not possible to build large orComplex models.

Page 10: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Use a Modeling Tool - Maya

Pros/Cons

Quick to build models.Can build very complex modelsLots of controls and manipulators

Easy to build overly complex modelsTools can be difficult t learn.Can be difficult to control output.Can be hard to port to other tools

Page 11: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Use a 3D Scanner

Pros/Cons

Very quick to build models.Can be done automatically.Can hire students to do it.

Few controls and manipulators.Requires extensive re-editing.Generates models with too many polygons.Limits animators flexibility.

Page 12: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

What are the Parts of Modeling?

• Scene – when modeling work on a scene at a time.– Spaces – Where your models sit in space.– Objects – the primitives used to build your

models.– Structures – combine objects to make

structures.– Operators – Tools to build structures from

objects.

Page 13: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Structure

Object

Space

Page 14: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Spaces

• Coordinate Spaces• X Y Z• Cartesian

Coordinates• Rectangular

Coordinates• Global Coordinates• Local Coordinates

Page 15: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Projections

• How we go from 3D to 2D

• Two types: Perspective and Orthographic

Page 16: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Objects

Page 17: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

How can you model objects?

• Polygonal Models.

• NURBS

• Subdivision Surfaces

• Parametric Models

• Implicit Surfaces

Page 18: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Polygonal ModelsPolygonal Models consist of:•Vertices•Edges•Faces

Edge

Face

Vertex

Polygon

Pros/Cons

Simple to understand.Simple to render.Simple to combine to make shapes.Hardware supported rendering

Need lots of polygons for complex shapes.Difficult to animate lots of polygons.Lots of controls needed.Advanced modeling operations are difficult.Continuity problems.

Page 19: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

NURB Models

• NURBs are made of:– Patches– Curves– Control Points

Non-Uniform Rational B-Splines

Pros/Cons

Need fewer patches for complex objects.Easier to animate patches.Fewer controls needed.No Continuity problems.Advanced modeling operations are easier.

Hard to create corners!Difficult to understand.Difficult to render.Simple to combine to make shapes.Render by converting to polygons

Page 20: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Subdivision Surfaces•Provides `Localized Refinement•Allows you to mix sharp and smooth corners.•Continuity controlled locally.

•Increased rendering time•Requires clear understanding to generate good models.•Can be difficult to animate.

Page 21: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Parametric Models and Implicit Surfaces

Mathematical representations of complex surfaces.X^2*Y^3-Z^4- 12 X=r(t), Y=r(t)+2*r^2(t), Z=t

Not in production use at this time.Have very beneficial mathematical properties.Are extremely difficult to render, modify, and animate.

Page 22: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Structures

Page 23: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

What Kinds of Modeling Operations Exist?

• Insert and Delete point, edge, face.• Add Polygon/NURB• Boolean Operations: Union, Intersect, Difference.• Advanced Operations:

– Extrude along path.– Loft surface– Revolve– Bend– Split

• Very Advanced Operations– Smooth Model

Page 24: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

What kinds of modeling jobs are there?

• General Modelers

• Photo-realistic modelers

• High poly-count modelers

• Low poly-count modelers

• Character Animators

• Prop Modelers

Page 25: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

What types of animation controls are available?

• Simple – directly keying specific components.

• Moderate – An I/K skeleton, Solvers.

• Complex – Programmed Mel Scripts, advanced solvers. Linked Solvers.

Page 26: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

How do you control color and appearance.

• Assign Materials.

• Assign Shaders.

• Assign Textures.

• Advanced Shaders – eg Renderman.

Page 27: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

What about rendering?

• Everything is translated to Triangles.

Page 28: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

How do you Triangulate?

• Polygons

• NURBS

• Subdivision Surfaces

• Parametric Surfaces

• Implicit Surfaces

Page 29: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

How is everything rendered.

• First everything is converted to polygons

• Second everything is converted to triangles.

• Then everything is rendered thru the graphics pipeline discussed in the prior lecture.

Page 30: Introduction to Modeling. What is CG Modeling? Combination of Sculpting, Architecture, Drafting, and Painting. The core component of computer animation

Good References

• 3D Computer Graphics– Alan Watt

• The Art of 3-D Computer Animation and Imaging– Isaac Victor Kerlow

• 3D Animation: From Models to Movies– Adam Watkins