Terrain generation
by Devin Vasquez
Idea: perlin noise
goal to create terrain using perlin noise and height maps.
I want to use perlin noise to generate a height map.
-perlin noise
-height map
-camera going throught the terrain
Created grid using GL_QUADS and Changed to GL_TRIANGLES to create the my new grid. Created a wifeframe using the flag program given by Gordon.
Using perlin noise to create bumps and got lighting to work by normalizing the vectors got a functional camera by modifying the camera used in plasma lab
First tried using a skybox in first image, but switched to a dome to making texturing it easier. Using a dome to create a sky using a texture. First texture attempt was having issues.
I got the sky texture to show using a half-sphere and got the sphere using GL_QUAD_STRIP. I had an issue with the first texture I used and using a different fixed the issues I was having.
using the same method from our perlin lab to color the terrain. Checking the height of terrain and if its within a certain range, the color would be brown(lowest), green(mid), and white (highest)