Tag Archives: OpenGL

OpenGL weirdness

Try this: and render your display list. Then, try this: I don’t know if its my graphics drivers, or graphics card or perhaps just me, but the top code maxed out at 60 fps while the bottom code ran at … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

2D in OpenGL

After some experimentation, I have finally come to a point where I have written some code that does scaling, rotation and alpha on images that I want to display on the screen. Although the concept of drawing 2D in OpenGL … Continue reading

Posted in Graphics, Programming | Tagged , , | Leave a comment

Vertex Buffer Objects

In my last post I mentioned that if you wanted to draw a large number of things on a screen, you need VBOs. Well, honestly at the time, I only knew what it was but never touched it before. VBOs … Continue reading

Posted in Graphics, Programming | Tagged , , , , , , , | Leave a comment

Playing with GLSL

After puzzling some time over the tutorials in Lighthouse3D, I finally learned how to prepare a GLSL shader and use it in an OpenGL render. In the beginning I thought a shader could be used on a particular set of … Continue reading

Posted in Graphics, Programming | Tagged , , , , | Leave a comment