Created Chunk LOD Globe. Currently renders patches at constant depth

This commit is contained in:
Erik Broberg
2016-04-06 17:10:29 -04:00
parent 25a917bf1a
commit efe2bef2d4
13 changed files with 373 additions and 37 deletions

View File

@@ -26,6 +26,7 @@
#include <modules/globebrowsing/rendering/globemesh.h>
#include <modules/globebrowsing/rendering/clipmapglobe.h>
#include <modules/globebrowsing/rendering/chunklodglobe.h>
// open space includes
#include <openspace/engine/openspaceengine.h>
@@ -69,7 +70,8 @@ namespace openspace {
// Mainly for debugging purposes @AA
addProperty(_rotation);
addSwitchValue(std::shared_ptr<ClipMapGlobe>(new ClipMapGlobe(dictionary)), 1e9);
//addSwitchValue(std::shared_ptr<ClipMapGlobe>(new ClipMapGlobe(dictionary)), 1e9);
addSwitchValue(std::shared_ptr<ChunkLodGlobe>(new ChunkLodGlobe(dictionary)), 1e9);
addSwitchValue(std::shared_ptr<GlobeMesh>(new GlobeMesh(dictionary)), 1e10);
}