More Landscape

I have to travel more. It seems that of all the places I tried, I can work best in an ICE. Thanks to a long train journey yesterday and few changes I made today, the level editor for my iPhone train simulator improved a lot.

The same landscape as last time now has grass and rocky surfaces

As you can see, I can now paint textures like grass or rocks onto the map. I can do this in various sizes and at different angles, to get some degree of variance in there.

What you can’t see is that the code for editing the heights has been completely reworked. Just like drawing, it now rests entirely on the GPU. This means I don’t have to have two different code paths for very similar issues, and I could fix a problem relating to mountains at the same time. Apart from that, rendering to a vertex buffer is just a cool technology that I just wanted to try out.

Next, I’ll try to get such a landscape to show up on my iPod touch. After that, it’ll be things like objects, forests and of course rails.

Written on June 29th, 2009 at 01:36 pm


    New comments can no longer be posted because it got to annoying to fight all the spam.