70 likes | 294 Views
Fractal Terrain Generator. Cale Donk Mark DiCostanzo. Implementation. Diamond-square fractal terrain generation algorithm in Java Height map translated into polygon strips in OpenGL pipeline via JOGL. Algorithm. Source: http://gameprogrammer.com/fractal.html. Algorithm 2.
E N D
Fractal Terrain Generator Cale Donk Mark DiCostanzo
Implementation • Diamond-square fractal terrain generation algorithm in Java • Height map translated into polygon strips in OpenGL pipeline via JOGL
Algorithm Source: http://gameprogrammer.com/fractal.html
Algorithm 2 Source: http://gameprogrammer.com/fractal.html
Features • Color values translated to specific height zones. These represent things like trees, rocks, snow… can be controlled in real time. • User controls complexity of terrains. • Terrains can be navigated through and rotated as desired.
Reflection • JOGL is pretty easy to use and it was nice to use Java & Eclipse • Would like to: • Map textures rather then simple color values to surfaces. • Add more flight effects (pitch, roll, …) • Do more preprocessing