Thanks, that worked.
It seems that the example sets all the points at once by invoking a predefined sphere function:
vtkSmartPointer sphere = vtkSmartPointer::New();
sphere->SetRadius(0.1);
sphere->SetCenter(0.0,0.0,0.0);
I have this problem with a lot of volume renderers out there: the examples only work by loading predefined shapes, and I need to know how to set individual points. Can you show me how? Thanks.
On another note, I’m disappointed by the lack of realism of the resulting image. There’s hardly any shading. It just looks like a circle… is VTK low-quality at volume rendering?