Fractal landscapes with OpenGL
Posted: Thu May 08, 2008 11:05 pm
This was the first program I tried to make use OpenGL, I had previously written a version which rendered the whole thing in "software mode". Going further back, I had written it earlier in QuickBASIC, back then in 1991. And going even further back, I first wrote it in TurboBASIC XL on my Atari 800XL computer, in 1987 or so...
Here's an updated version of the program, using OpenGL display lists for speed. My earlier (aborted) try was way too slow... that's why my other program was the 'first successful' one.
http://rapidshare.com/files/113553614/FracLand8.zip
Use the mouse to rotate (left buton) or zoom (right button) the view, SPACEBAR to generate a new fractal landscape, ESC to quit the program.
Be patient when first loading the program, it takes a while to generate the heightmap as a 512x512 matrix before anything is displayed...
Here's an updated version of the program, using OpenGL display lists for speed. My earlier (aborted) try was way too slow... that's why my other program was the 'first successful' one.
http://rapidshare.com/files/113553614/FracLand8.zip
Use the mouse to rotate (left buton) or zoom (right button) the view, SPACEBAR to generate a new fractal landscape, ESC to quit the program.
Be patient when first loading the program, it takes a while to generate the heightmap as a 512x512 matrix before anything is displayed...