Terrain Generation Complete

May 16th, 2009


My university term is now over, which means my terrain generation application has been completed and handed in.

The project page is here, where you can download the executable and source, and watch a high-definition video of the generator in action.

Here’s some screenshots of the application at various stages during development:
textured100over20fnoise

Pertty lights in first-person mode.watershaderonterrain

Dare

April 29th, 2009


We got in!

So excited, I can’t wait for it to begin.

Waiting to hear back after the interview was nerve-wracking, though thankfully we were all told whether we’d be taking part before the official announcement was made. As for the interview itself, it went surprisingly well. I can’t speak for everyone, but I was terrified about having to speak, and about what horrible question we might be asked that we hadn’t even considered before. In reality though, the judges were all friendly and the setting for the interview was fairly informal, so we were all relaxed and our presentation went more smootly than in any of the practice runs. It left us feeling that whether or not we got in, it went as well as it could have and there wasn’t really anything we’d later be kicking ourselves over messing up, which I guess is the best outcome you can hope for.

As with in other years of the competition, we’ll have to update blogs and video diaries, so I’ll share a link to those as and when they start existing.

terrainfinishedAnyway, before that I’ve still got some coursework to get through (not a huge amount though – it’s due on Friday after all).

I’ve finished my OpenGL coursework and I’m pretty happy with it – I’ll share some more details, code and the executable itself once I’ve handed it in. Conforming to the requests of UKR’s Blue Skies in Games Campaign I’ve made everything considerabley brighter and more cheerful. I also made some technical improvements as well, so that now the application actually runs at a decent framerate on hardware I can afford to test it on.

Simplex Noise

March 30th, 2009


No huge update, just figured I’d share some screenshots from my terrain generation/openGL project:

Here, several octaves of Perlin noise (on the left) and Simplex noise (right) are layered to produce a fairly bland landscape. At the moment I’m not sure whether to get it a little more bumpy or to leave it flat and try and plot some buildings. These maps both use 2D noise, inputing X and Z coordinates to give a height at each point.

perlinnoise3 simplexnoise2

 
 As these top-down views show, Perlin noise (left) is less ‘active’ than Simplex noise given the same values. Simplex noise is also lacking Perlin noise’s distinctive thread-like patterns.
perlinnoise4 simplexnoise4

 
 These images both show Simplex noise using the same X and Z coordinates, this time using time as a final variable in generating 3D noise in order to allow different landscapes to be produced.
simplextime1simplexnoise2

 
 Finally, here’s the landscape with a river cutting through it. As you can see it still needs some work – the repetitive sin wave is far too obvious at this scale – but the function is actually very flexible and after some experimentation with values and some more variation I think it will be fine.
simplexwithriversimplexwithriver2

 
 The next step is to look at using noise maps to create procedural and possibly animated textures, and getting some water in there.

In other news:

  • We’re demonstrating and handing over our group project game “Some Assembly Required” to the BBC tomorrow. It’s looking rather nice (screenshots and videos to follow) and we might need to do a little more work before our coursework hand-in, but I think the whole team is pretty pleased with the final product.
  • The whole “Variables don’t vary” deal with functional languages is only weird when you stop and think about it. When you actually get to writing code, it isn’t really something you notice. Just a different mindset I guess. In other words, my experimentation with Haskell continues.