allen-cell-animated / agave

Other
35 stars 6 forks source link

fix time slider updates for raymarch mode #202

Closed toloudis closed 4 months ago

toloudis commented 4 months ago

fix #198

Time slider change was not causing updates in the raymarch rendered image.

When we do a time slider change, we completely replace the volume stored in the scene.

But the raymarch volume representation was keeping its own reference to a volume. So it never knew that the scene's volume was different.

This PR just has the Image3D always use a volume given to it from the Scene.