DynamicEnvironmentMapManager not updating when values change

Hi there,

I am experiencing an issue with the new DynamicEnvironmentMapManager.

When I update any of the values there is no change happening to the model. The problem I am noticing is that the DynamicEnvironmentMapManager does change when I adjust the maximumPositionEpsilon and move the model around a bit, however lowering maximumSecondsDifference does nothing and this is what I would expect to handle updates on the managers values.

The way maximumSecondsDifference is explained makes me believe that if I change any of the maps values it should then update after the maximumSecondsDifference has passed however setting this to 10 does not change the map. Nothing does really. I can set it to 0 and still the only thing that will trigger an update is moving the model.

This isn’t ideal, our customers have specific locations for their models and the only workaround I can think of now is temporarily moving the model and then setting it back at its position but this is prone to errors and I would like to avoid a workaround like this as much as possible.

Thanks for the question @Windplanner

I believe the maximumSecondsDifference was introduced to reduce the computation cost/number of recomputes when the atmosphere or position of the model has changed. I don’t believe the update function currently reacts to making sure to regenerate when the properties of the map itself change. I could be wrong here but @Gabby_Getz would be able to confirm.

It may also be helpful to explain more about your use case. I wouldn’t really expect the map to need to update if the model isn’t changing or the atmosphere hasn’t changed which are both already accounted for.

Hi @jjspace.

The main reason I posted the question is because we are currently playing around with the new map to try out some different setups and mostly trying to get it to look the same as before. We noticed that the “defaults” in the change notes weren’t quite giving the same colors as the old version so we had hoped that we could adjust the values by making a quick UI for it and changing the values live in our development environment.

So I would say mainly for debugging purposes and if it worked we wanted to allow users to change certain values of the map if they wanted to. The main one would likely be the Ground color as that can depend on where users place their turbines. Offshore turbines need a different GroundColor then turbines that are on land.

Thanks @Windplanner,

We can certainly take a look into what the issue may be here. Would you mind providing a quick Sandcastle example to confirm our understanding?

We can also try to recommend some settings based on the look you are going for. Are you looking for brighter colors overall?