Support viewing more file formats in the browser with NiiVue
What would you like to see added?
@nellh, and @effigies, It would be nice to view more file formats (like freesurfer derivatives).
For example, this file could be rendered using the latest version of NiiVue available on NPM:
https://openneuro.org/datasets/ds004443/versions/1.0.0/file-display/derivatives:freesurfer:fsaverage:surf:lh.pial
To view an example implementation see our our demo code here:
https://github.com/niivue/niivue/blob/main/demos/features/mesh.freesurfer.html#L102
and the live version of the above code example can be viewed here:
https://niivue.github.io/niivue/features/mesh.freesurfer.html
Additionally, the latest version of NiiVue improves performance when rendering scenes like this on lower-end devices.
Alternatives
The alternative is to not display these files in the browser, which is the current state.
Do you have any interest in helping implement the feature?
Yes
Additional information / screenshots