cs770 870
Download
Skip this Video
Download Presentation
CS770/870

Loading in 2 Seconds...

play fullscreen
1 / 20

CS770/870 - PowerPoint PPT Presentation


  • 87 Views
  • Uploaded on

CS770/870. Intro to Computer Graphics Text Edward Angel: Edition 5. www.ccom.unh.edu/vislab. Metacognition. Learning by doing Notes Discussion Assignments Tests Sleep and distributed learning (in time). Read Chapters 1, 2 and 8 What is Graphics for?. Visualization Design Animation

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' CS770/870' - hazel


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
cs770 870

CS770/870

Intro to Computer Graphics

Text Edward Angel: Edition 5

www.ccom.unh.edu/vislab

metacognition
Metacognition

Learning by doing

Notes

Discussion

Assignments

Tests

Sleep and distributed learning (in time)

read chapters 1 2 and 8 what is graphics for
Read Chapters 1, 2 and 8What is Graphics for?

Visualization

Design

Animation

UIs

show trackplot
Show TrackPlot

You will learn everything needed to do something like this.

course organization
Course organization

www.ccom.unh.edu/vislab/GraphicsCourse

pinhole camera and perspective geometry 3d world 2d screen
Pinhole camera andPerspective geometry3D (world) -> 2D screen

Derive it.

Write equations to show how something appears on a screen

X,Y,Z (coordinate system)

x,y,z (world coords of a point)

xp, yp,zp(screen coords of a point)

d: distance from origin to screen

other aspects of the pinhole camera
Other aspects of the pinhole camera
  • Camera Field of view
    • Theta = arctan(w/2d) – derive it.
  • Depth of focus (not with a pinhole)
  • Projective geometry – all the rest is translations, rotations and scales.
the human eye
The human eye

Three colors (Because of cones)

graphics pipeline
Graphics Pipeline

Geometry

Rotations

Translations

Scales

Rasterization

Interpolation

Texture

Color blending

Clipping

assignment 1
Assignment 1

Simple video game

Paddle

opengl and glut
OpenGL and glut
  • OpenGl based on sgi gl. A widely used standard
  • Alternative is direct X
  • Based on the pipleline architecture
  • Giving way to “shaders” GPU programs
    • Low level mostly pixel based
    • Very fast e.g. 128 processors
    • we will not cover these methods because too low level
slide17
Glut

Graphics library utility toolkit.

Provides windows, simple menus. (and removes the need for a lot of ugly code)

slide18

GlutCB Mouse

GlutCB Keyboard

GlutCB Menus

OS

Main

Setup callbacks Glut

Hand control to OS

the opengl pipeline again
The opengl pipeline (again)

Graphics App

Transform

Translate

Rotate

scale

Project

Clip

Rasterize

What? -- mostly polygons

graphics primitives
Graphics Primitives
  • glBegin( <feature type> );
    • GL_LINES, GL_TRIANGLES, GL_POINTS
  • glColor();
  • glVertex( a list of vertices );
  • glEnd();
  • Note there are also pixel-based operations that Bypass the frame buffer.
ad