I need to visualize a voxelization using gnuplot.
Each voxel is of the form:
x y z [active]
where [active] can be either a 1 or a 0.
The x,y,z is the relative position in a grid, so they're just integers.
An example might be:
0 0 0 1
1 0 0 1
2 0 0 0
...
32 15 20 1
33 15 20 0
34 15 20 1
This seems like it would simplify down to being a 3D Plot with color, similar to this question.
However, I can't use it verbatim, as there are a couple significant differences. The most significant is that my points don't inherently have any connectivity to them, because they're voxels and not points. So drawing it as a sheet as they showed wouldn't work:
Drawing cubes at each point would be great, but I have a feeling that's more complicated than it's worth. Is there any fairly easy way to get a drawing that might get somewhat close? Even if it's just points in 3D, that might be good enough if they're distinct.