mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
Image sequencing improvements and optimization of projection.
Projection now occurs only at specified timestamps. Todo: projection class now dependent on image sequences, will have to change that once we read specific instrument schedule.
This commit is contained in:
@@ -88,6 +88,7 @@ private:
|
||||
glm::mat4 _projectorMatrix;
|
||||
|
||||
// spice
|
||||
std::string _sequenceDir;
|
||||
std::string _instrumentID;
|
||||
std::string _projectorID;
|
||||
std::string _projecteeID;
|
||||
|
||||
@@ -69,7 +69,8 @@ public:
|
||||
glm::dvec3 interpolate(glm::dvec3 p0, glm::dvec3 p1, float t);
|
||||
glm::dvec3 bisection(glm::dvec3 p1, glm::dvec3 p2, double tolerance);
|
||||
|
||||
double distanceBetweenPoints(psc p1, psc p2);
|
||||
void computeColors();
|
||||
|
||||
// instance variables
|
||||
int _nrInserted = 0;
|
||||
int _isteps;
|
||||
@@ -114,7 +115,10 @@ public:
|
||||
// time
|
||||
double _time = 0;
|
||||
double _oldTime = 0;
|
||||
int _delta = 0;
|
||||
|
||||
// capturetime
|
||||
double _timeInterval;
|
||||
double _nextCaptureTime;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user