Commit Graph

2153 Commits

Author SHA1 Message Date
GPayne
d012ee2fbb Added preprocessing to reject recording if used scenegraphnodes are not loaded 2021-04-20 16:22:01 -06:00
Emma Broman
91387d8401 ListProperties and SelectionProperty (#1558)
* Reimplement stringlistproperty with a listproperty parent class

* Add string list property tests and structure test files

* Reimplement SelectionProperty and add tests

* Some TemplateProperty documentation updates

* Read full constellation name and not just first word for ConstallationSelection

* Remove support for setting property value from string (unused)

* Add IntListProperty, DoubleListProperty

* Bug fix: SetProperty topic now support empty json objects

* Imgui renderings for list properties and pass SelectionProperty  info to WebGui
2021-04-19 16:10:36 +02:00
GPayne
6b1be04b3c Merge branch 'master' into feature/session-recording-addons 2021-04-16 14:29:24 -06:00
GPayne
e94fbb2adf Added reject lists for property and scripts during playback 2021-04-15 16:57:20 -06:00
GPayne
fbec2fe713 Updated save-to-disk when recording ends 2021-04-13 14:21:33 -06:00
GPayne
b00e1cc5ab Switched to using timeline in memory during recording 2021-04-09 11:28:15 -06:00
Ester Lindgren
ba0685227f Merge branch 'master' into thesis/2021/skybrowser 2021-04-06 08:52:11 +02:00
Malin Ejdbo
c825916d60 Merge branch 'master' into feature/model-animation
* Resolve conflicts
2021-03-30 16:31:25 +02:00
Alexander Bock
612b9bbc7f Moving more documentation to use codegen (#1549)
- Make use of more codegen in more classes
- Fix verifier for Color4Verifier
2021-03-29 21:50:26 +02:00
ElonOlsson
3ee3979ce5 Replaced renderableLightTravel with a more general and better renderableTravelSpeed 2021-03-29 13:33:32 -04:00
Alexander Bock
797ddf7daf Fix some warnings on AppleClang 2021-03-29 14:58:19 +02:00
Alexander Bock
e88650f22c Tiny coding style fixups 2021-03-27 23:49:02 +01:00
Malin Ejdbo
bc9fc63719 Merge branch 'master' into feature/model-animation
* Resolve conflicts
2021-03-25 13:54:51 +01:00
Malin Ejdbo
9bfc87958b Add tests for distance conversion 2021-03-25 11:19:54 +01:00
Alexander Bock
a6bb8cdecb Split DashboardTextItem from DashboardItem 2021-03-24 17:46:13 +01:00
Malin Ejdbo
3a976ba0b0 Add model scale that can be set in asset file for each model
* Add cm and dm as units in DistanceUnits

* Scale the model according to the set unit
2021-03-24 10:47:40 +01:00
Alexander Bock
0d82e1848f Feature/configuration codegen (#1544)
Convert configuration document over to codegen
2021-03-23 15:22:29 +01:00
Ylva Selling
fbc05244e1 Make it possible to add many browsers and targets by moving functionality to ScreenSpaceRenderable 2021-03-23 09:44:14 +01:00
Alexander Bock
196a98b0c6 Add ability to StringVerifier to test for non-emptiness 2021-03-23 00:13:52 +01:00
Alexander Bock
dfc42e9467 Rename createSingeColorImage -> createSingleColorImage 2021-03-22 23:17:42 +01:00
Gene Payne
d060780f99 Added method for saving current value of a property while recording 2021-03-22 12:21:32 -06:00
Alexander Bock
c7f77e3286 Add property to determine whether the date should be added to the screenshot folder (#1535)
closes #1528
2021-03-22 15:49:30 +01:00
Ylva Selling
3573859ffe Add resizing functionality to all corners and side of browser 2021-03-18 16:13:46 +01:00
Malin Ejdbo
b57c4e336c Merge branch 'master' into feature/model-animation
* Resolve conflicts
2021-03-17 13:19:04 +01:00
Alexander Bock
ed980bb5d8 Add support for passing shared pointers into the OrVerifier 2021-03-17 00:18:53 +01:00
Malin Ejdbo
e850e7a1b7 Add DateTime verifier 2021-03-10 17:15:56 +01:00
GPayne
6a6af1af9e Merge branch 'master' into feature/session-recording-addons 2021-03-09 19:12:43 -07:00
Micah
2158dd585c creating user directories if not existing; 2021-03-04 16:00:34 -05:00
Alexander Bock
dfa223abef Make use of std::filesystem::path and cleanup specification error messages 2021-02-13 12:00:26 +01:00
Alexander Bock
e7bcb774ee Add new verifiers for files and directories. Update codegen to be able to create these 2021-02-13 10:44:21 +01:00
Alexander Bock
afd484044d Better support for colors in dictionaries (closes #1489)
- Add a new Color3Verifier and Color4Verifier that checks components to be in [0,1]
 - Update codegen to add a new attribute [[codegen::color()]] to mark a vec3/vec4 to be a color value
 - Update RenderableTrail to use the new verion
2021-02-12 12:59:00 +01:00
Alexander Bock
548d673e8b Add drag and drop support for images and assets (#1497) 2021-02-11 13:43:36 +01:00
Alexander Bock
6d821d4f91 Feature/codegen (#1480)
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository

Co-authored-by: Emma Broman <emma.broman@liu.se>
2021-02-09 09:12:43 +01:00
Alexander Bock
78c0b23194 Remove extra line 2021-02-08 17:54:02 +01:00
Emma Broman
b10e598cd3 Cleanup and improve test 2021-02-04 13:25:17 +01:00
Emma Broman
3f63f92128 Add test cases for the create single color image lua function 2021-02-04 13:25:17 +01:00
Emma Broman
ef091a1044 Adress review comments 2021-02-01 11:01:14 +01:00
Emma Broman
e90b52af93 Add wrapping mode to texture component 2021-01-26 15:09:24 +01:00
Emma Broman
2ae5a16697 Add option to purge texture from RAM after gpu upload 2021-01-26 15:09:22 +01:00
Emma Broman
72ebeb7f6f Add generic texture component for renderables 2021-01-26 15:08:37 +01:00
Emma Broman
c075dbcdeb Add simple plane geometry class 2021-01-26 15:08:37 +01:00
GPayne
681d2fcd71 Merge master in 2021-01-06 20:59:31 -07:00
Jonathas Costa
ee29a704af Removed assert with problems on GCC and clang. 2021-01-05 10:58:24 -05:00
Alexander Bock
3d74d6051e Remove Dictionary use in script scheduling with struct 2021-01-02 23:24:15 +01:00
Alexander Bock
7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Alexander Bock
067c0f4b27 Introduction of new Dictionary class (#1446)
* Adapting to introduction of new Dictionary class in Ghoul
 * Mainly replacing usage of float instead of doubles as expected
 * Adjust to the lack of the hasKeyAndValue function
2021-01-02 15:07:11 +01:00
Alexander Bock
ad8af3ffeb Feature/CMake (#1443)
General CMake cleanup/overhaul
* Enable precompiled headers for all projects
* Move specifications itto separate CMakeLists files
  * Add openspace-core as a subdirectory
  * Move handle_modules functionality into modules/CMakeLists.txt
  * Move handleapplications logic into apps/CMakeLists.txt
* Introduce openspace-module-collection interface library to simplify inclusion of modules in applications
* Turn module initialization into a two-step process to adapt to the new minimal dependency scenario
* Compile time speedup
  * Remove circular dependencies between modules and core preventing multithreaded compilation on MSVC
  * Build Spice multithreaded and as static library
  * Remove dependency from core to module-webbrowser
  * Remove unused dependency from kameleon
  * Remove additional unnecessary dependencies
  * Cleanup volume/kameleon/kameleonvolume modules
  * Fix visibility issues. Restrict include paths
  * Compile kameleon in parallel
* Other cleanup
  * Only copy CEF files from one target (hard-coded to OpenSpace right now)
  * Remove unused instrumentation code
  * Remove the ability to render AABB for globes as it caused a circular dependency between GlobeBrowsing and Debugging
  * Removing compiler and cppcheck warnings
  * Turn almost all includes into non-system includes
  * Don't warn on deprecrated copy
* Updated submodules
2020-12-28 18:26:57 +01:00
Gene Payne
61aaf60825 Implemented pause-during-playback feature 2020-12-13 16:23:19 -07:00
Gene Payne
5ed85d8fcd Fix for property change interpolation during playback with screenshots 2020-12-11 12:40:22 -07:00
Alexander Bock
778b4e61b3 Revert "Better handle interpolation when setting interpolation time to 0"
This reverts commit 8cf5f96392.
2020-12-11 12:30:05 +01:00