OpenlGL Projects

Hey All I am going to sort all my OpenGL programs within the “OpenGL Projects” section.

Pretty clever, huh?

Obviously everything posted within this section is open source— why else would you care if it was OpenGL—All this goodness comes with the disclaimer that even thought I have done as much as I can to insure the quality of my programs I do not claim the programs won’t jump out and kill you or your friends, family and/or your computer…

If this does happen—I’m terribly sorry…

Since I do use DirectX as a front-end for games occassionally, I’m electing to keep them seperated since some people might have a preference for one and not hte other. So if DirectX is your cup of tea—this isn’t the section for you.

First Demo - Simple Menu

My first OpenGL demo was a simple menu. It is written in C/C++ and creates a seies of small, dragable windows. Each window also has at least one “frame” and “button”. The buttons are clickable and change the alpha of the window (making it less or more visible depending on which is clicked).

A Simple Menu

Background
At the time I had been delving into x86 assembly on the Win32asmcommunity.net forums – My handle was Sliver and I was a fairly active member. I had been using directx for a couple of years at that point, however, I stayed away from opengl (unfairly) because I thought it was not at powerful.

I have since done a 180 and now use OpenGL almost exclusively—except for Direct Sound, which I still prefer over fmod for certain things.

This was also a port from the menu written by Jan Horn’s delphi example. I didn’t know delphi at the time so that made this more challenging to port.

Sadly, I found that Jan Horn passed away 06 June 2002. This really did inspire me to continue the tradition of great open source demo’s. I don’t know who you were Jan, but thanks.

Downloads

Click here for a other articles in the opengl section.

Posted on Apr 2, 02:36 PM by Walter Reid

Keep them coming!

Craig Keltin | Apr 2, 04:11 PM | #

Add Your Comment

You may use textile in your comment.