introduction to computer graphics ii

19
Introduction to Computer Graphics Part II Ing. Andrés Adolfo Navarro Newball, MSc, PhD Senior Lecturer and Researcher Pontificia Universidad Javeriana, Cali, Colombia With the support of: Dr. Edmond Prakash, University of Bedfordshire What do you see in this image?

Upload: aannewball

Post on 07-Nov-2014

1.983 views

Category:

Education


1 download

DESCRIPTION

Introduction to Computer Graphics I

TRANSCRIPT

Page 1: Introduction to Computer Graphics II

Introduction to Computer GraphicsPart IIIng. Andrés Adolfo Navarro Newball, MSc, PhD

Senior Lecturer and ResearcherPontificia Universidad Javeriana, Cali, Colombia

With the support of: Dr. Edmond Prakash, University of Bedfordshire

What do you see in this image?

Page 2: Introduction to Computer Graphics II

Review What is computer graphics Bitmap / Pixmap Colour models Graphics pipeline Applications

Computer Science Department, Pontificia Universidad Javeriana, Cali

Page 3: Introduction to Computer Graphics II

Computer Science Department, Pontificia Universidad Javeriana,

Cali

Page 4: Introduction to Computer Graphics II

What is a GPU?

Computer Science Department, Pontificia Universidad Javeriana, Cali

Page 5: Introduction to Computer Graphics II

Pixel Processing Question?How do we accomplish ‘realism +

realtime’ on a PC today?

Computer Science Department, Pontificia Universidad Javeriana,

Cali

Page 6: Introduction to Computer Graphics II

PixelWhat is a pixel?

Pixel or picture element is the smallest addressable point on the display device (eg. a dot on the LCD display).

What is pixel processing?An algorithm or a sequence of algorithms that are used to compute the color or appearance of every pixel. The GPU is designed in such a way that every pixel can be processed concurrently.

Computer Science Department, Pontificia Universidad Javeriana,

Cali

Page 7: Introduction to Computer Graphics II

Question: How many polygons do we need for the pavement?

Computer Science Department, Pontificia Universidad Javeriana,

Cali

Page 8: Introduction to Computer Graphics II

From the video Realism techniques Realtime techniques Visual effects

Computer Science Department, Pontificia Universidad Javeriana,

Cali

Id Engine

Page 9: Introduction to Computer Graphics II

GPU vs CPU A GPU is tailored for highly parallel

operation while a CPU executes programs serially

For this reason, GPUs have many parallel execution units and higher transistor counts, while CPUs have few execution units and higher clockspeeds

GPUs have significantly faster and more advanced memory interfaces as they need to shift around a lot more data than CPUs

Page 10: Introduction to Computer Graphics II

The GPU pipeline The GPU receives geometry information

from the CPU as an input and provides a picture as an output

Let’s see how that happens

hostinterface

vertexprocessing

trianglesetup

pixel processing

memoryinterface

Page 11: Introduction to Computer Graphics II

Programmability in the GPU

Vertex and fragment processing, and now triangle set-up, are programmable

The programmer can write programs that are executed for every vertex as well as for every fragment

This allows fully customizable geometry and shading effects that go well beyond the generic look and feel of older 3D applications

hostinterface

vertexprocessing

trianglesetup

pixel processing

memoryinterface

Page 12: Introduction to Computer Graphics II

Modern GPU has more ALU’s

Page 13: Introduction to Computer Graphics II

GPU: A Specialized Processor

Very Efficient For Fast Parallel Floating Point Processing Single Instruction Multiple Data Operations High Computation per Memory Access

Not As Efficient For Double Precision Logical Operations on Integer Data Branching-Intensive Operations Random Access, Memory-Intensive Operations

Page 14: Introduction to Computer Graphics II

Example

Page 15: Introduction to Computer Graphics II

04/08/2023 15

CELL processor

Page 16: Introduction to Computer Graphics II

Cell3.2 GHz

RSX®XDRAM256 MB

I/O Bridge

HD/HDSD

AV out

20GB/s

15GB/s

25.6GB/s

2.5GB/s

2.5GB/s

BD/DVD/CD ROM Drive

54GB USB 2.0 x 6

Gbit Ether/WiFi Removable   StorageMemoryStick,SD,CF

BT Controller

GDDR3256 MB

22.4GB/s

PS3 Architecture

Reality Synthesizer

Page 17: Introduction to Computer Graphics II

The RSX® Graphics Processor Based on a high end NVidia GeForce 7800 chip

Fully programmable pipeline: shader model 3.0 Floating point render targets Hardware anti-aliasing ( 2x, 4x ) 256 MB of dedicated video memory

PULL from the main memory at 20 GB/s HD Ready (720p/1080p)

720p = 921 600 pixels 1080p = 2 073 600 pixels a high end GPU adapted to work with the Cell Processor

and HD displays

Page 18: Introduction to Computer Graphics II

Power of GPUsNext Generation Effects

Next-Generation Instancing Per-pixel Displacement Mapping Procedural Growth Simulation

Page 19: Introduction to Computer Graphics II

TOP 10 Supercomputer Architectures http://www.top500.org/

1 Tianhe-1A - NUDT TH MPP, X5670 2.93Ghz 6C, NVIDIA GPU, FT-1000 8C2 Jaguar - Cray XT5-HE Opteron 6-core 2.6 GHz3 Nebulae - Dawning TC3600 Blade, Intel X5650, NVidia Tesla C2050 GPU4 TSUBAME 2.0 - HP ProLiant SL390s G7 Xeon 6C X5670, Nvidia GPU, Linux/Windows5 Hopper - Cray XE6 12-core 2.1 GHz6 Tera-100 - Bull bullx super-node S6010/S60307 Roadrunner - BladeCenter QS22/LS21 Cluster, PowerXCell 8i 3.2 Ghz / Opteron DC 1.8 GHz, 8 Kraken XT5 - Cray XT5-HE Opteron 6-core 2.6 GHz9 JUGENE - Blue Gene/P Solution10 Cielo - Cray XE6 8-core 2.4 GHz