Files
OpenSpace/data/tasks/volume/generate_spherical.task
Emil Axelsson 5de728442d Feature/volume tools (#614)
* Create volume generation task

* Change domain bounds into a non-optional parameter

* Work on volume generation and rendering

* Example generation of time varying volume

* Example generation of time varying volume

* Compile fix in RenderableKameleonVolume

* Fix copy and paste error

* Enable spherical raycasting again

* Uniform naming

* Add some documentation and remove dead code
2018-06-08 09:47:24 -04:00

15 lines
520 B
Plaintext

local fn =
"return function (r, phi, theta) " ..
" return 1 - math.floor(r*10)/10 " ..
"end"
return {{
Type = "GenerateRawVolumeTask",
Dimensions = {32, 32, 32},
LowerDomainBound = {0, 0, 0},
UpperDomainBound = {1, math.pi, 2 * math.pi},
ValueFunction = fn,
Time = "2018-05-04T00:00:00",
RawVolumeOutput = "${DATA}/assets/examples/volume/generated/spherical/spherical.rawvolume",
DictionaryOutput = "${DATA}/assets/examples/volume/generated/spherical/spherical.dictionary"
}}