Commit Graph

34 Commits

Author SHA1 Message Date
Alexander Bock
9f1c4e847d Feature/globals (#690)
* Move global objects out of OpenSpaceEngine
 * General cleanup of main.cpp
 * Add default_joystick asset to all scenes
 * No longer suppress mouse interaction on slave nodes
 * Window delegate uses function pointers rather than subclassing
 * Fix for false overwriting of ImGUI configuration file
 * Change default color and tilt angle of fisheye rendering
 * Restructured performance manager
 * Simplify screenshot handling
2018-08-30 11:38:47 -04:00
Emil Axelsson
902e3e6dac Feature/time interpolation (#669)
* Initial implementation
* Better approximation of target time
* Correctly use double precision for time passing
* Cleanup
* Adding proportional adjustment of delta time at end of interpolation
* Keyframe based time interpolation
* Add property for time interpolation duration. Move time interpolation methods to TimeManager.
* Fix bugs with time gui
* Make several clicks on delta time buttons work as expected
* Clean up
* Improve time interpolation for parallel connection
* Improve time API. Fix time interpolation bugs.
* Fix mac compile issue
* Add hour button
* Add missing + sign
* Remove newer images from projection buffer when going back in time
* Add comment about clearing projection buffer
* Fix bug with jumping time in parallel connection
* Rename integrateFromTime to previousFrameTime
* Compile fix for iswa module
* Address code review comments
* Code cleanup
* Fix bug causig unsmooth behaviour when pausing while interpolating in time
2018-07-13 11:07:35 +02:00
Alexander Bock
99a6efca8e Declare PropertyInfo as constexpr, rather than const 2018-06-28 17:08:56 -04:00
Alexander Bock
4952f8f977 Code cleanup branch (#618)
* Make height map fallback layer work again
  * Add documentation to joystick button bindings
  * Removed grouped property headers
  * Add new version number constant generated by CMake
  * Make Joystick deadzone work properly
  * Change the startup date on Earth to today
  * Fix key modifier handling
  * Add debugging indices for TreeNodeDebugging
  * Fix script schedule for OsirisRex
  * Do not open Mission schedule automatically
  * Upload default projection texture automatically

  * General code cleanup
  * Fix check_style_guide warnings
  * Remove .clang-format
  * MacOS compile fixes
  * Clang analyzer fixes
2018-06-10 04:47:34 +00:00
Alexander Bock
4041bbb935 Cleanup (#600)
* General Code Cleanup
 * Add check for TABs to check_style_guide.py
 * Removing warnings
2018-04-19 13:27:15 -04:00
Alexander Bock
40dbf875c5 Issue/525 (#593)
* Add initializeGL and deinitializeGL methods to OpenSpaceModule Call releaseAll from ProgramObjectManager in deinitializeGL to guard against errors when deinitializing assets

* Change removeProgramObject function in RenderEngine to take a non-owning pointer instead of a reference to a unique pointer to make it compatible with the ProgramObjectManager
Update Ghoul repository

* Using ProgramObjectManager in more modules to reduce the number of programs compiled at startup
2018-04-10 15:55:52 -04:00
Alexander Bock
db7ae7e384 Issue/453 (#556)
* Introduced guiName to PropertyOwner
  * Added requirement that PropertyOwner::identifier may not contain whitespaces
  * Changed Name to Identifier in asset and scene files
  * Added new PropertyOwner to RenderEngine that owns the ScreenSpaceRenderables
  * Moved Name and GuiPath into GUI group
  * Added user-facing names to layer groups
2018-03-16 09:21:29 -04:00
Alexander Bock
f38c26eff0 Remove warnings 2018-03-12 22:31:01 +01:00
Alexander Bock
9709b22bac Turn Configuration keys from std::string to constexpr const char* for better startup performance 2018-03-08 19:24:03 +01:00
Alexander Bock
5a3ef0fda2 Apply coding styles 2018-03-08 05:32:46 -05:00
Alexander Bock
a3c849843f Feature/new formatting (#547)
* Change to new logging format (closes #542)
 * Adds a screenshots folder that uses the application startup time
 * Creating focus nodes for VRT files if the info files contain location information
 * Fix issue with removing virtual properties
 * Add a method for returning the cartesian coordinates for a geolocation on a planet
2018-03-07 18:10:32 -05:00
Alexander Bock
ebd69d1333 Cleanup FieldlineSequence classes 2018-03-01 19:55:50 -05:00
Alexander Bock
dcfef3557f Update copyright header 2017-12-29 20:11:22 +01:00
Alexander Bock
758e26789c More coding style conformance 2017-11-11 11:25:49 -05:00
Alexander Bock
51a71d5ce2 Compile fix to adjust to runTime method not existing anymore 2017-11-09 14:58:43 -05:00
Oskar Carlbaum
69fd2ed8a4 Remove unnecessary debug messages and return false in update() if renderable is disabled 2017-10-18 23:48:39 +02:00
Oskar Carlbaum
ecc760ac12 Change ALL_CAPS constants to camelCase 2017-10-18 23:29:09 +02:00
Oskar Carlbaum
3f756016e7 Ensure no extraQuantity-dependent properties are added when there are no extraQuantities 2017-10-09 22:55:29 +02:00
Oskar Carlbaum
b1d1a7cf02 Refactor: restructure & clean up 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
adcd62dedd Add DomainLimiting, Masking and AdditiveBlending options 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
dc597f59c4 REFACTOR: split renderablefieldlinessequence.cpp into two files and give propertiy variables a 'p' as prefix 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
3c9d48315c Add trigger properties. One for focus the camera on parent and one for time jump to start of sequence! 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
f521939370 Always refer to the extra quantities used for coloring lines as quantities, never variables. 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
f442dd4f7c Add functionality for coloring lines by different quantities 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
ec8c3c5ea7 Add functionality for reading and displaying OSFLS files during runtime 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
eea7c7306a Add functionality to illustrate magnetic flow 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
42d49ecc55 Setup OpenGL variables and shaders and draw field lines 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
5882c16bcc Add functionality for checking which state should be shown, depending on time 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
8ff9cb403e Load OSFLS states into RAM and keep track of trigger times 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
94d0cc3ddd Handle inputs from modfile Dictionary in separate function 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
4f51dafae3 Place _loggercat in empty namespace of .cpp instead of storing it as a member variable 2017-10-09 22:55:28 +02:00
Oskar Carlbaum
499156d221 Add functionality which read sourceFolder from Modfile and extracts all valid files from that directory 2017-10-09 22:55:27 +02:00
Oskar Carlbaum
1519fa794f Add functionality for reading inputFileType from modfile dictionary 2017-10-09 22:55:27 +02:00
Oskar Carlbaum
44d046e770 Setup main files for fieldlinesSequence module 2017-10-09 22:55:27 +02:00