Don’t you remember?

19 03 2010

Quick update which is really just me wanting to post some lovely screenshots. Anyway, I rewrote the roads in a more object orientated manner so now there are seperate classes for the two (will be three) seperate types of road and you can adjust the characteristics of each one seperately. So, for example, if you wanted lovely big wandering winding roads but grid patterned smaller roads you can now do that by clicking on the desired road!

I also made the terrain get height function much more accurate which allowed me to create a rather lovely algorithm that finds the best direction for the road to continue on that will see it going up the least steep inclination. Anyway, it’s easier to see with screenshots (of which I have plenty!)

Roads going round the hill!

As you can probably see from the screenshot the road follows the edge of the hill rather than going over it! Anyway, some more screenshots:

Roads going up a hill with buildings

Roads winding up a hill

2 shots from the same perspetive. One with buildings one without. Shows the roads kind of snaking up hill and avoiding the steeper area on the right hand side.

And now for a couple of bmp outputs using my lovely bitmap output tool thingo of generations I left on and forgot about. The bitamp doesn’t output the height yet (it will though, it should be pretty easy since it’s loading the height from a bitmap to begin with! anyway, you can clearly see on the following couple of pictures that roads are following some kind of contour. It looks damn pretty too! Think I’m going to get one of these tattoo’d on my back I love them so much!

Roads on the map, birds eye view.

Same again from a different generation, same parameters as above though!

Anyway, that is all, hope you enjoyed that blog viewer!

Advertisement

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.