Computer Graphics … how renderings are done on a computer. Art 321 Dr. J Parker Winter.

Slides:



Advertisements
Similar presentations
15.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 15 – Visible Surfaces and Shadows.
Advertisements

16.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 16 – Some Special Rendering Effects.
8.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 8 Polygon Rendering.
Copyright 2006 by Pearson Education 1 Building Java Programs Supplement 3G: Graphics.
2D Graphics Drawing Things. Graphics In your GUI, you might want to draw graphics E.g. draw lines, circles, shapes, draw strings etc The Graphics class.
Saito, T. and Takahashi, T. Comprehensible Rendering of 3-D Shapes Proc. of SIGGRAPH '90 Genesis of Image Space NPR.
Map-making as Graph Drawing Alan Saalfeld Mathematical Cartographer.
Virtual Realism TEXTURE MAPPING. The Quest for Visual Realism.
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Graphics Pipeline.
3D Graphics Rendering and Terrain Modeling
SE 313 – Computer Graphics Lecture 13: Lighting and Materials Practice Lecturer: Gazihan Alankuş 1.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
INTRODUCTION. Painting with numbers! Aspects Modeling Rendering Animation.
Basic Rendering Techniques V Recognizing basic rendering techniques.
Guilford County Sci Vis V204.01
3D Concepts Coordinate Systems Coordinates specify points in space 3D coords commonly use X, Y, & Z A vertex is a 'corner' of an object Different coordinate.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
1 Bitmap Graphics It is represented by a dot pattern in which each dot is called a pixel. Each pixel can be in any one of the colors available and the.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Texture Mapping. 2 The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number is insufficient.
Polygon Shading. Assigning color to a shape to make graphical scenes look realistic, or artistic, or whatever effect we’re attempting to achieve But first.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
COMP SCI 352 Computer Graphics and Animation. Computer Graphics2 My name is … My name is … How to find me How to find me Course Policies Course Policies.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
3D Programming Concepts How objects are described in 3D and Rendering Pipelines – A conceptual way of thinking of the steps involved of converting an abstract.
CSE 381 – Advanced Game Programming Basic 3D Graphics
3D Objects Subject:T0934 / Multimedia Programming Foundation Session:12 Tahun:2009 Versi:1/0.
I-1 Steps of Image Generation –Create a model of the objects –Create a model for the illumination of the objects –Create an image (render) the result I.
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
Computer Graphics Lecture 1 July 11, Computer Graphics What do you think of? The term “computer graphics” is a blanket term used to refer to the.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Game Programming 06 The Rendering Engine
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Digital Media Dr. Jim Rowan ITEC So far… We have compared bitmapped graphics and vector graphics We have discussed bitmapped images, some file formats.
GRAPHICS MODULE 14 STUDY BOOK. Graphic commands SCREEN - puts the screen into graphics mode WINDOW - allows scaling of the screen LINE - 3 formats –LINE.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
RENDERING Introduction to Shading models – Flat and Smooth shading – Adding texture to faces – Adding shadows of objects – Building a camera in a program.
Material obtained from Summer workshop in Guildford County, July, 2014 Unit 6.
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
Rendering Pipeline Fall, D Polygon Rendering Many applications use rendering of 3D polygons with direct illumination.
Introduction to Meshes Lecture 22 Mon, Oct 20, 2003.
Revision Sheet Computer Graphics and Human Interaction By Dr. HANY ELSALAMONY1.
CS 376 Introduction to Computer Graphics 04 / 13 / 2007 Instructor: Michael Eckmann.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Applications and Rendering pipeline
Graphics Pipeline Bringing it all together. Implementation The goal of computer graphics is to take the data out of computer memory and put it up on the.
Introduction to Computer Graphics
Rendering Pipeline Fall, 2015.
Computer Graphics Texture Mapping
Basic Rendering Techniques
3D Graphics Rendering PPT By Ricardo Veguilla.
Basic Rendering Techniques
CS451Real-time Rendering Pipeline
Chapter 14 Shading Models.
Digital Media Dr. Jim Rowan ITEC 2110.
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Secondary math – Surface Area.
Introduction to Meshes
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Chapter 14 Shading Models.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Introduction to Meshes
Presentation transcript:

Computer Graphics … how renderings are done on a computer. Art 321 Dr. J Parker Winter

How are visuals made using a computer? All computers work in much the same way. Computers only manipulate numbers. To get a computer to create a picture, we must device some sort of code that allows pictures and music to be made into numbers. This is an encoding, and computers use many of them

How are visuals made using a computer? A drawing or rendering consists of lines/boundaries, variations in colour or grey, and 3D to 2D transformations that allow a set of objects to be made into an image. Why not use a camera?

How are visuals made using a computer? Why not use a camera? Because a camera captures only one face or position at a time. We need to ultimately have a complete 3D view

How are visuals made using a computer? Representing colour: Color is specified as red, green, and blue components, just as in images. We can specify most colours this way.

How are visuals made using a computer? Coordinates - position In high school we drew graphs using an X and a Y axis. We specified any point as an X and a Y coordinate. x Y 0,0 x, y

How are visuals made using a computer? Coordinates - position On the computer screen, it’s just upside-down from that. The upper-left is 0,0 (origin) and Y coordinates get bigger as we move down the screen x Y 0,0 x, y

How are visuals made using a computer? Drawing We now have ‘paper’. To draw, we give the computer a command like drawLine or drawPoint x Y 0,0 x, y

How are visuals made using a computer? Drawing A point can be just a pixel. The drawPoint command would need to be told where to draw a point (what pixel) drawPoint (x, y); x Y 0,0 x, y

How are visuals made using a computer? Drawing We could also say what colour, or we could set a colour to be used until we changed it. setColor (r, g, b); x Y 0,0

How are visuals made using a computer? Drawing A line (line segment, really) occurs between two points. Thus: drawLine (x0,y0, x1,y1); x Y 0,0 x1, y1 x0, y0

How are visuals made using a computer? We’re getting into turtle graphics territory. A rectangle is 4 lines or 4 points, take your pick: drawRectangle (x0,y0, x1,y1, x2,y2, x3,y3); x Y 0,0 x1, y1 x0, y0 x2, y2 x3, y3

How are visuals made using a computer? We can fill a rectangle with color. drawFilledRectangle (x0,y0, x1,y1, x2,y2, x3,y3); Best to do it when we draw it rather than after. x Y 0,0 x1, y1 x0, y0 x2, y2 x3, y3

How are visuals made using a computer? See a pattern?. Circles – specify centre position and radius. drawCircle (x0,y0, r); drawFilledCircle (x1,y1, r); x Y 0,0 x1, y1 x0, y0

How are 3D visuals made using a computer? We see a projection onto a flat surface from the 3D scene.

How are 3D visuals made using a computer? Using a computer we need to specify the point from where we are looking (viewpoint) and the direction we are looking.

How are 3D visuals made using a computer? 3D lines and triangles, etc. have 3 Coordinates (x,y,z), not just 2.

How are visuals made using a computer?

Polygons are used to construct complex 3D shapes. This is called modeling.

How are visuals made using a computer? These polygonal objects can be made to look more realistic by shading them; that is, by applying color or greys of various intensities as a function of position on each triangle.

How are visuals made using a computer? These polygonal objects can be made to look more realistic by shading them; that is, by applying color or greys of various intensities as a function of position on each triangle.

How are visuals made using a computer? These polygonal objects can be made to look more realistic by shading them; that is, by applying color or greys of various intensities as a function of position on each triangle.

How are visuals made using a computer? These polygonal objects can be made to look more realistic by shading them; that is, by applying color or greys of various intensities as a function of position on each triangle.

How are visuals made using a computer?

Let’s make something interesting. Search the net for building images

Let’s make something interesting. Make a background

Let’s make something interesting. Make a prism (3D rectangle)

Let’s make something interesting. Map the texture

Let’s make something interesting. Make a lot of them

This is how game worlds are made All objects in a 3D computer game are made of polygons, and have textures, bumps, and grunge mapped onto them.

This is how game worlds are made Bumps are achieved by perturbing the surface normals of the object and using the perturbed normal during lighting calculations. The result is an apparently bumpy surface rather than a smooth surface although the surface of the underlying object is not actually changed.

This is how game worlds are made All objects in a 3D computer game are made of polygons, and have textures, bumps, and grunge mapped onto them.