mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-28 07:59:37 -06:00
Merge branch 'plutoViz' into feature/stars
This commit is contained in:
@@ -59,7 +59,8 @@ public:
|
||||
|
||||
static bool isInitialized();
|
||||
bool initialize();
|
||||
|
||||
bool isMaster();
|
||||
void setMaster(bool master);
|
||||
static bool findConfiguration(std::string& filename);
|
||||
|
||||
// Guaranteed to return a valid pointer
|
||||
@@ -110,6 +111,7 @@ private:
|
||||
LuaConsole* _console;
|
||||
gui::GUI* _gui;
|
||||
double _dt;
|
||||
bool _isMaster;
|
||||
|
||||
SyncBuffer* _syncBuffer;
|
||||
};
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
void loadTexture();
|
||||
void allocateData();
|
||||
void insertPoint(std::vector<float>& arr, psc& p, glm::vec4& c);
|
||||
void insertPoint(std::vector<float>& arr, psc p, glm::vec4 c);
|
||||
void fovProjection(bool H[], std::vector<glm::dvec3> bounds);
|
||||
|
||||
psc orthogonalProjection(glm::dvec3 camvec);
|
||||
|
||||
@@ -73,6 +73,9 @@ public:
|
||||
|
||||
void serialize(SyncBuffer* syncBuffer);
|
||||
void deserialize(SyncBuffer* syncBuffer);
|
||||
|
||||
float globalOpacity();
|
||||
void setGlobalOpacity(float opacity);
|
||||
|
||||
/**
|
||||
* Returns the Lua library that contains all Lua functions available to affect the
|
||||
@@ -84,6 +87,12 @@ public:
|
||||
*/
|
||||
static scripting::ScriptEngine::LuaLibrary luaLibrary();
|
||||
|
||||
// This is a temporary method to change the origin of the coordinate system ---abock
|
||||
void changeViewPoint(std::string origin);
|
||||
|
||||
//temporaray fade functionality
|
||||
void startFading(int direction, float fadeDuration);
|
||||
|
||||
private:
|
||||
void storePerformanceMeasurements();
|
||||
|
||||
@@ -101,6 +110,11 @@ private:
|
||||
|
||||
void generateGlslConfig();
|
||||
|
||||
float _globalOpactity;
|
||||
float _fadeDuration;
|
||||
float _currentFadeTime;
|
||||
int _fadeDirection;
|
||||
|
||||
bool _visualizeABuffer;
|
||||
ABufferVisualizer* _visualizer;
|
||||
};
|
||||
|
||||
@@ -85,6 +85,12 @@ public:
|
||||
const Renderable* renderable() const;
|
||||
Renderable* renderable();
|
||||
|
||||
// @TODO Remove once the scalegraph is in effect ---abock
|
||||
void setEphemeris(Ephemeris* eph) {
|
||||
delete _ephemeris;
|
||||
_ephemeris = eph;
|
||||
}
|
||||
|
||||
private:
|
||||
bool sphereInsideFrustum(const psc& s_pos, const PowerScaledScalar& s_rad, const Camera* camera);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user