Finished ephemeries for all 8 planets and fixed so that renderablewavefront object.

NOTE: Basically, added a whole bunch of mod files, I agre - its ugly but later we need to decide ownership of this class.

Ephemeries goes temporarily under the name "RenderableTrail"
It displays a fading ephemeries with nodes of equal time (planetary days for now, will make changable)
For each modfile one specifies all the usual spice stuff with the addition of:
 - Planets tropical orbit
 - Planet/Earth orbit ratio
 - Planets day length in earth hours
Pulled from NASAs webpage so its reliant data, got the link from Brian.
This commit is contained in:
michal
2014-10-07 23:06:21 -04:00
parent 262767ac4f
commit 36925cbde7
6 changed files with 44 additions and 33 deletions
@@ -53,11 +53,20 @@ public:
void loadTexture();
void fullYearSweep();
// modfile reads
// spice
std::string _target;
std::string _observer;
std::string _frame;
// color
glm::vec3 _c;
double _r, _g, _b;
// orbit relational data
double _tropic;
double _ratio;
double _day;
// need to write robust method for vbo id selection
// (right now galactic grid has to be present) (why though?) solve later...
@@ -73,7 +82,6 @@ public:
unsigned int _vtotal;
unsigned int _stride;
glm::vec3 _c;
//Vertex* _varray;
std::vector<float> _varray;
int* _iarray;