Docsity

Introduction to Computer Graphics: Principles and Applications, Slides of Computer Graphics

Partial preview of the text

Download Introduction to Computer Graphics: Principles and Applications and more Slides Computer Graphics in PDF only on Docsity!

CSE 4207: Computer

Graphics

Introduction

DR. SK. MD. MASUDUL AHSAN

PROFESSOR

DEPT. OF CSE, KUET

Computer Graphics  (^) Computer Graphics commonly mean the creation, storage and manipulation of geometric objects (modeling) and their images (rendering)  (^) ~ is concerned with the creation and manipulation of synthetic images and animations using the aid of computer. Computer graphics are pictures and movies created using computers – usually referring to image data created by a computer specifically with help from specialized graphical hardware and software.

  • wikipedia

Why Study Computer Graphics?  Graphics is cool  (^) I like to see what I’m doing  (^) I like to show people what I’m doing  Graphics is interesting  (^) Involves simulation, AI, algorithms, architecture…  (^) I’ll never get an Oscar for my acting  (^) But maybe I’ll get one for my CG special effects  Graphics is fun  (^) Very interdisciplinary  (^) Within CS: systems, compilers, languages, computer architecture, algorithms, numerical techniques  (^) Math, physics, art, perception, architecture, manufacturing  (^) Helps you understand why the world looks the way it does  (^) You can “see” the result

What drives computer graphics?  (^) Movie Industry  (^) Movie production, Animations, Special Effect (super reality)  (^) Big budgets and tight schedules  (^) Defines our expectations

What drives computer graphics?  (^) Game Industry  (^) The newest driving force in CG  (^) Why? Volume and Profit  (^) This is why we have commodity GPUs  (^) Focus on interactivity  (^) Cost effective solutions

What drives computer graphics?  (^) Computer Aided Design  (^) Structural design – design of buildings, bridges, car, aircraft, many more  (^) Electrical circuit, mechanical design  (^) Integration of computing and display resources  (^) Reduced design cycles == faster systems, sooner

Graphics Applications  (^) Medical Visualization  (^) Tools for visualizing diagnosis  (^) No cheating or tricks allowed  (^) Drive issues of precision and correctness  (^) Focus on presentation and interpretation of data  (^) Construction of models from acquired data

PROF. DR. SMM AHSAN, CSE, KUET (^14) Graphics Applications  (^) Scientific Data Visualization  (^) CG is superb tool for presenting complex scientific data in a way that can be easily grasped Airflow around a Harrier Jet (NASA Ames)

What’s Our Scope?  (^) Not a Tutorial on Commercial Software  (^) 3DMax, Maya, Photoshop, etc.  (^) Not about Graphics Business  (^) 3D online-game, E-commerce, etc.  (^) Graphics = Algorithm for Visual Simulation  (^) Modeling, Rendering, Animation

Computer Graphics - Main Themes  (^) Imaging  (^) Representing 2D images  (^) Modeling  (^) Representing 3D objects  (^) Surface Modeling  (^) Solid Modeling  (^) Procedure Modeling  (^) Simplification  (^) Rendering  (^) Constructing 2D images from 3D models  (^) Polygonal Rendering  (^) Global Rendering  (^) Texture Mapping  (^) Animation  (^) Simulating changes over time  (^) Keyframe Animation  (^) Inverse Kinematics  (^) Dynamics  (^) Motion Capture

Application stage

 Entirely done in software by the CPU

 Read Data

 the world geometry database,

 User’s input by mice, trackballs, trackers, or sensing gloves

 In response to the user’s input, the application stage change the

view or scene

PROF. DR. SMM AHSAN, CSE, KUET Geometry Stage 31

Model Transformation

Modelling: shapes

Shading: reflection and lighting

Transformation: viewing

Hidden Surface Elimination

Rasterization Stage

An example thro’ the pipeline…

The scene we are trying to represent:

Images courtesy of Picture Inc.

PROF. DR. SMM AHSAN, CSE, KUET Preparing Shape Models  (^) Designed by polygons, parametric curves/surfaces, implicit surfaces and etc.  (^) Defined in its own coordinate system 34