How to load point structure vtk file

Hello, I meet issue, how to load the vtk point structure data. If current loader don’t support, could we have a walk around, Or I can convert the file to any other format which totally support point data?

I just try read all the points and colors by self, and render it with a BufferGeometry

let bufferGeometry=new THREE.BufferGeometry();
bufferGeometry.addAttribute(‘position’, new THREE.BufferAttribute(positions, 3));
bufferGeometry.addAttribute(‘color’, new THREE.BufferAttribute(new Float32Array(colors), 3));
bufferGeometry.computeBoundingBox();
But the result seems not good.
cloud you help me pls.

Can you please share the VTK file in this thread? It will be useful for debugging and testing if someone tries to enhance VTKLoader.

If you are familiar C++, you can try to read in the VTK file via the VTK C++ class library and export it to OBJ. OBJLoader does support points.