Emma Broman
33a9dd2f09
Avoid problems with comment ending in backslash
2021-04-27 11:19:18 +02:00
Emma Broman
8a30dc570e
Add Logarithmic sliders and Color picker ( #1564 )
...
* Pass ViewOptions meta data to WebUi
* Add Color ViewOption
* Add Logarithmic ViewOption
* Update gui hash to get slider and color picker UI features
2021-04-27 09:24:36 +02:00
Alexander Bock
676e83fe4e
Make the iswa module compile again
2021-04-26 14:29:06 +02:00
Alexander Bock
2aa540a112
Feature/interactionsphere ( #1561 )
...
* Add ability to render the bounding sphere as a debug option
* Separate boundingsphere and interactionspheres
* Correctly compute BoundingSpheres for more renderables (RenderablePlanesCloud, RenderableOrbitalKepler)
2021-04-26 13:13:36 +02:00
Emma Broman
385a2a2be1
Avoid mistaking a nil/null value for an empty object or array in setpropertytopic
2021-04-21 11:24:09 +02:00
Malin Ejdbo
2b74a04415
Adjust model bounding sphere
2021-04-21 11:04:42 +02:00
Malin Ejdbo
16bd1d3265
Merge branch 'master' into feature/model-animation
...
* Resolve conflicts
* Master has error with changing focus
2021-04-21 10:23:10 +02:00
Alexander Bock
01d7a57eef
Add GlobeTranslation Documentation to exported documentations ( closes #1566 )
2021-04-21 09:34:20 +02: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
Alexander Bock
b00fcb78df
Enable setting of opacity for RenderableGlobe ( closes #1449 )
2021-04-16 17:31:55 +02:00
Emma Broman
fdee3d4faf
Prevent setting zero line width from UI
2021-04-16 16:14:02 +02:00
Malin Ejdbo
a541721d33
Address PR comments and tweak animation mode Once
2021-04-16 15:51:31 +02:00
Alexander Bock
e75fe42943
Enable support for single double radius in SizeReferenceTileProvider ( closes #1562 )
2021-04-16 12:49:44 +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
Malin Ejdbo
4a97a21297
Address PR comments
2021-04-14 17:12:46 +02:00
Emma Broman
923ad3f8ce
Fix misspelled 'codegen'
2021-04-09 13:58:43 +02:00
Malin Ejdbo
3ec01fa25e
Address PR comments
2021-04-07 17:25:58 +02:00
Malin Ejdbo
e91d833c65
Optimize model rendering
...
* Don't render when too far away, same as RenderableGlobe
2021-03-31 14:19:27 +02:00
Alexander Bock
d9a1a0233b
Remove apple clang warnings
2021-03-30 22:12:53 +02:00
Malin Ejdbo
1596bbb813
Add possibility to give model scale as a number
2021-03-30 17:13:38 +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
Alexander Bock
797ddf7daf
Fix some warnings on AppleClang
2021-03-29 14:58:19 +02:00
Malin Ejdbo
2feff86181
Clean up
2021-03-29 11:37:23 +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
Alexander Bock
a6bb8cdecb
Split DashboardTextItem from DashboardItem
2021-03-24 17:46:13 +01:00
Malin Ejdbo
1bfa7bf5f5
Remove support to combine several geometries
...
* And make use of file verifier for the model file
2021-03-24 17:05:18 +01:00
Malin Ejdbo
2873cdb826
Use convertTime for time scale of animation
2021-03-24 12:06:34 +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
Malin Ejdbo
aa5394e88c
Add info message when an animation exists for a model
2021-03-23 18:02:06 +01:00
Malin Ejdbo
7ae3922132
Add BounceFromStart and BounceInfinitely animation modes
2021-03-23 13:42:05 +01:00
Emma Broman
0ea0e781da
Prevent crash when reloading renderable that only has labels and no data
...
Occurred when unchecking and rechecking the "Draw elements" property for example the "Eclipltic Sphere Labels"
2021-03-23 11:40:34 +01:00
Malin Ejdbo
0a9af8f0ed
Add error handling
2021-03-22 10:01:16 +01:00
Malin Ejdbo
f1d66b1a74
Add animation mode bounce
2021-03-19 09:55:50 +01:00
Malin Ejdbo
fb4cb67ef6
Add property to enable/disable animation
2021-03-19 09:54:47 +01:00
Malin Ejdbo
4eb7c8abce
Add animation mode to infinetly loop
2021-03-18 16:08:38 +01:00
Malin Ejdbo
d534b7dbaf
Apply transforms to ModelProjection
2021-03-18 15:21:45 +01:00
Malin Ejdbo
205374fee2
Use codegen in ModelProjection and make use of new dictionary
2021-03-18 15:20:23 +01:00
Malin Ejdbo
c1fb7d39e7
Remove "" from codegen comments
2021-03-18 09:40:30 +01:00
Malin Ejdbo
3201be5cd6
Add loop from start mode for animation
2021-03-18 09:34:38 +01:00
Malin Ejdbo
c253060b25
Merge branch 'master' into feature/model-animation
...
* Resolve conflicts
2021-03-18 08:33:43 +01:00
Alexander Bock
e2c1414ba6
Update to newest codegen, replace std::monostate with ghoul::Dictionary
2021-03-17 21:26:57 +01:00
Malin Ejdbo
91f9576784
Merge branch 'master' into feature/model-animation
...
* Resolve conflicts
2021-03-16 12:22:30 +01:00
Malin Ejdbo
323e9b2fb5
Update ghoul and add model animation
2021-03-16 09:05:32 +01:00
Emma Broman
20519d007b
Remove hardcoded path to B-V colormap ( #1531 )
...
Also prevent future problems in reading the file (e.g. if number of lines of comments would change)
2021-03-15 13:22:41 +01:00
Malin Ejdbo
aebe6c1217
Add codegen for renderablemodel
2021-03-12 09:55:23 +01:00
Malin Ejdbo
775d9751dd
Apply mesh transform in shader including normals and tangents
...
* Update Ghoul
* Loading several models have not yet been updated and will not work with
this commit
2021-03-09 11:26:37 +01:00
Malin E
6a59e009ad
Merge pull request #1517 from OpenSpace/issue/1516
...
Issue 1516
2021-03-03 10:06:39 +01:00
Malin Ejdbo
4fb8a36952
Merge branch 'master' into feature/multitexturing
...
* Resolve conflicts
2021-03-02 15:49:39 +01:00