Skip to content

PeterC-DLS/webgl_volume_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webgl_volume_demo

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

Utilities

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.

About

Demo application of volume rendering using three.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published