Commit Graph

184 Commits

Author SHA1 Message Date
Christian Adamsson e355eb07d5 Created basic structure for writing and loading in binary cached files 2020-06-22 18:38:08 +02:00
Emilie 1d3383a19b Fixed issue with glPointSize to only influence streams. Also added the ability to change the sizes of the nodes depending on the flux value with regards to a threshold. 2020-06-22 18:35:42 +02:00
Christian Adamsson 106a1e4e8e Implemented Skipping vertexes by Nodeindex, uniform, by radius and flux 2020-06-22 16:59:36 +02:00
Emilie 2063664426 Added property and functions to change alpha value depending on flux 2020-06-22 16:39:26 +02:00
Christian Adamsson 21403780c9 Setting default values 2020-06-18 15:30:23 +02:00
Emilie 8c72f5bb28 Added color table range and possibility to filter by z-axis 2020-06-18 15:21:50 +02:00
Christian Adamsson d0ac7574e6 Changed property names 2020-06-18 15:02:57 +02:00
Christian Adamsson 35e0b5967a Added flux scaling method in gui and shader 2020-06-18 11:52:25 +02:00
Emilie 07c44c57a6 Normalize flux value and changed color table 2020-06-17 16:52:53 +02:00
Emilie dbce010979 Auto stash before merge of "thesis/2020/radiation" and "origin/thesis/2020/radiation"
Added functions + lookup table for when coloring with flux values
2020-06-17 16:18:58 +02:00
Christian Adamsson 321df50128 improvements with datahandling and rendering
Can now store every state in vectors and update smoothly both with filtering and colouring.
2020-06-17 15:10:32 +02:00
Christian Adamsson 18289d0dfd Loading in states into ram memory, skipping x amount of nodes
Added functionality for loading in state and nodes. Also changed coloring and filtering a bit.
2020-06-16 17:03:40 +02:00
Christian Adamsson 2eb3ad83a5 Small update for testing with Emilie 2020-06-16 09:28:44 +02:00
Christian Adamsson 575003f794 Specific streams, different vertex color mode, correct representation 2020-06-16 00:46:01 +02:00
Emilie 25cac26eb1 Fixed loading issue with buffers 2020-06-15 11:47:53 +02:00
Emilie 01d7f7ade4 Added property for color mode + swapping theta and phi value 2020-06-15 09:39:10 +02:00
Emilie 4c0970436e Added functions to be able to filter nodes 2020-06-10 13:40:18 +02:00
Christian Adamsson fa5effec72 Created functionality for updating depending on time 2020-06-09 15:35:20 +02:00
Emilie 0c7ac24081 Added functions for flux value threshold 2020-06-09 15:25:17 +02:00
Christian Adamsson afc95a248c Added nodesize property to scale nodes 2020-06-08 17:22:52 +02:00
Emilie c33adb33ab Drawing points instead of strips 2020-06-08 16:40:48 +02:00
Christian Adamsson 84ba046cdf Tried with float vs double conversion, positionof render still not fixed 2020-06-05 16:41:53 +02:00
Christian Adamsson 388060dccf Can now do multiarraydraw and coupled with gui, not correct position 2020-06-05 16:02:01 +02:00
Christian Adamsson 67774cb3f3 Changed Node handling and conversion to meter in cartesian coordinates. 2020-06-04 16:20:36 +02:00
Emilie 47892926bd Added SceneGraphNode and functions to extract information from json-files 2020-05-20 17:25:01 +02:00
Emilie f7c6d9c544 Added more functions and basic structure for renderable class 2020-05-18 16:56:42 +02:00
Christian Adamsson cb40a5a15a first commit for our thesis branch 2020-05-15 17:22:21 +02:00
Elon Olsson b72e678ff9 small fixes for PR 2020-05-07 14:57:01 -04:00
Elon Olsson f231cb024a toggle different textures with hotkey i 2020-05-06 16:40:04 -04:00
Elon Olsson 194d8232bf magnetogram, fieldlines with line width, and volume from thesis/2018/mas-model 2020-05-04 17:11:59 -04:00
Alexander Bock 5e29145395 Coding style cleanup 2020-02-14 19:37:06 +01:00
Alexander Bock d8e9db76a3 Update the copyright header to 2020 2020-02-10 21:51:01 +01:00
Alexander Bock 24ce773da9 Update GLM version
Correctly initialize all values as they are no longer default-initialized
2020-02-10 00:09:31 +01:00
Alexander Bock 277aee5c0c Make constructor of Time explicit
Module breaking change
2019-07-17 15:39:43 +02:00
Alexander Bock bb3db7ada7 Feature/jenkins fix (#816)
* Cleanup
* CMake cleanups
* Update current year
* Update copyright header
* Use script to return list of all modules
* Update credits, license and ghoul
2019-03-24 11:19:39 +01:00
Emil Axelsson 2e71eaa4cb Feature/anchor and aim (#799)
Introduce the ability to navigate using an anchor and aim.
Example use: Set spacecraft as anchor and planet as aim to always look down at a planet, while followin the spacecraft in its orbit.
2019-02-19 18:46:58 +01:00
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 59916bc0c1 Renaming path tokens
- ${BASE_PATH} -> ${BASE}
  - ${OPENSPACE_DATA} -> ${DATA}
  - Make use of new token ${WEB}
Enable Phobos and Deimos on default
Remove unused cdflist file
2017-12-26 20:49:17 +01:00