Sunday, 9 December 2007

Going into details of old codes

I had to go and fix, change and test some codes while moving on with the world generation code. Internal flora was colored by outside lights and the flora overwrote some cave limiter rocks making the outside hill badly visible from inside the cave! :-) You can experience this in the previous release I think. But before that a bit based boundary was implemented which stores the areas that the Geography may occupy. The previous version which stored the boundary coordinates in a hashset filled with Integer coordinates was slow and memory eater. Bit based I could create several layers of World sized Geographies of forest/plain in a world size of 10 thousands * 10 thousands Cubes with a 10x10 Cubes sized area granulation which means 1000x1000x100 bits sized data stored in the so-called WorldSizedBitBoundaries' byte array. Then I created a frame for the big map window to make it nicer. All is inside SVN!

6 comments:

theothethiveking said...

flora appears and dissapears randomly, this confusing >_<

Paul said...

Where do you experience this problem? In the Cave or somewhere else?

theotherhiveking said...

normal terrain.

Paul said...

I cannot reproduce this problem. Is it easily reproducible? Which version are you using? SVN or the last release? (If later, can you test the SVN version?)

theother... said...

svn, anyway i will try to record it ;)

Paul said...

that would be really cool, some kinda screenshot before and while seeing the thing.

Twitter