A network of sites, tools, and technology to bring ideas into reality.

The Digital Tumbleweed

Thoughts and ramblings of an enthusiast

Engine Updates

Haven’t been able to post in a while so I figured a minor update would be good.

Maps

We all know that maps are kindof, somewhat important in games. Something about levels…I don’t know…
Anyway, So I’ve been trying to figure the best way of doing these heightmaps. Do I keep them as a single object that just contains the info read out of image files, or do I create a model out of them and render them that way? I have been leaning towards the model version, but I’m still not convinced it’s the best method.

Because I already had the first version working, I went with that for now at least. Therefore, I’ve got multitextured heightmaps working with detailing based on distances. This has some obvious importance to gamers, but for those that aren’t. The level of detail based on “closeness” is important because it puts less strain on the GPU, but also because the textures show variations with this. We don’t want the same texture to continually show on the map, but we want continuity between the differences.

MultiTextured Heightmap MultiTextured Heightmap MultiTextured Heightmap - Detail Blending

So. What this means is that we’ve got a pretty handy terrain system right now. From this, I was curious about how it would scale with something that was real. So I checked out some GIS tools and found one from the USGS which provided a very large image which I then grey-scaled and imported. The results were pretty nice. Gave me a good idea of how robust the terrain system really is. And, you’ll have to take my word for it that there are hills in here too. :)
MultiTextured Heightmap - Livemap

If you are interested in getting real maps from a GIS tool check out Google Earth. A good tutorial is available at ET: QW-Maps. I recommend taking a look.

Cameras 

So, in addition to the terrain, the camera is extremely important. This provides your view into the world. Now, since you can see screenshots, I’ve obviously had a camera in there and working for some time. So why the post? Well, in the spirit of being robust I’ve been working to try and accommodate both and FPS style camera (matrix based) and a 3rd person camera (Quaternion based) system. This is more difficult than I originally anticipated it being, but it’s coming along.
Models and Animation 

The desire to have models on the screen was great. Then that passed as I got them on. They are really pretty useless and annoying now that they only sit in the middle of the screen, and that when they move they don’t “move”. So, this is one of the next pieces to go into the engine. We will have model animation. However, the real question is, do we let the game developer handle model animations? This is something I’ve been struggling with as a decision.

The reasons are this, not all models are the same. I’m supposed to provide a system for putting models on the screen. But, models are animated in different ways, and at different times. Should the model class be responsible for animating the parts of the model? I don’t believe so. Therefore I think I’m going to have to put those animations into my demo rather than having them in the engine.

Distractions

I know it’s been a while since I posted, but the reasons are this. I’ve been watching more movies, learning to play my new guitar, and reading up on AI techniques. I’ve always loved movies, wanted to learn to play the guitar, and have been interested in AI. At least 1 may lead to something nice for the engine… :)

Leave a Reply