Commit Graph

247 Commits

Author SHA1 Message Date
Ylva Selling
79f5192a2c Fix issue of sorting by placing arguments in array (#3238)
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
2024-05-21 11:23:26 +02:00
Alexander Bock
c1ee9079f1 Add the ability to drag-and-drop a video file to add it as a screenspacerenderable (closes #2988) 2023-12-23 22:33:53 +01:00
Emma Broman
add6df05fd Replace some more getPropertyValue function calls (deprecated) 2023-08-07 10:08:21 +02:00
Micah Acinapura
fbbf495976 Night Sky feedback and triton texture (#2740)
also adds new Lua function openspace.toggleFade

* updating nightsky feedback

---------

Co-authored-by: Alexander Bock <alexander.bock@liu.se>
2023-06-05 13:53:30 -04:00
Alexander Bock
db002d4cf7 Fix CMake issues when disabling unit tests, Add new CMake flag OPENSPACE_ENABLE_ALL_MODULES to change default behavior of module inclusion 2023-04-15 22:39:35 +02:00
Emma Broman
c714a7f57d Feature/geojson (#2595)
Add the option to add geojson components to globes, from geojson files. One geojson file creates one GeoJsonComponent, which in turn may contain multiple GlobeGeometryFeatures

Geojson is a format that supports points, lines, and polygons. In addition to the basic functionality, extra features have been added that will long-term allow rendering the geometry needed to represent KML files (another format for geospatial geometry data). Here are links to references for both formats:

    Geojson: https://geojson.org/
    KML: https://developers.google.com/kml/documentation/kmlreference

data/assets/examples/geojson includes some example files that I have used for testing. Any geojson file can also be added through drag-n-drop. Note however that you might need to change the AltitudeMode or HeightOffset properties for the feature to be visible.
2023-04-15 11:35:28 +02:00
Malin E
0fb624164b Issue/2272 (#2580)
* Add actions for zodiac constellations + some improvements
* Add fade to actions
* Add fade scripts that is able to take regex identifiers and fade screen space renderables
2023-04-13 21:42:35 +02:00
Emma Broman
4de3713107 Add a central function to create an identifier from string, and also expose it through Lua 2023-04-03 11:40:19 +02:00
Emma Broman
2027815157 Add some helper scripts to modify property values (appendToList, add, invertBoolean) 2023-02-08 16:00:34 +01:00
Emma Broman
1edb754437 Add nil checks for boolean parameters in config helper (closes #2364) (#2380)
* Add nil checks for boolean parameters in config helper (closes #2364)

* remove some trailing spaces
2022-12-08 10:59:33 +01:00
Alexander Bock
163ac4dcef Cleanup of mostly asset files
- Fixes for all files
 - constexpr cleanup
 - Cosmetic changes
 - Remove punctuation from the end of messages
2022-07-28 17:21:59 +02:00
Ylva Selling
0fa317d96f Fixes to comments on pull request 2022-05-17 11:40:19 -04:00
Ylva Selling
0824b59d77 Move properties for visibility from CefWebGui to OpenSpaceEngine 2022-05-12 10:11:25 -04:00
Ylva Selling
785084c318 Add developer lua script that sets property visibility to "Developer" if an environment variable called "OPENSPACE_DEVELOPER" is set 2022-05-11 14:31:41 -04:00
Alexander Bock
970536998a Multiple small fixes
- Turn the planet lighting actions from mixed case to lower case
 - Fix the openspace.rebindKey Lua function which did not work before
 - Fix the openspace.downloadFile function which would fail when not waiting for the the result
 - Rename openspace.walkDirectoryFolder to openspace.walkDirectoryFolders for consistency
 - Remove the openspace.saveLastChangeToProfile function
2022-05-06 16:13:21 -04:00
Alexander Bock
96631bcced Fix issue with specifying the ordering in the ImGUI scene list 2022-04-30 14:43:13 +02:00
Alexander Bock
3844df20c9 Feature/codegen lua (#1906)
Adapting Lua functions to new codegen functionality
Improve the documentation itself
Add some styling to generated documentation
Have parameter names for Lua-defined Lua function documentation

Co-authored-by: Emma Broman <emma.broman@liu.se>
2022-03-21 09:05:37 +01:00
Alexander Bock
3f6fccb373 Correctly disable vsync if requested 2022-02-23 13:40:40 +01:00
Alexander Bock
73f6938619 Correctly specify tags and fix usage of refreshRate and vsync parameters (closes #1890) 2022-02-21 21:27:25 +01:00
Alexander Bock
ae40493627 Add function allowing insight into currently loaded assets. Don't print info message when loading asset that was already loaded 2022-02-21 21:19:13 +01:00
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