cosmoscout / cosmoscout-vr

:milky_way: A virtual universe which lets you explore, analyze and present huge planetary datasets and large simulation data in real-time.
Other
351 stars 27 forks source link

Loading settings from local json inconsistent #326

Closed MutterOberin closed 9 months ago

MutterOberin commented 1 year ago

Describe the Bug

When using a local settings file (generated via core.save callback) scene state does not reflect settings completely. Specific example is the "lodFactor".

JonasGilg commented 1 year ago

I think the issue here is that the lodFactor is not user configurable at all (except if you put it on manual mode in the UI), because it is supposed to always adjust to the most optimal setting.

We could add a config option that could look like this:

'lodFactor': <number> or <string>

with accaptable values: 'auto', 10 - 50.

JonasGilg commented 1 year ago

I am mistaken, lodFactor and autoLod already are being serialized and deserialized. Then this is indeed a bug.