Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Voxel rendering question, adding of blocks to a chunk confusion

$
0
0

I am confused about how Voxel chunks works when it comes to addition of new blocks.
All the 'best' tutorials out there including 'Lets make voxel engine' and youtube ones left out the addition/update of new blocks/voxel to the engine.
My question is, if say I have a 16x16x16 chunks in my world and say for example user clicks and add a block, after ray casting, the voxel block detected is part of a chunk that is already full (all 16x16x16 blocks are all filled), what will happen?
does it generate a new chunk and add to chunk …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>