Video Driver

Preview:

DESCRIPTION

A Hardware-eye View of the Graphics Process. MC Vertices. Vertex Processor. Attribute variables. Input Devices. Uniform variables. CPU. SC Vertices. Varying variables. B u s. Shader Memory. Rasterizer. Network. Display List. Pixel Parameters. Varying variables. Uniform variables. - PowerPoint PPT Presentation

Citation preview

ComputerGraphics mjb – April 2, 2007

VideoDriver

CPU

InputDevices

Double-bufferedFramebuffers

Rasterizer

Cursor

VideoInput

Bus

Network DisplayList

Texture Memory

Z-Buffer

Front

Back

MC Vertices

SC Vertices

Pixel Parameters

RGBAZPixels

MC = Model CoordinatesWC = World CoordinatesEC = Eye CoordinatesCC = Clip CoordinatesNDC = Normalized Device CoordinatesSC = Screen CoordinatesTC = Texture Coordinates

RGBATexels

TC

ShaderMemory

Varying variables

Varying variables

Attributevariables

Uniformvariables

gluLookAt Projection Viewport

NDCECWCMC SCHomogeneous

Division

CC

Uniformvariables

A Hardware-eye View of the Graphics Process

VertexProcessor

FragmentProcessor

Transform

ComputerGraphics mjb – April 2, 2007

CPU

Rasterizer

VertexProcessor

Bus

FragmentProcessor

Vertices

Pixels

A Shader-eye View of the Graphics Process

Interpolated Values

AssembleGeometry

Transformed Vertices

Assembled Primitive

ComputerGraphics mjb – April 2, 2007

Vertices

CPU

Rasterizer

VertexProcessor

Bus

FragmentProcessor

Pixels

A Shader-eye View of the Graphics Process, with Geometry Shaders

Interpolated Values

Transformed Vertices

Assembled Primitive

Create NewGeometry

Assemble NewGeometry

AssembleGeometry

ComputerGraphics mjb – April 2, 2007

Color, LightIntensity

Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity, Color, LightIntensity,

Varying Variables are Interpolated by the Rasterizer

Rasterizer

FragmentProcessor

ComputerGraphics mjb – April 2, 2007

In Hardware, it’s Really Parallel-Processed

Rasterizer

Vertex

Processor

Fragment

Processor

RGBAZPixels

Fragment

Processor

Fragment

Processor

Fragment

Processor

RGBAZPixels

RGBAZPixels

RGBAZPixels

Vertex

Processor

Vertex

Processor

Vertex

Processor

MC Vertices

Recommended