I’ve an problem.
For university I need to load a VoxelFile into Blender using Python.
The Voxel in the file are stored like this
Each tupel is a voxel - dimension of the Voxel should be 1 but everything else is also okay.
Loading the 536MB file is no problem and reshaping the array to 512x512x512 is also no problem.
But now my is how I could make this Voxel-Grid visible in Blender. For optimization I gonna ignore all voxel with A = 0
If I try to use
it is very slow and also I have no color.
Therefore my question is: How can I display the voxel in Blender in an efficient way using Python? Waiting hours to add all the cubes is no way for me…
Maybe there is already a script which I could use - my Professor said it is okay if I use an external script for displaying the voxelGrid