Hi Trying to do volume rendering of CT Scan of NRRD file
Not sure what parameters need changing from example at
webgl2_materials_texture3d
-
What texture format and type to use for int type above ?
// texture.format = THREE.RedFormat;
// texture.type = THREE.FloatType; -
Can the same viridis colormap be reused ?
NRRD file is here
Header is:
NRRD0004
Complete NRRD file format specification at:
http://teem.sourceforge.net/nrrd/format.html
type: int
dimension: 3
space: left-posterior-superior
sizes: 512 512 313
space directions: (1.3671880000000003,0,0) (0,1.3671880000000003,0) (0,0,3.2700195312500009)
kinds: domain domain domain
endian: little
encoding: gzip
space origin: (-350.00000000000006,-350.00000000000006,-1050.2399902343752)
visvis renders this ok