{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture01-Intro

# Lecture01-Intro - CS 455 Computer Graphics Introduction...

This preview shows pages 1–6. Sign up to view the full content.

CS 455 – Computer Graphics Introduction

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Course Content How to draw a triangle How to draw lots of triangles Transforms Ray tracing IK solver Write a game Making movies
Prerequisites Programming assignments: § C++, C# or Java § A graphics API. We support XNA Math § Planar (2-D) and 3-D geometry: lines, triangles, etc. § Planar trigonometry: angles, trigonometric functions, identities, etc. § Linear algebra: vectors and vector spaces, matrices, etc § Some calculus § Review in: Text book

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
What is Computer Graphics? Creating images given a description of a scene http://www.planetside.co.uk/gallery/f/tg2/domdib-near-the- sunset.jpg.html
Example: Description to Image BACKGROUND: ( 0.10, 0.10, 0.30) AMBIENT: ( 0.40, 0.40, 0.40) SPHERE_LIGHT: ( 2.00, 2.00, 2.00) 0.25 ( 1.00, 1.00, 1.00) SPHERE_LIGHT: ( 2.00, 2.00, -2.00) 0.25 ( 1.00, 1.00, 1.00) SPHERE_LIGHT: (-2.00, 2.00, -2.00) 0.25 ( 1.00, 1.00, 1.00) SPHERE_LIGHT: (-2.00, 2.00, 2.00) 0.25 ( 1.00, 1.00, 1.00) SPHERE_LIGHT: ( 8.50, 0.00, 2.00) 0.50 ( 1.30, 1.30, 1.30) SPHERE_LIGHT: ( 8.50, 0.00, -2.00) 0.50 ( 1.30, 1.30, 1.30) #Globe # Position Radius Diffuse Color Specular Color Phong Specular Coeff. SPHERE: ( 7.00, -2.00, 0.00) 1.00 (0.95, 0.95, 0.95) (0.95, 0.95, 0.95) 1.00 0.10 MATTE TEXTURE: 270 135 ./textures/globe.ppm #Alcove side walls RECT : Z 3.00 NEG ( 7.00, -5.00) (10.00, 2.00) (0.30, 0.40, 0.70) (0.95, 0.95, 0.95) 20.00 0.40 MATTE RECT : Z -3.00 POS ( 7.00, -5.00) (10.00, 2.00) (0.30, 0.40, 0.70) (0.95, 0.95, 0.95) 20.00 0.01 MATTE #Alcove front wall RECT : X 10.00 NEG (-5.00, -3.00) ( 3.00, 3.00) (0.10, 0.30, 0.70) (0.95, 0.95, 0.95) 20.00 0.01 MATTE MAPPING: (10.00, -5.00, 0.00) (10.00, -5.00, 5.12) (10.00, -0.24, 0.00) TEXTURE: 256 238 ./textures/rockface.ppm

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}