Ylva Selling
3573859ffe
Add resizing functionality to all corners and side of browser
2021-03-18 16:13:46 +01:00
Alexander Bock
ed980bb5d8
Add support for passing shared pointers into the OrVerifier
2021-03-17 00:18:53 +01:00
Micah Acinapura
4a51c3dce7
prevent renderbin change for overlay renderables ( #1519 )
...
* prevent renderbin change for overlay renderables
* Fix line length
Co-authored-by: Alexander Bock <mail@alexanderbock.eu >
2021-03-08 15:31:56 -05:00
Micah
2158dd585c
creating user directories if not existing;
2021-03-04 16:00:34 -05:00
Malin Ejdbo
4fb8a36952
Merge branch 'master' into feature/multitexturing
...
* Resolve conflicts
2021-03-02 15:49:39 +01:00
Emma Broman
29e77534c7
Make use of new verifiers (Color and File) ( #1510 )
...
* Use codegen for renderable discs
* Utilize color and file verifier
* Add missing property assignment in exoplanets module
2021-03-02 08:11:49 +01:00
Micah Acinapura
eec6b15781
Feature/user profiles assets ( #1496 )
...
* added user profile/asset tokens to config, launcher and profile editor
* creating one user directory for data, config, screenshots, recordings
2021-03-02 01:36:32 -05:00
Emma Broman
d5671e0321
Include potential explanation when stringifying TestResult Offense
2021-02-25 12:57:46 +01:00
Emma Broman
10eabaa1a6
Prevent TaskRunner crashing on specification error
2021-02-25 12:46:57 +01:00
Malin E
9acbdb2446
Merge pull request #1504 from OpenSpace/issue/1466
...
Issue/1466
2021-02-18 09:03:35 +01:00
Alexander Bock
6837bad5b0
Tiny cleanups
2021-02-17 16:18:08 +01:00
Malin Ejdbo
d3a04825bb
Merge branch 'master' into issue/1466
2021-02-17 14:25:55 +01:00
Malin Ejdbo
9372382e78
Add possibility to have * at the end and tags + *
2021-02-17 14:16:10 +01:00
Malin Ejdbo
9143316111
Match property name better to avoid false matches
2021-02-16 09:28:02 +01:00
Malin Ejdbo
edff4b537c
Add warning if regex contains two or more wildcards
...
* Find that replaces std::regex currently does not support two or more
wildcards in an expression
2021-02-15 14:30:25 +01:00
Malin Ejdbo
ace8df0692
Do not miss matches when searching with regex
2021-02-15 14:28:23 +01:00
Alexander Bock
da31d1e375
Properly handle SpecificationErrors when initializing Modules ( closes #1502 )
2021-02-15 11:20:27 +01:00
Alexander Bock
23f24c50fe
Update Ghoul and remove explicit generation of ConsoleLog
2021-02-13 18:33:28 +01: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
Malin Ejdbo
f34805beeb
Remove false matches while matching whole string
2021-02-12 16:53:04 +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
Malin Ejdbo
5772fc621c
Improve find that replace regex
...
* Enable * in the begining of string
* Enable search without *
2021-02-12 11:23:45 +01:00
Malin Ejdbo
e70ba00757
Remove regex from scene_lua.inl
...
* Replace with find functions
2021-02-12 09:19:14 +01:00
Emma Broman
11e5bc36ab
Prevent exception when querying renderable of non-existing SGN
2021-02-11 16:24:36 +01:00
Alexander Bock
88122d1dbb
Adapt to new Ghoul; fix previously undetected errors in uniform setting
2021-02-11 14:44:13 +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
Emma Broman
3f63f92128
Add test cases for the create single color image lua function
2021-02-04 13:25:17 +01:00
Emma Broman
91612f4bfd
Merge pull request #1468 from OpenSpace/issue/1438
...
Add habitable zone for our Sun and some useful generic classes
2021-02-03 08:39:12 +01:00
Emma Broman
0b9b42e0bf
Rename single color image function
2021-02-03 08:33:55 +01:00
Alexander Bock
c8fc369fb1
Fixed issue preventing the rendering of color properties
2021-02-01 13:55:53 +01:00
Alexander Bock
e50ca7aded
Try a fix against random crashes at startup when loading configuration
2021-02-01 13:31:28 +01:00
Emma Broman
f2eb81a450
Merge branch 'master' into issue/1438
2021-02-01 13:16:18 +01:00
Malin Ejdbo
73fd118ee2
Merge branch 'master' into feature/multitexturing
...
* Resolve conflicts
2021-02-01 11:57:31 +01:00
Emma Broman
ef091a1044
Adress review comments
2021-02-01 11:01:14 +01:00
Emma Broman
08e941d6d9
Avoid adding too many delta time step keybindings ( closes #1445 )
2021-01-27 11:02:02 +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
6380e5b307
Change plane size to radius rather than diameter
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
Emma Broman
b2c5e334f8
Merge pull request #1436 from OpenSpace/issue/1395
...
Add habitable zone for exoplanet systems (#1436 )
* add lumosity and temperature data for the stars
* add Lua function to generate a cached 1 pixel texture on demand
* minor updates to RenderableOrbitDisc to make it more intuitive. Size is now the semi-major axis.
closes #1395
2021-01-26 14:48:11 +01:00
Jonathas Costa
65803e134d
Issue/1447 ( #1451 )
...
* Fixed missing calls to OpenGL cache system.
2021-01-12 10:28:49 +01:00
Emma Broman
9dc2802b7c
Adapt to new Dictionary class
2021-01-07 11:01:32 +01:00
Emma Broman
4834851320
Merge branch 'master' into issue/1395 and resolve conflict
2021-01-07 11:01:20 +01:00
Alexander Bock
3d74d6051e
Remove Dictionary use in script scheduling with struct
2021-01-02 23:24:15 +01:00
Alexander Bock
439808e259
Remove glm_cols and glm_rows function calls in favor of built-in GLM functions
2021-01-02 23:04:33 +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