mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 19:29:04 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user