Thanks for your help.
I basically want a regular 3D grid of voxels which can be either on or off (I guess 255 opacity or 0 opacity, respectively). I want to render a Julia-set fractal, so a given voxel is either within the set (on) or outside the set (off).
The ideal way to store the data in memory would probably be a sparse voxel octree or something similar, I don’t know if VTK supports those.
It seems inefficient to calculate all the points, then save them to file, then load the file when I’m doing all this from within the same session of the same program, so I was hoping there was a way to set voxels directly.
If I have to save the data to file, that’s okay, as long as there are functions in VTK (or some other library?) for creating such a file from individual points…?