Heavy computing with GLSL – Part 1


Introduction In my previous GLSL post I have shown how to draw a white quad. Since this is not the greatest visual experience, I will show something more interesting you can do with shaders in this post. I have chosen the famous mandelbrot fractal. It's nice and colorful. Quite a fine eyecatcher. Download the code: GLSL_SimpleMandel (windows version) The code was tested on WinXP/ATI-GPU and… [read more →]

Hello GLSL - GLSL Shader App with Qt


In this tutorial we will extend the previous tutorial and make use of a Shader written in GLSL to fill our spinning quad. GLSL is a C-like language you can use to execute code on your GPU (aka graphics card). More sophisticated effects can be achieved with this technique. The point of this tutorial is to show how Qt supports shader programs and how to use them in your application. Download the… [read more →]

Hello Quad (basic OpenGL App with Qt)


Introduction In this first tutorial we will create a simple (I mean really simple...) Qt program to render OpenGL graphics (spinning quad). I will extend the programs you find in the Qt boxes demo and Qt OpenGL examples with a separate thread that does the actual redering to be independent (in terms of framerate) from any GUI interaction or other Qt events. Sourcecode: Tut_01_OpenGL_Setup… [read more →]