Hi all,
I’m trying to change this example to read other volume files:
after cloning the repo, the volume viewer can be started with:
npm run dev:volume
The data read is with the following line
reader
.setUrl('https://kitware.github.io/vtk-js/data/volume/LIDC2.vti')
[...]
When I’m trying to change this to other data sources :
reader
.setUrl('https://kitware.github.io/vtk-js-datasets/data/vti/LIDC2.vti')
I’m getting an error
I notice that the first version is npm folder structure with index.json, a binary file etc… while the second one is just a vti file, which is what I get from paraview when I output volume data.
Can you specify how to generate this ‘npm style’ vti data, or read vti files straight from paraview ?
thanks