06-09-2014, 09:58 PM
What I meant was idx = Y + X * height + Z * height * width. Chunk sparsing is the main problem with this as far as I can tell. The reason I was thinking about it is that most of the loops optimised for the current order can be easily switched to the YXZ, just change which loop is the outer loop. The advantage is in places like lighting and generator where things are processed column be column.