Commit Graph

3909 Commits

Author SHA1 Message Date
GPayne
e374eef72d Fixed merge conflicts with master 2021-05-20 19:55:49 -06:00
GPayne
5dfe4cb5c2 Added topic for new session recording pausing within playback 2021-05-20 12:09:11 -06:00
Alexander Bock
205d4c9db1 Feature/speck loader (#1585)
* Implement a shared speckfile loader
* Apply new speck loader to RenderableBillboardsCloud, RenderablePlanesCloud, RenderablePoints
2021-05-17 13:59:54 +02:00
Alexander Bock
92432caed2 Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string 2021-05-17 00:23:15 +02:00
Alexander Bock
ccdc5a5dc3 Feature/filesystem cleanup (#1587)
* Adapting to the changes in Ghoul
* First step of moving filesystem functions to std
* Remove persistence flag from cachemanager
2021-05-16 20:26:49 +02:00
Alexander Bock
2ca7101b6c Actually make use of the model matrix in the atmosphere radius calculation for determining whether it should be culled (closes #1465) 2021-05-08 21:25:35 +02:00
Alexander Bock
abd084c0a9 Only use the adaptive level-of-detail when actually rendering out frames in a session recording (closes #1292); Remove OpenGL performance warning messages when writing frames due to expected GPU-CPU sync 2021-05-08 19:53:40 +02:00
Alexander Bock
e3af4a9f09 Add the ability to specifiy a specific time for a TemporalTileProvider (closes #1171) 2021-05-08 19:17:00 +02:00
Alexander Bock
09e28ff49e Enable Screenspace renderable to have a multiplicative color; Add new asset to show a target marker (closes #85); Fix bug with wrong documentation shown in RenderablePlane 2021-05-08 18:08:56 +02:00
Alexander Bock
f74bf97513 Update SGCT repository (closes #1437), VAO hygiene for RenderablePlane 2021-05-08 16:57:08 +02:00
Alexander Bock
54fc94bfaf Remove unused parameters and document the remaining properties of RenderableGlobe (closes #1470) 2021-05-08 01:18:50 +02:00
Alexander Bock
139d2c6c6d Apply more codegen checks (#1579)
* Apply more codegen checks
2021-05-08 00:44:23 +02:00
Emma Broman
804444e267 Simplify Property code (#1575)
* Remove the PropertyDelegate

* Remove some unused and redundant property types

* Use helper functions for Lua/Json conversion

* Solve a bug in SelectionProperty that occurred when re-setting options

* General simplification and refactoring of the code
2021-05-04 09:32:29 +02:00
GPayne
d47ac2f248 Added month of day limit for yearly increment 2021-05-03 15:18:16 -06:00
GPayne
6fc1d608e9 Fix that allows all days of month except monthly increment still at 1-28 2021-05-03 15:18:16 -06:00
Alexander Bock
05942fb284 Remove property names and dictionary keys from FixedRotation that are unfriendly to Lua syntax 2021-04-30 14:53:11 +02:00
Alexander Bock
863a861944 Feature/galaxy (#1576)
* Some cleanup of the galaxy renderer
* Remove translation from renderablegalaxy
* Apply additive blending when compositing downsampled volume;  Use star distance as alpha for transparency (closes #1208)
2021-04-30 14:31:12 +02:00
Emma Broman
7b966b9378 Give globes an interaction sphere 2021-04-29 15:23:34 +02:00
Alexander Bock
261f3d9fe8 Add Titan atmosphere, increase scale height for Venus (closes #922) 2021-04-29 14:14:52 +02:00
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