Volume conversion and rendering (#350)

Add volume rendering features
 - Improve task runner
 - Improve reading from CDF files
 - Basic time varying volume rendering
 - Fix scaling bug in RenderableToyVolume
This commit is contained in:
Emil Axelsson
2017-09-22 12:03:23 +02:00
committed by GitHub
parent 7aceb54bec
commit ea5382c028
59 changed files with 1553 additions and 176 deletions
+6 -4
View File
@@ -24,8 +24,9 @@
#include "volumeutils.h"
namespace openspace::volumeutils {
namespace openspace {
namespace volume {
size_t coordsToIndex(const glm::uvec3& coords, const glm::uvec3& dims) {
size_t w = dims.x;
size_t h = dims.y;
@@ -48,5 +49,6 @@ glm::uvec3 indexToCoords(size_t index, const glm::uvec3& dims) {
return glm::uvec3(x, y, z);
}
} // namespace openspace::volumeutils
} // namespace volume
} // namespace openspace