Demo application of volume rendering using three.js - check it out at https://peterc-dls.github.io/webgl_volume_demo/
Derived from three.js volume ray casting example. The following changes were added:
- Bundle files togther to allow it to be used as a static web site
- Add new colour map (and creator script)
- Add new volume data (and creator script)
- Add button and refactor code to load other volume data files
To use, serve the files using a simple web server. For example:
$ python -m http.server 8080
and open your browser at http://localhost:8080
There are Python scripts to create Nearly Raw Raster Data file format (NRRD) and colour maps. These rely on pynrrd, h5py, numpy, Pillow and cmap.