Commit Graph

227 Commits

Author SHA1 Message Date
Alexander Bock
cbe2e6cdcf Set the default window size to 66% of the primary window size (closes #1883) 2022-02-17 17:55:43 +01:00
Emma Broman
4a3abf58ee Fix identifier being replaced with underscores on image drag drop (closes #1874)
Note: The dot selector matches all characters. Oops
2022-02-02 14:04:33 +01:00
Alexander Bock
5050b27d09 Address PR comments 2022-01-25 12:08:24 +01:00
Alexander Bock
f903adc7c1 Merge remote-tracking branch 'origin/master' into feature/sgct-json 2022-01-21 17:43:36 +01:00
Alexander Bock
4c9337a465 Fix issue when drag-dropping an image that has extra dots in the name (closes #1793) 2021-12-29 14:13:59 +01:00
Alexander Bock
6ddf62f2ab Some more cleanup for configuration_helper script 2021-12-20 22:42:32 +01:00
Alexander Bock
af1e5c8cf8 Cleanup configuration helper 2021-12-20 22:00:36 +01:00
Alexander Bock
79cca73abf First version of generating JSON 2021-12-19 19:55:25 +04:00
Alexander Bock
c28387e9c0 General cleanup of configuration helper 2021-12-19 18:01:59 +04:00
Alexander Bock
2bb93a56de Rename windowPos to pos for consistency; Additional cleanup of parameters 2021-12-19 14:38:06 +04:00
Alexander Bock
3f6b98ca38 Removing some unused parameters from the configuration script 2021-12-19 14:11:57 +04:00
GPayne
6c5a81a677 Removed hard-coded path exepectations to allow drag-drop playback 2021-09-21 14:59:39 -06:00
Alexander Bock
34985f64a6 Feature/keybindings (#1708)
* Add action manager to handle actions in replacement of keyboard shortcuts
* Implement new Action concept
* Remove the shortcutscomponent as it is no longer needed
* Update profile version from 1.0 to 1.1
* Add action dialog
* Restructure of key specification in keys.h
* Remove solid field-of-view keybind from the newhorizons profile as the setting no longer exists
2021-08-18 10:58:20 +02:00
Alexander Bock
f4a1baeeb1 Reload UI after adding screenspace renderables or assets (closes #1703) 2021-08-04 13:46:16 +02:00
Emma Broman
58c216f45c Show an info message when asset is added by drag-and-drop 2021-07-16 14:18:10 +02:00
Alexander Bock
70e71ebf55 Offload the star texture synchronization into a separate asset to enable the Gaia profile to be synched from scratch 2021-05-29 19:26:04 +02:00
Alexander Bock
d32a09ba80 Feature/strict lua (#1556)
Make all LuaState strict to check whether uninitialized variables are used
Adapt the existing assets to work with the strict state
2021-04-15 13:01:00 +02:00
Alexander Bock
52b020d836 Include strict lua file, throw error in configuration loading when overriding with unused variable
- Preventing True/true bug
 - Fix issue with unused variable in configuration_helper
2021-04-01 23:37:35 +02:00
Alexander Bock
548d673e8b Add drag and drop support for images and assets (#1497) 2021-02-11 13:43:36 +01:00
Alexander Bock
d95c6c4a47 Removing Clang on MacOS warnings. No longer create external control that doesn't work anymore 2020-12-08 00:24:24 +01:00
Gene Payne
caee77881c Launcher works with all types of SGCT/Profile settings plus commandline 2020-09-24 15:07:53 -06:00
GPayne
83ef5ed245 Switched profile-to-scene conversion from lua script to Profile class 2020-04-15 16:31:05 -06:00
Alexander Bock
8a8748daaa Small fixes 2020-01-27 22:17:08 +01:00
GPayne
1ac68f8236 Fixed profile parser so it gets the profile input file first 2020-01-10 15:22:26 -07:00
GPayne
3ef1b8d511 Fixes to allow using temp directory for profile-to-asset conversion 2020-01-03 12:31:20 -07:00
Alexander Bock
8feb6d1d2b Small cleanup
Make sure OpenSpace compiles in debug mode
2019-12-17 10:57:37 +01:00
GPayne
278bd3edaf Adding a profile equivalent for all existing scenes 2019-11-27 11:31:06 -07:00
GPayne
ad96ecb1ca Fix for goToGeo camera init type 2019-11-18 14:42:10 -07:00
GPayne
8fe544597a Clean-up of convert profile-to-scene lua script. 2019-10-23 19:05:01 -06:00
GPayne
204966b0e0 Got OpenSpace parse and conversion working for profile-to-scene file, then successful run with this resulting scene. 2019-10-22 16:22:44 -06:00
GPayne
18810384dc Initial commit of profiles, containing convert-to-scene script 2019-10-18 17:12:57 -06:00
liuloppan
78eb673611 Feature/gui for touch (#967)
Merging in feature gui for touch. Enable touch module to run.
Currently only run on development mode with the "touch" scene.
2019-09-18 23:49:51 +02:00
Alexander Bock
8ddc794cda Feature/alex is flying (#729)
* Correctly specify maximum text sizes for grids
 * Use StaticScale transformations in grids and remove fixed radius
 * Fix Verifier to let grids accept non-integer min and max sizes
 * Add a new scale that changes it's value based on the current time and a reference time
 * Add a proper radiosphere that grows in real time (closes #728)
 * Add default globe customization folders to the assets (closes #724)
 * Add new dashboarditem that shows the current camera velocity (closes #702)
 * Add ability to add interesting times to a scene (closes #715)
 * Reenable keybindings gui element
 * Add ShortcutManager
 * Add ability to bind keyless keybinds to use as arbitrary shortcuts (closes #710)
2018-10-08 03:00:35 -04: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
f4323db011 Fix bug causing incorrect apect ratio for manually specified window sizes 2018-08-10 13:28:48 +02:00
Alexander Bock
09e7a642bf Fix correct aspect ratio 2018-04-10 17:24:27 -04:00
Alexander Bock
62eca12e25 Enable 'tracked' viewports on default 2018-04-09 14:33:02 -04:00
Alexander Bock
233dc50a92 Change the default FOV to 40 degrees (closes #590) 2018-04-09 14:25:40 -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
Gene Payne
9a44d9c9df Modified SGCT configuration commands to allow aspect ratio tracked keyword in openspace config file (#560) 2018-03-20 10:24:01 -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
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
991f7be3de Update timeout for Jenkins build to 90 minutes 2018-02-26 20:37:51 -05:00
Emil Axelsson
8cc5250df8 Automatically compute reasonable aspect ratio (#457)
Automatically compute reasonable aspect ratio in sgct lua helper
2018-01-26 11:07:22 +01:00
Alexander Bock
edc250deb8 Cleanup core script extensions
Cleanup default scripts
2017-12-31 23:26:38 -05:00
Alexander Bock
96e065ef08 Set default number of antialiasing samples to 4 2017-12-30 16:15:53 -05:00
Alexander Bock
310bdf6be9 Completed conversion of of scene/mod files 2017-12-23 16:39:27 +01:00
Alexander Bock
0b0ad54028 Reenable digital universe on default
Fix refresh rate setting in configuration_helper
2017-12-18 11:58:22 -05:00
Alexander Bock
167222c814 Feature/dashboard (#431)
Merging Dashboard branch that introduces the Dashboard, DashboardItem and moves most of the screen rendering code into a component-based layout that can also be displayed as a screenspace renderable

* Add Onscreen Dashboard
  * Add Dashboard class
  * Add DashboardItem classes and subclasses
  * Added font and fontsize customization to dashboarditems
  * Add default dashboard specifications to all scenes
  * Add tests.scene to test dashboard items
  * Add configuration options to DashboardItemDistance
  * Fix distance conversion to correctly use singular or plural values
  * Make DashboardItems unique when adding them to a dashboard
  * Correctly position test with different font sizes
  * Add Dashboard Item that enables spacing between other items
  * Add performance measurement to dashboard rendering
  * Add method to DashboardItemDistance that computes distance to surface
  * Add DashboardItemAngle that computes and prints the angle between three objects
  * Add DashboardItemInstruments that shows the instruments on New Horizons
  * Add ability to OpenSpaceModules to return a list of Luascripts defined by child objects
  * Make it possible for ScreenSpaceDashboard to work with its own dashboard or the main one
2017-12-13 17:11:54 -05:00
Alexander Bock
c9aedb084b Add Lua functions to query keyboard bindings and remove individual keybinds
Add core script file that defines possibility of rebinding keyboard commands to a different key
Enable the execution of global customization scripts
Make `scene_helper.lua` a script automatically included in the ScriptScheduler
2017-12-08 14:58:18 -05:00