introduction to computer graphics ii

Post on 07-Nov-2014

1.984 Views

Category:

Education

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Introduction to Computer Graphics I

TRANSCRIPT

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?

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

Computer Science Department, Pontificia Universidad Javeriana, Cali

Computer Science Department, Pontificia Universidad Javeriana,

Cali

What is a GPU?

Computer Science Department, Pontificia Universidad Javeriana, Cali

Pixel Processing Question?How do we accomplish ‘realism +

realtime’ on a PC today?

Computer Science Department, Pontificia Universidad Javeriana,

Cali

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

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

Computer Science Department, Pontificia Universidad Javeriana,

Cali

From the video Realism techniques Realtime techniques Visual effects

Computer Science Department, Pontificia Universidad Javeriana,

Cali

Id Engine

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

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

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

Modern GPU has more ALU’s

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

Example

04/08/2023 15

CELL processor

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

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

Power of GPUsNext Generation Effects

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

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

top related