Presentation is loading. Please wait.

Presentation is loading. Please wait.

Programmable Graphics Hardware Languages A Survey of Cg, GLSL and HLSL Oliver Wang.

Similar presentations


Presentation on theme: "Programmable Graphics Hardware Languages A Survey of Cg, GLSL and HLSL Oliver Wang."— Presentation transcript:

1 Programmable Graphics Hardware Languages A Survey of Cg, GLSL and HLSL Oliver Wang

2 Why programmable hardware? Demand for realism RenderMan and Pixar The Matrix Playstation 2

3 Why programmable hardware? Online vs. Offline Moore’s law and graphics Speed and Realism Vertex and Fragment Shaders

4 What are shaders? Small stream programs Fixed-pipeline vs. Programmable shaders Provide creative flexibility

5 Examples

6

7 Shading language design goals Ease of programming Portability Support hardware functionality Expandable Performance General purpose?

8 Main C differences Sequential vs. Stream Program communication Indirect addressing Instruction set Small programs


Download ppt "Programmable Graphics Hardware Languages A Survey of Cg, GLSL and HLSL Oliver Wang."

Similar presentations


Ads by Google