It is supposed to be almost identical to the existing 2D visualizer, so almost a copy-paste job, except a shader program needs to be added to the gl context upon creation, and instead of using the eframe painter to draw a shape, we need to use it the add a custom paint, which will call the compiled shader.
The vertex shader should be very simple, and the vertices for the points should be in a sphere shape, and for the centeroid(mean) it should be a cube shape
It is supposed to be almost identical to the existing 2D visualizer, so almost a copy-paste job, except a shader program needs to be added to the gl context upon creation, and instead of using the eframe painter to draw a shape, we need to use it the add a custom paint, which will call the compiled shader. The vertex shader should be very simple, and the vertices for the points should be in a sphere shape, and for the centeroid(mean) it should be a cube shape