View
214
Download
0
Tags:
Embed Size (px)
Citation preview
BPC: Art and Computation – Summer 2008BPC: Art and Computation – Summer 2008
Selected curriculum elementsSelected curriculum elements
Erik Brisson
BPC: Art and Computation – Summer 2008 3
Digital Media in VRDigital Media in VR
Practical skillUse in course– Texture map in VR world
Connections– Familiar concept (photograph)– Computer rep (digital image)–Mathematical object (2D array)
BPC: Art and Computation – Summer 2008 7
What is a digital image?What is a digital image?
P31136 852255191 214 206 113 134 135 101 120 135 102 119 147 113 129 165117 131 170 125 138 170 158 168 195 219 227 246 244 251 255249 254 255 197 202 222 157 163 187 156 161 190 165 172 200218 224 246 250 255 255 252 255 251 251 255 252 245 249 250251 255 255 188 192 204 196 200 212 234 238 250 177 181 192111 114 133 122 121 155 154 151 194 182 176 220 243 240 255253 252 255 250 251 246 254 254 252 255 255 255 255 255 255254 254 254 255 255 255 255 255 255 254 254 254 255 255 255249 249 249 249 249 249 252 252 252 255 255 255 255 255 255255 255 255 254 254 254 255 255 255 255 255 255 255 255 255255 255 255 255 255 255 255 255 255 255 255 255 255 255 255255 255 255 255 255 255 255 255 255 253 253 253 252 252 252252 252 252 253 253 253 255 255 255 255 255 255 255 255 255…
BPC: Art and Computation – Summer 2008 9
Concepts of Computer GraphicsConcepts of Computer Graphics
Practical skillUse in course– Display the VR world
Concepts–Modeling and simulation of physical
and geometric phenomena– Data structures representing models– Lighting, rendering, surfaces, etc
BPC: Art and Computation – Summer 2008 13
AnimationAnimation
Practical skillUse in course– Object motion in VR world
Concept– Discrete approximation of continuous
functions
BPC: Art and Computation – Summer 2008 16
3D motion as animation - models3D motion as animation - models
BPC: Art and Computation – Summer 2008 17
Building a VR worldBuilding a VR world
Practical skillUse in course– Layout a VR world
Connections– 2D visual rep (landscape plan)–Mathematical rep (poly’s in Cart plane)– Computer rep (description file)– 3D visual rep (comp graph display)
BPC: Art and Computation – Summer 2008 18
Landscape PlansLandscape Plans
Used without permission from: http://www.medwaycoopbank.com/main/color_landscape_plan.jpg
BPC: Art and Computation – Summer 2008 19
Landscape PlansLandscape Plans
Used without permission from: http://www.smartdraw.com/examples/preview/index.aspx?example=Residential_-_10
BPC: Art and Computation – Summer 2008 20
World as set of simple objectsWorld as set of simple objects
BPC: Art and Computation – Summer 2008 23
Plan drawing – on graph paperPlan drawing – on graph paper
BPC: Art and Computation – Summer 2008 24
Specifying horizontal quadrilateralsSpecifying horizontal quadrilaterals
Horizontal squareHorizontal square(x0,y0) = (2,2)(x0,y0) = (2,2)(x1,y1) = (4,2)(x1,y1) = (4,2)(x2,y2) = (4,4)(x2,y2) = (4,4)(x3,y3) = (2,4)(x3,y3) = (2,4)
On ground (height h = 0)On ground (height h = 0)
hquad,hquad, x0, y0, x1, y1,x0, y0, x1, y1,x2, y2, x3, y3, hx2, y2, x3, y3, h
hquad, 2, 2, 4, 2, 4, 4, 2, 4, 0hquad, 2, 2, 4, 2, 4, 4, 2, 4, 0
BPC: Art and Computation – Summer 2008 25
The description fileThe description file
hquad, 2, 2, 4, 2, 4, 4, 2, 4, 0hquad, 2, 2, 4, 2, 4, 4, 2, 4, 0vrect, 2, 5, 4, 5, 2vrect, 2, 5, 4, 5, 2vrect, 4, 5, 4, 7, 2vrect, 4, 5, 4, 7, 2vrect, 4, 7, 2, 7, 2vrect, 4, 7, 2, 7, 2vrect, 2, 7, 2, 5, 2vrect, 2, 7, 2, 5, 2vcyl, 0, 2, 0.5, 3vcyl, 0, 2, 0.5, 3vcone, 2, -5, 1, 2vcone, 2, -5, 1, 2vrect, -1.5, -3, 0, -3, 2vrect, -1.5, -3, 0, -3, 2vrect, 0, -3, 2, -1, 2vrect, 0, -3, 2, -1, 2vrect, 2, -1, 0.5, -1, 2vrect, 2, -1, 0.5, -1, 2vrect, 0.5, -1, -1.5, -3, 2vrect, 0.5, -1, -1.5, -3, 2hquad, 2, -5, 4, -3, 2, -1, 0, -3, 2hquad, 2, -5, 4, -3, 2, -1, 0, -3, 2
BPC: Art and Computation – Summer 2008 26
Project workflowProject workflow
hquad, 2, 2, 4, 2, 4, 4, 2, 4, 0hquad, 2, 2, 4, 2, 4, 4, 2, 4, 0vrect, 2, 5, 4, 5, 2vrect, 2, 5, 4, 5, 2vrect, 4, 5, 4, 7, 2vrect, 4, 5, 4, 7, 2vrect, 4, 7, 2, 7, 2vrect, 4, 7, 2, 7, 2vrect, 2, 7, 2, 5, 2vrect, 2, 7, 2, 5, 2vcyl, 0, 2, 0.5, 3vcyl, 0, 2, 0.5, 3vcone, 2, -5, 1, 2vcone, 2, -5, 1, 2vrect, -1.5, -3, 0, -3, 2vrect, -1.5, -3, 0, -3, 2vrect, 0, -3, 2, -1, 2vrect, 0, -3, 2, -1, 2vrect, 2, -1, 0.5, -1, 2vrect, 2, -1, 0.5, -1, 2vrect, 0.5, -1, -1.5, -3, 2vrect, 0.5, -1, -1.5, -3, 2hquad, 2, -5, 4, -3, 2, -1, 0, -3, 2hquad, 2, -5, 4, -3, 2, -1, 0, -3, 2