From fa0f26c9da0dfd58238ac6c0279b54d18a505400 Mon Sep 17 00:00:00 2001 From: Michal Marcinkowski Date: Fri, 16 Jan 2015 13:06:52 -0500 Subject: [PATCH] In short, this is new: - ImageSequencer class added, requires planetary data service files (not added to openspace-data, too large) : Given current time returns path to specific image in dataset for projection. - Changes to RenderablePlanetProjection class to accomodate sequencing - Fixed normal computation in reverse-mapping stage - Rudimental target recognition (will prob. become part of separate class at some point - since both fov & proj classes do similar things) Next up: - Redo pluto mockup visualization & begin spreadsheet reader for instrument-switching. --- config/sgct/single_fisheye.xml | 2 +- .../planets/renderableplanetprojection.h | 7 +- include/openspace/util/imagesequencer.h | 11 +-- openspace-data | 2 +- openspace.cfg | 2 +- scripts/default_startup.lua | 6 +- shaders/fboPass_fs.glsl | 3 - shaders/projectiveTexture_fs.glsl | 2 +- src/engine/openspaceengine.cpp | 4 +- .../planets/renderableplanetprojection.cpp | 84 ++++++++++++------- src/rendering/renderabletrail.cpp | 4 +- src/rendering/renderengine.cpp | 2 + src/util/imagesequencer.cpp | 34 +++++--- 13 files changed, 98 insertions(+), 65 deletions(-) diff --git a/config/sgct/single_fisheye.xml b/config/sgct/single_fisheye.xml index 21821019c0..befe6cded7 100644 --- a/config/sgct/single_fisheye.xml +++ b/config/sgct/single_fisheye.xml @@ -4,7 +4,7 @@ - + " << time << std::endl; + //if (i == 0) std::cout << "Creating image with startTime: " << time; + //if (i == 1) std::cout << " ---> " << time << std::endl; openspace::SpiceManager::ref().getETfromDate(time, timestamps[i]); } }