Found where to define the granularity of the surface!

This commit is contained in:
ha7ilm 2016-08-11 22:00:34 +02:00
parent 15ed0c017e
commit 0c5fab0e51

View File

@ -2041,8 +2041,8 @@ function mathbox_init()
if((y=remapResult.y)==undefined) return; if((y=remapResult.y)==undefined) return;
emit(x, y, z+remapResult.zAdd); emit(x, y, z+remapResult.zAdd);
}, },
width: 32, width: 128,
height: 32, height: mathbox_data_max_depth,
channels: 3, channels: 3,
axes: [1, 3], axes: [1, 3],
}); });
@ -2057,8 +2057,8 @@ function mathbox_init()
var r = ((color&0xff0000)>>16)/255.0; var r = ((color&0xff0000)>>16)/255.0;
emit(r, g, b, 1.0); emit(r, g, b, 1.0);
}, },
width: 32, width: 128,
height: 32, height: mathbox_data_max_depth,
channels: 4, channels: 4,
axes: [1, 3], axes: [1, 3],
}); });