Introduction to GPU Programming with GLSL
Istituto di Scienza e Tecnologie dell’Informazione, CNR, Pisa, Italy
Tutorials of the XXII Brazilian Symposium on Computer Graphics and Image Processing (SIBGRAPI TUTORIALS), 2009
@conference{marroquim2009introduction,
title={Introduction to GPU Programming with GLSL},
author={Marroquim, R. and Maximo, A.},
booktitle={Tutorials of the XXII Brazilian Symposium on Computer Graphics and Image Processing},
pages={3–16},
year={2009},
organization={IEEE}
}
One of the challenging advents in computer science in recent years was the fast evolution of parallel processors, specially the GPU – graphics processing unit. GPUs today play a major role in many computational environments, most notably those regarding real-time graphics applications, such as games. The digital game industry is one of the main driving forces behind GPUs, it persistently elevates the state-of-art in computer graphics, pushing outstanding realistic scenes to interactive levels. The evolution of photo realistic scenes consequently demands better graphics cards from the hardware industry. Over the last decade, the hardware has not only become a hundred times more powerful, but has also become increasingly customizable allowing programmers to alter some of previously fixed functionalities. This tutorial is an introduction to GPU programming using the OpenGL shading language – GLSL. It comprises an overview of graphics concepts and a walk-through the graphics card rendering pipeline. A thorough understanding of the graphics pipeline is extremely important when designing a program in GPU, known as a shader. Throughout this tutorial, the exposition of the GLSL language and GPU programming details are followed closely by examples ranging from very simple to more practical applications. It is aimed at an audience with no or little knowledge on the subject.
March 25, 2011 by hgpu