plate9x2.kv6 crashes slab6 when ins/del voxels in Scroll Lock mode.
Yeah. Scroll Lock mode is dangerous. It was a hack near the end of the project. I'd rather rewrite SLAB6 from scratch than relearn that mess of code.
make junk key use > 3 colors
I released the source code to SLAB6 for a reason. See the junkcolors() function.
Multithread : P
Slab6 currently renders the voxels in back to front order, using the properties of the grid to sort the voxels. This is not suitable for multithreading. I would have to rewrite the rendering code, probably using a raycasting style algo, to support multithreading nicely.
function to create perfect sphere primitives
You should use Evaldraw to generate models like that. For example, this script generates a sphere model:
(x,y,z,&r,&g,&b) { r = 128; g = 128; b = 128; return(x^2 + y^2 + z^2 < 1^2); }
Once ready, select your resolution using F7/Shift+F7, and finally press F6 to save the model to KV6 file.
increase the voxel grid size limit from 255^3 to 1024^3.
X and Y can be increased by changing 2 defines (MAXXSIZ/MAXYSIZ) at the top of SLAB6.C. The Z is limited currently, because I am using some "char" array. It would take some time to fix that.
inverse hollow fill (replace interior voxels with air)
Interesting idea. What worries me is there is an endless number of ideas like this. I'm thinking my next sprite voxel editor should have some kind of scripting support which could support features like this.