Friday, February 26, 2010

Walls and floors

I was thinking of a way to do ramps and stairways. After a lot of thought I found a way, and, in the process of adding it, I also made it separate the walls and floors properly, and the walls are now more upright.

My next task will be speeding up the renderer. It is going at about 5-7 FPS at 800x600 at the moment, but I think it can go much faster.

I might also experiment with adding ramps.

Monday, February 22, 2010

Texture alignment

Though you might not see much difference, the changes that I made are important during gameplay. All the stone type boundaries were off by a half cube along all three axes.

I had to modify the terrain shader program extensively, and unfortunately doubled the amount of texture memory required. This means that, to run on computers with 64MB texture memory, the application would need to use lower resolution textures. This is not a problem though, since I believe such graphics cards would not support my shader program anyway.

Friday, February 19, 2010

Again with the rocks

I made the texturing work properly. Just look at this beautiful red sandstone.

Afterward, I added the support for multiple rock types. It is not working nearly as well as this screenshot might lead you to believe. I think I should have stuck with red sandstone, rather than this yellow type. Also, the limestone is looking very blue due to the depth cue. I should fix that.

I am still deciding between using natural stone colors, classifying stone colors, or abstract stone colors.

Thursday, February 18, 2010

Stealth ninja stone

I implemented terrain material texturing today, and created some bright orange stone with which to test it.

Rocks that rock

I made the rock more rock-like and irregular, increased the texture detail and experimented with adding color to the rock.

I also experimented with making the rocks less round, but did not meet with success. I will leave this for much later; there are more important things to focus on.

I will either add soil and sand next, or modify it to allow different kinds of rock with different colors and patterns.

Wednesday, February 17, 2010

Depth and clarity

Today I added the depth cue. It makes it easier to see what is behind what and how far behind it is.

I also managed to make the inside of the rocks black.

Tuesday, February 16, 2010

Some visual upgrades

I have made the stone a bit more matte and fixed a bug in the texture generator. The bug was causing some warping, stopping stuff from fitting nicely.

I have been experimenting with different strengths of my current procedural detail-adder, but I think I should try to create a more rock-like procedure.

Procedural detail strength = 0.15:

Procedural detail strength = 0.5:

The lower strength gives a clearer image, but the higher strength looks more rocky. I'll be going with 0.15 for now, but I will reevaluate this when I have added some depth cues and created a more rock-like procedure.

Introducing Nation Builder (working title)

Since my game, Nation Builder (working title), is starting to take shape, and I think that blogging my progress will make me more devoted, I have created this blog.

The game was originally invented by my brothers and myself and was supposed to be a city-building game with ant-people, medieval technology, trade, warfare, magic and some machines. Back then I called it Formicarium.

Meanwhile, many many years have passed, and Tarn Adams and his brother Zach envisioned their own, similar, idea, and have actually implemented it. If you haven't tried Dwarf Fortress already, I recommend that you try it at your earliest convenience.

Having played Dwarf Fortress, and learned from it, I have decided to create my own game. While it won't be Formicarium, it also won't be Dwarf Fortress 3-D. Compared to DF, my development process will be more focused on tangible-during-gameplay results, rather than nifty tiny details.

Here is a screen shot of what I have so far. This terrain is full 3-d, like Dwarf Fortress would be with graphics, but not 2.5-d like most games. This means you can dig tunnels and build bridges as part of the terrain, rather than as separate objects. (not pictured)