Docsity

Introduction to Computer Graphics: CMPT 361 Course Syllabus, Lecture notes of Computer Graphics

Partial preview of the text

Download Introduction to Computer Graphics: CMPT 361 Course Syllabus and more Lecture notes Computer Graphics in PDF only on Docsity!

Introduction to

Computer Graphics

Torsten Möller

TASC 8021

[email protected]

www.cs.sfu.ca/~torsten

Today

  • What is computer graphics?
  • Contents of this course
  • Syllabus
  • Overview of course topics

Goals of Computer Graphics

  • Generate synthetic images
  • Do it in a practical way and scientifically

sound.

  • In real time?
  • And make it look easy…

What Is Computer Graphics?

Visibility

Computer

Graphics

Animation Hardware and System Architecture Applications Virtual Reality Design (CAD) Human Computer Interaction Visualization for Science and Business Entertainment Image Synthesis Modeling Viewing Rendering Radiosity vs. Ray Tracing Texture Mapping Shading & Illumination Models

© Torsten Möller

Modeling

  • How to represent real environments
    • Geometry: curves, surfaces, volumes
    • Photometry: light, color, reflectance
  • How to build these representations
    • Interactive: sculpt it
    • Algorithmic: let it grow (fractals, extraction)
    • Scanning: via 3D sensing
  • Generate primitives
    • Lines, triangles, quads, patches
    • Cylinder, spheres
    • Higher-order primitives
  • See CMPT 464 / 461 Computer Graphics Image Synthesis Modeling Viewing Rendering

Modeling: Scanning

Hardware/Human Points^ Primitives Computer Graphics Image Synthesis Modeling Viewing Rendering

Scanned 3D Objects

  • Size of data sets?
  • David:
    • 480 individually aimed scans
    • 2 billion polygons
    • 7,000 color images
    • 32 gigabytes
    • 30 nights of scanning
    • 22 people Computer Graphics Image Synthesis Modeling Viewing Rendering

Out of nowhere - fractals

Modeling: Algorithmic

and Procedural

Computer Graphics Image Synthesis Modeling Viewing Rendering

© Torsten Möller

Rendering

  • What is an image?
    • Distribution of light energy on 2D “film”
  • How do we represent and store images?
    • Sampled array of “pixels”: p[x,y]
  • How do we generate images from scenes?
    • Input: 3D description of scene, camera
    • Project to camera’s viewpoint
    • Illumination
  • See CMPT 461/ Visibility Computer Graphics Image Synthesis Modeling Viewing Rendering Radiosity vs. Ray Tracing Texture Mapping Shading & Illumination Models

Animation

  • Model how things move
  • Temporal change of
    • Objects (position, orientation, size, shape, color, etc.)
    • Camera (position, direction, angle, focus, etc.)
    • Illumination (position, direction, color, brightness)
  • Represent motion
    • Sequence of stills
    • Parameter curves
  • See CMPT 466 (Animation) Computer Graphics Animation Hardware and System Architecture Applications (^) SynthesisImage

Uses Of Graphics

  • Special effects
  • Feature animation
  • Computer Games
  • Virtual environments
  • Visualization (science, business, cartography, ...)
  • Design
  • Interaction
  • ... Computer Graphics Applications Virtual Reality Design (CAD) Human Computer Interaction Visualization for Science and Business Entertainment

Geometric modeling in 361

  • Concentrate on polygonal models for

geometry

  • Start in 2D: points, lines, and polygons
  • 3D polygonal meshes and subdivision surfaces
  • A little bit of parametric curves and surfaces
  • OK, we have a geometric model, what now?
  • Have to display it on the screen – rendering

Rendering in CMPT 361

  • Add in viewing information:
    • Transformation: transform our geometric model depending on position and orientation of camera
    • Visibility: determine what can be seen (do not draw what cannot been seen)
  • Add in light: illumination and shading
  • Add in texture: texture mapping
  • Add in color: some coverage on color models/ representations