MarchingCube && VolumeRender
- C++11 compiler
- cmake >= 3.16
- OpenMP support (optional)
- glad
- glfw
- glm
- cmdline (parse cmd args)
- nlohmann::json (load transfer function config file)
- window: 1200*900
- raw_volume dim: x=512 y=512 z=507
- iso_value: 2500
- cpu cost time(OpenMP): 3725ms (not include loading data from disk)
- triangles num: 294,6876
- window: 1200*900
- ray step=0.5 for x=512 y=512 z=507 (equal to 1.0/512*0.5 for texture sample)
{
"tf": {
"0": [0.0,0.1,0.6,0.0],
"120": [0.0,0.0,0.0,0.0],
"121": [0.2,0.9,0.1,0.8],
"255": [0.2,0.9,0.1,0.8]
}
}