Commit Graph

98 Commits

Author SHA1 Message Date
Emil Axelsson 6d725a7d50 Revive screen space browser and add example (#932)
* Revive screen space browser and add example
* Add reload triggerproperty and change autoplay policy
2019-07-16 13:29:21 +02:00
Alexander Bock 33ca5d3a22 Warn if keybinds are defined twice (closes #899)
Update Ghoul
2019-06-04 17:11:53 +02:00
Emil Axelsson b42d4c5fb9 Update webgui 2019-06-04 17:08:31 +02:00
Emil Axelsson 804361ce22 Replace localhost with 127.0.0.1 to solve GUI related DNS error when not connected to a network 2019-06-04 13:25:57 +02:00
Alexander Bock 00f7e7dba0 First adjustment due to NCMNS suggestions
- Add Shift+A keybind for New Horizons scene to set the Aim+Anchor method, restoring the A keybind to the previous usage
 - Various fixes in the New Horizons scene to make it operable
 - Added optional keybinds CTRL+I, CTRL+K, CTRL+O, and CTRL+L for situations where the keypad is not available
 - Various fixes for the Rosetta scene
 - Updated the rosetta images to only download a single zip file that gets extracted
 - Rebound the Philae trail visibility from F to G so that it is not on the same key as the friction
 - Disable the Rosetta image plane on default
 - Added optional F12 keybind to create a screenshot if the PRINT_SCREEN button is not available
 - Automatically remove old delta time keybindings when new ones are set in order to prevent double-binding
2019-05-28 15:54:59 +02:00
Alexander Bock a894e2cf5a Turn fade-in value into a property and move away from dedicated fadeIn, fadeOut methods (closes #869) 2019-05-22 22:08:54 -06:00
Micah Acinapura 54d24605cf Feature/safe apollo (#879)
* Apollo missions with renderablemodel and spice rotation updates
* Added user control for face culling.
* Added gui property for disabling face culling.
* Changed rotation vector property to handle degrees instead of radians
* Separated apollo globebrowsing
2019-05-20 20:10:23 -06:00
Alexander Bock 70500d9ad2 Fix spelling error in the keybindings 2019-05-20 18:39:16 -06:00
Alexander Bock 3a687b5c57 Cleanup of scene files by introducing a new base.scene from which all others derive
Add asset.filePath to the warning when trying to register an empty list
Correctly add HyperionTrail
2019-05-20 11:03:55 -06:00
Emil Axelsson 43332d88eb Update webgui 2019-05-20 13:54:54 +02:00
Emil Axelsson 673c31cfc7 Update webgui 2019-05-19 17:32:23 +02:00
Micah Acinapura 0eabffe752 exposed renderable type to gui, fixed path for milkyway items (#866)
* exposed renderable type to gui, fixed path for miklyway items
* Changes to session recording topic
* Update webgui
2019-05-18 17:00:31 +02:00
Emil Axelsson d6c5c98e6d Feature/time topic changes (#863)
* Time topic updates
* Update web gui and patch jsonconverters
2019-05-17 21:55:00 +02:00
Micah Acinapura a012f8109a Feature/pioneer missions (#852)
* added pioneer assets

* added getDefaultLightSources to assetHelper

* cleanup pioneer assets, fixed issue in voyager2 trails
2019-05-11 16:17:40 +02:00
Micah Acinapura d8aeb04df9 added testing keybindg file 2019-05-04 16:15:20 +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 5d4ceb6286 Do not broadcast GUI visibility over parallel connection 2019-04-02 15:04:23 +02:00
Emil Axelsson 2f1131dac3 Issue/772 (#811)
* Fix issue #772
* Update webgui frontend
2019-03-24 12:50:54 +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 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
Emil Axelsson f8b72a3a04 Register interesting nodes instead of manually adding and removing 2018-12-03 10:49:25 +01:00
Emil Axelsson ad126fa1a4 Add interpolation and toggle feature to slide deck helper 2018-11-23 17:35:59 +01:00
Alexander Bock 9d0f0e00df Revert native ui back to F1 keybind for toggling 2018-11-21 11:14:11 -05:00
Emil Axelsson 3243316e79 Change default keybinding for toggling rendering 2018-11-14 22:34:28 +01:00
Emil Axelsson 1632c09af3 Coordinate Axes
* Add coordinate axes renderable
 * Add debug helper
 * Add example asset
 * Fix bug with dynamic loading of assets. (#763)
2018-11-13 08:09:14 -05:00
Emil Axelsson 4ce29842d3 Add shortcut to disable master rendering 2018-11-08 10:32:42 -05:00
Emil Axelsson c58ae52735 Breaking change: Change property owner identifier renderable to Renderable 2018-11-06 14:58:11 -05:00
Emil Axelsson 04eef20868 Disable server process on webgui teardown 2018-11-05 21:28:57 -05:00
Emil Axelsson 7181de4673 Feature/webgui ops (#723)
* Update node packages, download nodejs in build process, start server from openspace process
  * Patch CEF cmake automatically
  * Build webserver automatically
  * Work on CMake for WebBrowser, Webgui and CefWebGui
  * Map key modifiers to CEF
  * Smooth time interpolation in webgui
  * Automatically focus on search field in filter lists
  * Move webgui code to external repositories
  * Use asset system to distribute webgui
  * Remove webgui from main repository
  * Add support for right click in webgui and improve timetopic
  * Resolve cmake policy warning
  * Add relative time interpolation to lua interface
  * Sanitize json error message before logging error. Workaround for #736
  * Added gui properties to scene graph nodes
  * Add version topic
  * Add shortcuttopic
  * Add ability to disable rendering of cefwebgui
  * Don't do message loop work if there is no browser.
  * Set correct path to nodejs on unix
  * Message loop work in presync
  * modifications for shortcuts in gui, added names for shortcuts
  * Set properties via lua scripts
  * Allow gui grouping for shortcuts
  * Add gui paths keybindings
  * Blocking keyboard callbacks when webgui has keyboard focus in an editable field
  * Allow disabling of WebBrowser and CefWebGui
  * Make it possible to hide GUI
  * Get rid of redundant dashboard items if web gui is used
  * Hide WebGUI on slave nodes
  * Hide WebGUI on main rendering window if a GUI window exists
 * Enable WebGUI on default unless it is overwritten in the openspace.cfg
  * Add guiName for propery owners in socket api
2018-11-05 20:45:38 -05: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 c2cc2bab17 Feature/state machine (#673)
* Implement simple state machine example in Lua
* Use defaults for trail widths
2018-07-13 10:29:45 -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
Emil Axelsson 8b91c67010 Feature/slide deck (#636)
* Implement basic slide deck helper and example
2018-07-04 13:22:06 -04:00
Alexander Bock 77e14edec3 Add DashboardItem to show the current camera location on a globe 2018-06-29 12:19:23 -04:00
Alexander Bock d0f97901d4 Add DashboardItem that can display a property value
Fix documentation of most other dashboard items
2018-06-18 12:49:03 +02: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 3810209365 Issue/451 (#595)
* Add ability for Joystick input
* Change location of LuaConsole files
2018-04-20 16:12:18 -04:00
Emil Axelsson 0547c14389 Fix dashboard item bugs related to unloading and loading assets at runtime (#572) 2018-03-29 18:00:47 +02:00
Alexander Bock df68ab557d * Rudimentary fix to make side_by_side stereo work in master
* Fix Triton asset file
 * Display an error if no Property matches a regex in setPropertyValue
 * Correct user-facing name for some Moon assets
 * Add fade in and fade out helping functions
 * Reenable label fading in New Horizons
 * Added GUI hint to hide uninteresting nodes
 * Set Hidden Hint on barycenter nodes
2018-03-17 16:54:42 -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 3912936b18 Fixing satellite asset 2018-03-14 14:19:09 -04:00
Emil Axelsson 4675554471 One Property Tree (#500)
* Organize properties in one single property tree
* Update scenes to work with one property tree. Fix documentation issues.
2018-03-06 16:59:06 +01:00
Alexander Bock ebd69d1333 Cleanup FieldlineSequence classes 2018-03-01 19:55:50 -05:00
Alexander Bock ee7e1b9b96 Fix with asset_helper
Initial cleanup of Sync module
2018-02-24 00:46:28 -05:00
Alexander Bock c1c6e1397c Add checks to asset_helper that check the length of passed table to registerSceneGraphNodes and registerSceneGraphNodesAndExport
Add check to procedural_globe that checks the parameters to createGlobes
Fix issues with Ganymede, Triton, and Dione
2018-02-23 22:52:22 -05:00
Alexander Bock fef18e549d Exchange old jup260 kernel for updated jup310 and 341
Add asset files for Jupiter's minor moons
2017-12-26 10:53:15 +01:00
Alexander Bock 310bdf6be9 Completed conversion of of scene/mod files 2017-12-23 16:39:27 +01:00
Emil Axelsson ab52504ec8 Restructure asset files 2017-12-18 18:55:12 +01:00