allen-cell-animated / agave

Other
34 stars 6 forks source link

fix time slider updates for raymarch mode #202

Closed toloudis closed 2 months ago

toloudis commented 3 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.