I'm building a big 3D Open World, but i'm not sure how I should go about it.
The engine i'm coding is DataDriven, and it reads from a File to know how many objects to create and of which class and where to place them in the world.
For now I can build as big as I want, but for performance issues, I build in a square area that spans from x: - 48 to x: 48 and from z: -48 to z: 48
I was thinking about separating my loaded scene in four (4) equal square zones , and from there once in a zone, already load the file for the second coming zone, so that view distance can keep up and so have a seamless kind of loading for zone transitions.
And so as you advance, you stop loading the first previously loaded file and keep the current one and also move on to the next one.
So In total you would be loading from two files (2) at the same time and so would be covering a zone that would span across two (2) adjacent squares of 96 coords in x and 96 coords in z.
But depending on where you're at in the zone you are actually walking in, the program would determine zone you are moving towards and zone load the appropriate file.
What do you guys think.
It's an open world a la Morrowind or Daggerfall.
Edited by Cydriic, 05 July 2014 - 08:58 AM.