Computer Graphics and Visualization. What is computer graphics?

Similar documents
Lecturer Athanasios Nikolaidis

Virtual Reality for Human Computer Interaction

Models and Architectures. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

CSE4030 Introduction to Computer Graphics

Evolution of Imaging Technology in Computer Graphics. Related Areas

Animation & Rendering

Models and Architectures

CHAPTER 1 Graphics Systems and Models 3

Graphics Hardware and Display Devices

CS451Real-time Rendering Pipeline

Introduction to Computer Graphics with WebGL

3D graphics, raster and colors CS312 Fall 2010

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane

Computer Graphics and Visualization. Graphics Systems and Models

Survey in Computer Graphics Computer Graphics and Visualization

Computer Graphics. Instructor: Oren Kapah. Office Hours: T.B.A.

National Chiao Tung Univ, Taiwan By: I-Chen Lin, Assistant Professor

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

Graphics and Interaction Rendering pipeline & object modelling

Graphics Systems and Models

Graphics for VEs. Ruth Aylett

CSC 8470 Computer Graphics. What is Computer Graphics?

INFOGR Computer Graphics

Overview. Computer Graphics CS324. OpenGL. Books. Learning Resources. CS131 Notes. 30 Lectures 3hr Exam

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

0. Introduction: What is Computer Graphics? 1. Basics of scan conversion (line drawing) 2. Representing 2D curves

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

CSE528 Computer Graphics: Theory, Algorithms, and Applications

Computer Graphics. Bing-Yu Chen National Taiwan University

Graphics for VEs. Ruth Aylett

CS 464 Review. Review of Computer Graphics for Final Exam

INTRODUCTION. Slides modified from Angel book 6e

CSC Graphics Programming. Budditha Hettige Department of Statistics and Computer Science

Computer Graphics - Chapter 1 Graphics Systems and Models

Course Title: Computer Graphics Course no: CSC209

COMP30019 Graphics and Interaction Rendering pipeline & object modelling

Lecture outline. COMP30019 Graphics and Interaction Rendering pipeline & object modelling. Introduction to modelling

Level of Details in Computer Rendering

Computer Graphics Introduction. Taku Komura

Computer Science 175. Introduction to Computer Graphics lib175 time: m/w 2:30-4:00 pm place:md g125 section times: tba

Books: 1) Computer Graphics, Principles & Practice, Second Edition in C JamesD. Foley, Andriesvan Dam, StevenK. Feiner, John F.

Pipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11

QUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION

Game Programming. Bing-Yu Chen National Taiwan University

CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK

I expect to interact in class with the students, so I expect students to be engaged. (no laptops, smartphones,...) (fig)

Computer Graphics I Lecture 11

CIS 581 Interactive Computer Graphics

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL

Pipeline Operations. CS 4620 Lecture 10

COM337 COMPUTER GRAPHICS Other Topics

Computer Graphics. Illumination and Shading

Introduction. Chapter Computer Graphics

Pipeline Operations. CS 4620 Lecture 14

Computer Graphics. Chapter 1 (Related to Introduction to Computer Graphics Using Java 2D and 3D)

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Computer Graphics Global Illumination

VTU QUESTION PAPER SOLUTION UNIT -1 INTRODUCTION

Visualisatie BMT. Rendering. Arjan Kok

An Introduction to Geometric Modeling using Polygonal Meshes

Some Resources. What won t I learn? What will I learn? Topics

EF432. Introduction to spagetti and meatballs

Modeling the Virtual World

1. Interpreting the Results: Visualization 1

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside

Chapter 7 - Light, Materials, Appearance

Introductionto ComputerGraphics

CPSC / Illumination and Shading

REYES REYES REYES. Goals of REYES. REYES Design Principles

Computer Graphics. Lecture 02 Graphics Pipeline. Edirlei Soares de Lima.

Computer Graphics Disciplines. Grading. Textbooks. Course Overview. Assignment Policies. Computer Graphics Goals I

About Phoenix FD PLUGIN FOR 3DS MAX AND MAYA. SIMULATING AND RENDERING BOTH LIQUIDS AND FIRE/SMOKE. USED IN MOVIES, GAMES AND COMMERCIALS.

2D & 3D Animation NBAY Donald P. Greenberg March 21, 2016 Lecture 7

Volume Illumination & Vector Field Visualisation

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

Welcome to CS 4/57101 Computer Graphics

Graphics Pipeline. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University

Rendering. Mike Bailey. Rendering.pptx. The Rendering Equation

Chapter 4. Chapter 4. Computer Graphics 2006/2007 Chapter 4. Introduction to 3D 1

RASTERISED RENDERING

CS 4620 Program 3: Pipeline

Previously... contour or image rendering in 2D

Image Formation. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

COMPUTER GRAPHICS. Computer Multimedia Systems Department Prepared By Dr Jamal Zraqou

Overview: Ray Tracing & The Perspective Projection Pipeline

Rasterization Overview

Homework #2. Hidden Surfaces, Projections, Shading and Texture, Ray Tracing, and Parametric Curves

6.837 Introduction to Computer Graphics Quiz 2 Thursday November 20, :40-4pm One hand-written sheet of notes allowed

Computer Graphics 1, Fall 2005

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

Topics and things to know about them:

Module Contact: Dr Stephen Laycock, CMP Copyright of the University of East Anglia Version 1

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming

Image Formation. Introduction to Computer Graphics. Machiraju/Zhang/Möller/Klaffenböck

Computer Graphics Global Illumination

Volume Rendering. Computer Animation and Visualisation Lecture 9. Taku Komura. Institute for Perception, Action & Behaviour School of Informatics

MMGD0206 Computer Graphics. Chapter 1 Development of Computer Graphics : History

Computer Graphics CS 543 Lecture 1 (Part I) Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Computer Graphics 1. Chapter 7 (June 17th, 2010, 2-4pm): Shading and rendering. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2010

What is Visualization? Introduction to Visualization. Why is Visualization Useful? Visualization Terminology. Visualization Terminology

Transcription:

CSCI 120 Computer Graphics and Visualization Shiaofen Fang Department of Computer and Information Science Indiana University Purdue University Indianapolis What is computer graphics? Computer graphics is concerned with Producing pictures using computer. Creating pictures (modeling) Presenting pictures (rendering) Interacting with pictures The field of computer graphics Methods and Principles (geometry, physics, optics, etc.) Algorithms and data structures Software/hardware tools Applications 1

3D computer graphics paradigms: Traditional (this course): modeling rendering user interface Modeling Rendering Other paradigms Data visualization image-base rendering Computer graphics vs. image processing/vision graphics Models pictures Image processing/vision Computer graphics applications Entertainment: movie production, animation, special effects, games, Presentation: Web, e-commerce, publishing, computer art, advertisement, education. Design: CAD/CAM, ECAD, fashion design, architectural design. Simulation: complex experiments, flight simulation, surgical simulation, traffic control, power plants, etc. Graphical user interface(gui): bitmap window systems, interface tools, VR systems. Scientific visualization: biological image analysis, medical diagnosis, weather data, satellite data, remote sensing, NASA data, simulation data, etc. 2

Geri's Game : Pixar Typical raster graphics system Graphics processor Input devices memory Frame Buffer D/A converter Monitor (CRT) CPU Graphics processor: a specialized processor for geometric and graphical display operations. 3

Frame buffer Pixel: the smallest screen unit that can be lighted with a color value independently Raster: 2D array of pixels Frame buffer : a 2D array of memory cells made of high speed memory chips, corresponding one-to-one to the raster. Frame buffer cell: the frame buffer memory cell (often called pixel as well) 1 bit: black and white images 8 bits: 256 colors or color index 24 24 bits: 2 RGB colors Red (8 bits) Green (8 bits) Blue (8 bits) 2 32 32 bits: RGBA colors Synthetic image formation Object modeling: 3D geometric models graphics primitives material and optical properties View independent Lighting: Lights ray tracing model Synthetic camera model 4

Synthetic camera model Viewing plane Center of Projection (COP) Object model Graphics architecture Graphics pipeline Scene modeling Viewing transformation clipping Projection Rasterization Graphics API Application programs Graphics API Low-level graphics system application programs OpenGL window systems Operating systems 5

OpenGL examples A simple rotating cube example OpenGL Resources: http://www.opengl.org/ Rendering Rendering hierarchy: rendering methods using different shading models that approximate physical lighting process at different levels, leading to different levels of realism. 1. Wireframe: draw edges only, hidden lines may and may not be removed. 2. Flat shading: each face is shaded uniformly, i.e. drawn with the same color. 3. Smooth shading: different points are shaded differently using an interpolation technique. 4. Special effects: shadowing, texture mapping. 6

7

8 Shading The total amount of light that reaches the eye from a point:,0) max(,0), max( m h m h P m s m s L where f s s d d a a P I L I I I

Global illumination Global illumination model: lights that reach a point by reflection from or transmitted through other objects are also considered in shading computation. Graphics pipeline architecture is not suitable Ray-tracing model: tracing the light rays coming to the eye backwards. to eye Examples 9

Radiosity Light Energy Conservation: in a closed environment (enclosure), light energy emitted or reflected by each surface will be reflected or absorbed by other surfaces in the same enclosure. Radiosity method first determines all light interactions in an enclosure in a view independent way, and then renders the scene from different view points. Radiosity is treated the same as color intensity in the rendering process. 10

What Is Visualization? Visualization: transformation of data/information into pictures Scientific Visualization Data from science, engineering, medicine, etc. Is a method of computing: exploration, simulation, discovery, insight. Data are usually homogeneous with predefined spatial structures. Information Visualization Abstract Data: WWW documents, file structures, relationships, financial data, etc. Usually heterogeneous without spatial structures. 22 11

Examples Terrain geometry: Terrain Texture: (10,20,21), (12,13,14), (13,32,12),..., (1,2,3), (2,4,5),(3,5,6),... (23,34,54), (23,34,23), (45,26,78),... Time 0: Volumetric cloud cover: 0, 0, 12, 14, 15, 15, 17, 12, 23, 45,... Wind vectors: (0.2, 0.3, 0.93,5), (0.4,0.5,0.76,12),..., Time 1: Volumetric cloud cover: 0, 0, 11, 12, 13, 16, 20, 12, 32, 45,... Wind vectors: (0.4,0.5,0.76,12),(0.5,0.5,0.7,6),... 24 12

Train schedule Paris-Lyon, 1880s 25 26 13

Napoleon s Russia campaign, 1812, plots 6 variables on a 2D graph 27 Graphical Display (example) fear-rage graph 28 14

Graphical Integrity -- What To Avoid In Visualization The Lie Factor = Size of effect shown in Graphic Size of effect in Data Example: fuel economy standards 29 Visual Perceptions Visual Memory is Limited We are sometimes not very sensitive to small visual changes Visual perception can be influenced contrast and surrounding environment 30 15

How many black dots? 31 Seeing parallel lines 32 16

Visualization Design Data Filtering Visual Mapping View Selection and Interactions Aesthetics in Visualization Metaphor in Visualization 33 Data Filtering Determining the optimal amount of information a certain visualization process can handle. Two approaches 1. Let the users choose the data scale to visualize 2. Multi-view or multi-display 34 17

Visual Mapping People s prior knowledge can help visual perception From data elements to visual elements 35 The Wind Map 36 18

View Selection and Interaction Visual Interaction Zoom and Roll Controlling color mapping. Controlling visual mapping of data. Data zooming and filtering Level of Detail control 4D data visualization using scatter plot and parallel coordinates 37 Aesthetics in Visualization Focus Balance Simplicity - Labels - Networks - Color 38 19

Visual Metaphor A visual metaphor maps the characteristics of some well understood source domain to a more poorly understood target domain (data) so as to render aspects of the target understandable in terms of the source. 39 Trees 40 20

Rivers 41 Ferris Wheel 42 21

Sunflower 43 Scientific Data Scanning devices: Biomedical imaging Surface scanners Geographic sensors Computation (mathematical) processes Simulation Computational fluid dynamics Measuring weather, satellite, statistical data, etc. 44 22

45 Information Visualization Visualization of abstract information structures An appropriate visual representation of information needs to be carefully designed Visual navigation and manipulation tools need to be provided. Often combined with data exploration/data mining techniques. 46 23

Parellel Coordinates 47 Scatter Plot Matrix 48 24

Treemap : file system 49 Cone Tree 50 25

Graph Graph: Arc Diagram 26

Story-Flow: Inception 53 Wordle: http://www.wordle.net I Have a dream Wordle 27