Equalizer logo
Collage logo
GPU-SD logo

eqHello: Hello World!

Hello, World!
Hello, World!

The eqHello example is a minimal application to illustrate the basic principle of an Equalizer application: The application developer has to implement the rendering method Channel::frameDraw, similar to the glutDisplayFunc in GLUT applications. It can be run as a stand-alone application from the command line.

The eqHello redraw function renders six rotating, colored quads around the origin. The frameDraw method provided by the eq::Channel can be used as a convience function to setup the frustum and other OpenGL state. After setting up some additional lighting parameter, eqHello rotates the scene and render the quads using immediate mode rendering.