Commit Graph

2825 Commits

Author SHA1 Message Date
Alexander Bock 514d6e6a78 Some minor cleanups in the session recording 2019-05-17 10:18:33 -06:00
Gene Payne 32ebea9e06 Latest changes to session recording with support for new webGUI record/playback controls (#840)
* Added separate directory for session recording files
* Changed recording & playback paths to use RECORDINGS dir and prevent absolute or relative paths in filename.
* Updated .gitignore so that recordings directory is ignored.
* Added session recording topic for synchronization of rec/play state with web gui.
* Added support to sessionRecording for providing a list of available playback files to web GUI.
* Fixed problem with playback filenames in list
* Fixed problem with occasional large jump in camera pos/rotation after playback finishes.
* Fixed the remaining post-playback problem that was causing a jump in position and rotation.
* Fix path issue on mac
* Fixed bug with bad scale values in recordings saved in ascii format.
2019-05-17 14:05:03 +02:00
Jonathas Costa c4781b01de Feature/new stars rendering (#784)
* Physically-based star rendering.
 * New Tully Pic Galaxies speck file w/o Milky Way
 * Removed PSC from stars rendering.
 * Avoiding extra calculations during shading.
 * Removed bug in billboard maximum size code.
 * New method to get the current viewport resolution. Used e.g. when rendering stereo side-by-side configuration.
 * Same as stereo stars.
 * Improved configuration.
 * Stars camera orientation.
 * Separated changes in billboards.
 * Adde min size control.
 * Setting minimum size.
 * Changed eye position. Changed data array nome inside shaders to a more accurate representation of the data.
 * Billboards reflecting actual stars sizes.
 * Scaling stars size based on luminosity, Abs Mag and size.
 * Rendering to a texture instead of fragment calculation for each star.
 * Added default parameters, new configurations and updated parameters.
 * Updated speck file handling to reflect a more general specification.
 * Added apparent magnitude from the speck files.
 * Set correct star values values for Apogee and Galah
 * Changed position from vec4 to vec3 to save GPU memory.
2019-05-17 01:16:17 +02:00
Alexander Bock f990aaf01c Copyright header cleanup 2019-05-16 16:56:56 -06:00
Jonathas Costa 2b183b721b Feature/new globe labels (#783)
Adding globe labels for planets

https://github.com/OpenSpace/OpenSpace/issues/213
2019-05-16 21:34:07 +02:00
Alexander Bock 4b800ac819 Various small fixes 2019-05-16 12:59:28 -06:00
Gene Payne 66379fe095 Fix for issue #800: Earth weather (temporal globebrowsing data) not caching. (#861) 2019-05-16 12:27:07 -06:00
Jonathas Costa 8bb70e328d Issue/425 (#860)
* Working on the fix for the depth sorting problem.
* Changed grids and billboards to additive blending.
2019-05-14 17:05:40 +02:00
Emil Axelsson 1536eb8f0d Disable context menu to fix #828 (#850) 2019-05-11 16:07:40 +02:00
Alexander Bock 595cbc4bcf Feature/cleanup (#837)
* Style guide fixes
* Various cleanups
* Update SGCT
2019-05-03 13:27:43 +02:00
Emil Axelsson 6a6db9aa78 Render GUI correctly on retina screens (#834) 2019-04-27 15:45:35 +02:00
Emil Axelsson 1d50a88fc0 Feature/upgrade cef (#833)
* Upgrade CEF only on Windows
* Disable sandbox on windows
2019-04-27 15:45:09 +02:00
Emil Axelsson 50ff2d96d2 Cleanup for Spheres and PSC (#827)
* Fade fixes
  * Clean up RenderableSphere. Add orientation properties.
  * Sane defaults for Digital Universe
  * Clean up New Horizons related code
  * Add basic scene
  * Add ability to initialize rotation as quaternion and mat3
  * Adapt legacy code to new Renderable interface
2019-04-24 13:34:49 +02:00
Emil Axelsson e78121febc Feature/screenspace renderables (#830)
* Add ability to position screen space renderables in 3D
  * Independent face camera setting
  * More intuitive local rotation
  * Cleanup
  * Introduce global and master rotation. Remove DisableSceneOnMaster. Revisit screenspace renderables.
2019-04-24 13:34:01 +02:00
Emil Axelsson 0dcf65ce4f Feature/cef speedup (#806)
* Improve cmake errors
  * Calling doMessageLoopWork more often to increase gui performance
  * Introduce frequent callbacks
  * Restructure browser update callbacks
  * Cleanup cef speedup
  * Add flag to toggle updating browser between renderable calls
  * CEF should not be used in single process mode
  * Update CEF version
  * Postbuild step for finding framework from web helper
  * Load libcef dynamically to fix issue with CEF update
  * Only include dynamic library loader on mac
  * Improve keyboard mapping support on MacOS
  * Add arrow keys
  * Rename manifest
  * Fix bug with missing blinking cursor in text fields
  * Bump minimum cmake version
  * CEF fixes: Runtime and correct helper path
  * Be true to actual sandbox compatibility specified by CEF
  * Cleanup
2019-04-24 10:53:46 +02:00
Emil Axelsson 53e07d90e1 Feature/documentation topic (#822)
- Implement documentation topic that can be used to query documentation using the network API.
- Implement a way to pass arguments to lua scripts using json (rather than formatting entire lua string clientside)
- Implement ability to attach callback to lua script executions
- Implement abillity to transport return values from lua scripts back to network API clients.
- Do not initialize server interface on slave nodes.
- Implement Dictionary -> json converter using nlohmann json library
2019-04-03 10:30:28 +02:00
Jonathas Costa 9325e7fac3 Fixed unforms problems when eclipses are activated. (#797)
* Fixed unforms problems when eclipses are activated.
2019-03-24 13:21:07 +01:00
Emil Axelsson 55979fa2c8 Feature/statistics (#810)
* Add statistics options for dashboarditemframerate
2019-03-24 13:09:31 +01: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
Gene Payne 63c1ac89fb Changes to touch module to allow it to build with or without webbrowser module enabled (#808) 2019-03-07 11:15:45 +01:00
Emil Axelsson b5eb41e27f Guard against potential nullpointer dereferencing 2019-02-22 17:58:08 +01:00
Gene Payne c44290fe1f Feature/touch web gui support (#798)
* Added touch support for web GUI

* Code cleanup after master merge, no functionality changes

* Fixed alignment of function arguments
2019-02-21 07:35:47 -07:00
Emil Axelsson 738a5900d4 Patch imgui to work with new anchor and aim structure 2019-02-20 10:26:09 +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
Emil Axelsson 075625c223 Prevent file handles to leak into nodejs server application 2019-02-13 17:08:29 +01:00
Emil Axelsson f60371bdbc Pass on modifier keys to CEF for mouse events (#790)
* Update sgct
* Pass on modifier keys to CEF for mouse events
2019-02-04 15:14:51 +01:00
Emil Axelsson 59b1f2b741 GaiaStars: Fix bug with setting shader option from dictionary 2019-01-31 13:33:19 +01:00
Alexander Bock 99a43747e1 Update cfitsio to fix Jenkins 2019-01-24 16:02:58 +01:00
Alexander Bock 7fefaca345 Feature/jenkins (#788)
* Update Jenkinsfile
* Fix compilation for OSX
* Update SGCT to fix Jenkins compile issue on Ubuntu
* Make OSX Jenkins build not quiet
* Only build OpenSpace target on Mac
2019-01-23 10:17:15 -05:00
Emil Axelsson 8b396b6028 Fix gui scale bug 2019-01-22 10:53:26 +01:00
Emil Axelsson c3cc53f08d Make it possible to rescale web gui 2019-01-19 19:16:56 -05:00
Alexander Bock c7639adb15 Remove warnings in Clang 2019-01-19 14:49:31 +01:00
Emil Axelsson 0c6b5e95c6 Introduce ability to configure ports etc for external applications. (#785)
Introduce ability to configure ports etc for external applications, including webgui
2019-01-04 10:23:28 +01:00
Alexander Bock 8d64020601 Add new translation that uses longitude/latitude to compute translation on a RenderableGlobe 2018-12-04 11:24:35 -05:00
Alexander Bock ecdb05e98e Correctly compile if the sync module is compiled without libtorrent support 2018-12-04 09:02:54 -05:00
Alexander Bock 6b011d117c Make CMake scream less 2018-12-03 14:29:14 -05:00
Alexander Bock 36d0f71913 Only set CEF settings to OpenSpaceTest if OpenSpace is compiled with tests (closes #778)
Do not disable RTTI on CEF targets
Do not for Unicode on CEF targets
More graceful handling of torrent classes in Sync module
2018-12-03 14:00:08 -05:00
Alexander Bock 203db2357e Compile fix for touch module
Compile fix for AbfferRenderer
2018-12-03 09:55:13 -05:00
Alexander Bock 06b20d2fe8 Fix GUI Json creation error 2018-11-30 20:09:00 -05:00
Alexander Bock c7a96a6b59 Address clang tidy complaints
Update Ghoul repository
Update SGCT repository
2018-11-30 15:34:09 -05:00
Matthew Territo aa89a63f74 Fix GAIA module compile for macOS (missing #include <string>) 2018-11-29 17:18:32 -08:00
Emil Axelsson 42b7203f0c Add lua helper function to create custom focus nodes on globes (bookmarks) 2018-11-22 13:51:52 +01:00
Emil Axelsson 45e687a23e Merge branch 'master' of github.com:OpenSpace/OpenSpace 2018-11-22 12:40:30 +01:00
Emil Axelsson 89b68d43d8 Add Opacity property for RenderableTimeVaryingVolume 2018-11-22 12:39:08 +01:00
Emil Axelsson b6d3a4a8ea Fix volume rendering depth sorting issue 2018-11-22 12:37:11 +01:00
Alexander Bock 65195975bb Add display showing the number of active layers
Automatically disable last layer if number of texture units is exhausted
Closes #427
2018-11-21 17:32:51 -05:00
Alexander Bock d9b2c3ca96 Don't crash if TileProvider cannot be created (closes #464) 2018-11-21 15:21:40 -05:00
Alexander Bock 1bb3c3ee27 Don't crash if a tile does not have enough data for the heuristic 2018-11-21 14:47:27 -05:00
Alexander Bock 1910450419 Add a heuristic to discard ESRI's "No data available yet" tiles (closes #717) 2018-11-21 14:32:01 -05:00
Alexander Bock 9d0f0e00df Revert native ui back to F1 keybind for toggling 2018-11-21 11:14:11 -05:00