IRL2 / SubtleGame

A psychophysics game for interactive molecular dynamics
Other
1 stars 0 forks source link

Subtle Game recordings 'flicker' when replayed #198

Closed rhoslynroebuck closed 4 months ago

rhoslynroebuck commented 4 months ago

There is a flickering when replaying subtle game recordings that doesn't happen with NanoVer imd recordings.

rhoslynroebuck commented 4 months ago

From testing with Jonathan, we realised this is to do with setting the visualisation.

We tested the Subtle Game nanotube sim + setting the gradient visualisation (identical as in the puppeteering client) using a python client + recording using the Subtle Game rust server. Replaying this recording caused flickering as soon as the visualisation was set in the shared state. Replaying only the trajectory had no issues, even when we set the visualisation on-the-fly using the same python client.

rhoslynroebuck commented 4 months ago

Here's a video of the flickering

https://github.com/IRL2/SubtleGame/assets/50617818/e6f88cef-c333-450f-8791-0b36e8a358ed

rhoslynroebuck commented 4 months ago

Closing this issue here as this is most likely a bug in the replay functionality in the Rust server.