Good news! I have finally managed to get around to producing something with my noise function that I discussed last week
. I have wanted to play around with some graphics programming after doing my final year graphics coursework, so I decided to learn the basics of OpenGL, as well as refresh my memory on C++. This has also been somewhat inspired by Shamus Young
's various similar projects
which he has posted many updates on
I'm not planning to be anywhere near as ambitious as these projects, nor do I have any specific goals for what I want to achieve, but I did want to do some procedural terrain generation, hence why I started by creating 2D height-maps procedurally. This was then followed up with large amounts of shouting at the Internet while trying to understand the basics of OpenGL. Most of the resources with regards to OpenGL are pretty undecipherable at first, but I found that looking at some small open source examples (most notably the SDL implementation
of the OpenGL gears) and reading through this
helped a lot.
This is where I am currently at:
|Almost looks like some kind of terrain I guess?|
Currently my program can generate a single segment of terrain of arbitrary size, using terrain quads of arbitrary size as well. There are also some very rudimentary controls for controlling the camera. I am planning to expand this to allow the dynamic creation of new terrain sections while moving around the world, textured terrain, improved lighting and anything else I think of as I go along.