Hi everybody,
I was looking for a workflow to convert 3D models to sliced image files in order to utilize C3's Z elevation to gain that sort of voxel / fake 3d look. It can be tedious to manufacture the slices by hand, moreover if you have a source 3d model.
Lo and behold, at http://drububu.com/miscellaneous/voxelizer/ one can upload an .OBJ file, provide a texture & voila, voxel cloud.
I downloaded the XML file and parsed it with C3. The result so far:
You can try the c3p here: https://drive.google.com/open?id=1imXi1toPbPT0-vhdc7beSy1WXr3stl9J
Drag & drop the green origin point to see the result.
Next step: Parse through each layer (y-axis in the file) and write a png to reduce the complexity of the voxel model. The example file has 735 points, this method would reduce it to 49 (= height layers).
The method using DrawingCanvas is somewhat sub-par, because it seems like there has to be some latency when pasting objects.
One could then later on use the result e.g. with the sliced objects behavior https://www.construct.net/en/make-games/addons/168/sliced-objects
Cheers!