Internals
Blokworld :: Development :: Status
Page 1 of 1
Internals
I've been reworking the landscape update code to better cater for large areas being updated simultaneously and also to better handle single threaded execution.
I've basically taken the complete update cycle and streamlined it. Blocks can be changed (or block regions) through a single point and the chunks are updated for drawing again through a single point.
It can run single or dual threaded.
The single point for block changes will be important for saving the world as it's modified as i intend on saving changes rather than chunks, with some sort of versioning control.
I'm currently rejigging the liquid processing to fit in with these changes.
Unfortunately there's not much to see with this sort of stuff so no new video incoming.
I've basically taken the complete update cycle and streamlined it. Blocks can be changed (or block regions) through a single point and the chunks are updated for drawing again through a single point.
It can run single or dual threaded.
The single point for block changes will be important for saving the world as it's modified as i intend on saving changes rather than chunks, with some sort of versioning control.
I'm currently rejigging the liquid processing to fit in with these changes.
Unfortunately there's not much to see with this sort of stuff so no new video incoming.
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Re: Internals
Yea,
Think i've got the sea filling out again with the new update method. Still fills too slow. On a fill front there is a lot of relighting and regenerating meshes going on, far too much.
This was a previous problem too, but the new update method should allow me expand re-lighting areas on the fly before they are processed, reducing the number of re-light calls and thus the number of chunks that need meshes generated.
Think i've got the sea filling out again with the new update method. Still fills too slow. On a fill front there is a lot of relighting and regenerating meshes going on, far too much.
This was a previous problem too, but the new update method should allow me expand re-lighting areas on the fly before they are processed, reducing the number of re-light calls and thus the number of chunks that need meshes generated.
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Re: Internals
Sea filling at a great speed now. Will fill areas around 20 x 20 x 20 blocks in size in a couple of seconds.
Sea fill slows down based on the size of the 'front', but i can't really avoid that since a larger front means more chunks needing redrawn.
To complete this area i think all i need to do is a slow pass over the world to restart areas that have stopped because they were too far away from the player.
Sea fill slows down based on the size of the 'front', but i can't really avoid that since a larger front means more chunks needing redrawn.
To complete this area i think all i need to do is a slow pass over the world to restart areas that have stopped because they were too far away from the player.
Slaihne- Posts : 264
Join date : 2011-03-17
Age : 56
Blokworld :: Development :: Status
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Fri Jul 01, 2016 7:25 am by croxxx
» Source?
Thu Jul 12, 2012 9:55 am by raistlinthewiz
» Version Available (Take 2)
Sat Jun 09, 2012 3:23 am by kamild1996
» Terrain Rendering Bug
Thu May 17, 2012 8:07 am by sackboy789
» Mystery Block!
Thu Mar 29, 2012 4:42 am by Corvin73
» Your procedural tree/plant seeding technique?
Sat Mar 24, 2012 3:10 am by Slaihne
» Voxeliq project
Wed Mar 07, 2012 4:25 am by raistlinthewiz
» What is a Tech-Test?
Wed Jan 18, 2012 12:32 pm by joeydmars
» Images
Fri Jan 06, 2012 6:02 am by croxxx