Wednesday 28 November 2007

Fixing the World

:-) My expectation is met by the recently appearing problems. Generating the World from scratch shown that there were are and will be (hopefully less) bugs in the system. The World is a globe by default, so if the planet is a big landmass then you can walk all around. Thus I found that the player coordinates' setting lacked much in pair with displaying the World correctly.

There's now a limit introduced: the world minimum size (which is the maximum 3D view distance of the player at the same time) to avoid the possibility to see things twice from the same point of view! :-D It shouldn't be a problem in an absurd reality but it also makes displaying much harder and erroneous. I don't want to handle this silly double view problem, so I remove the possibility. The World constructor will throw an exception when going below the minimum size limit (currently the World must be at least 100 cubes in one direction).

The first tests were done with going all around the globe, returning to the start point. It seems to work correctly! Check the endless p*l*ain shot... ;-D

P.S.: The new Ocean geography is rounding up in SVN. Looks pretty weird though, but cool landmass is being born out of it. :) I should create some kind of world map view soon...uh, big work ahead again...

1 comment:

Anonymous said...

cool

Twitter