jimmyliikala.se
Technology, Portfolio, Engineering, Programming, openGL
  • Home
  • About/Contact
  • Home
  • About/Contact
  • Home
  • /
  • Dev blog

Procedural terrain

A terrain is generated using perlin noise, thereafter stored on the VRAM. Implemented using C++, OpenGL and GLSL. The water is generated from two textures, refractun and reflection texture which are mixed together depending on the fresnel-term. Pernil noise is once again used for the texture coordinates of the water to simulate a wavy look. The terrain is colorized depending on height (which the user can choose) with some perlin noise to obtain some variation. The terrain can be created with arbitrary size, resolution, frequency and number of octaves. Great things can be achieved with some perlin noise!

Note: Further improvements have been made, such as: Vertex normal separation, terrain stored in VRAM, lighting improved, fixed a bug in the fresnel-term calculation.

Development year: 2010
Technologies: C++, OpenGL, GLSL.
Project duration: 3 ECTS (2 weeks).
Project participants: 1.
Course: Procedural Methods for Images, TNM084.

Read more [PDF, swedish]

Screenshots:

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/12-600x450.jpg

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/22-600x450.jpg

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/32-600x450.jpg

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/42-600x450.jpg

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/52-600x450.jpg

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/61-600x450.jpg

    The black lines are the normals.

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/mine-600x450.jpg

    I modified the terrain generator to generate blocky kind of “minecraft style” terrain.

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/208760_10150573918275370_547445369_18344222_6956760_n-600x205.jpg

  • Procedural terrain

    http://www.jimmyliikala.se/wp-content/uploads/2011/12/6-600x450.png

    Terrain together with the GUI.

Previous Image
Next Image

info heading

info content

 

procedural

Posted on December 3, 2011 by Jimmy. This entry was posted in Dev blog. Bookmark the permalink.
Nya Kakenhus
Modelling and Animation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

    Search

    Recent Posts

    • Noise + WebGL equals Maps
    • Google Maps + Twitter = True
    • More noise
    • Voxed based system
    • The Matrix effect, HTML5 Canvas

    Archives

    • February 2017
    • November 2016
    • September 2015
    • April 2015
    • February 2015
    • November 2013
    • April 2013
    • March 2013
    • January 2013
    • December 2011

    Meta

    • Log in
Powered by