Code Snippets
What's That?
I am using it actively
I planning to use/learn it
I don't plan to lean/use it
5th option
Home :: Programming :: Projects :: OpenGL :: glwaver

[ glwaver ]

Latest Version: 0.1


glwaver is a simple OpenGL application using SDL as framework library. I have written the code to play around with 'waves' as physical objects. There are two demo modes available in this app that can be chosen: there is a simple rope wave that animates an OpenGL line strip with some given wave attributes. The second wave animates a 64x64 plane with two waves that interfer orthogonally which should be some sort of pseudo realistic water waves. Actually it looks quite okay {grin}.

This application - along with full source code - might be interesting for people who want to integrate some easy to use wave model in their app. I've also coded a little helper class that makes using waves quite easy. Simply take a look at the code.

The code is programmed under linux and I have Unix makefiles only. But as I am using SDL & OpenGL, the same code should compile without changes under Windows or other OS's that are supported by those libraries.

News & History

Version 0.1



glwaver 0.1 source code (337 KB)

 Last edited 2004-07-02 15:21:02 by André Stein - printable version
» copyright by andré stein
» using stCM v1.0
» steinsoft.net revision 5.0