There's some notes about this feature in #36, but the tl;dr is:
Allow the user to record mouse motion while performing live interaction (dragging) of a voxelized model in the viewport, in such a way that the motion plays back with the regular timeline playback.
I think this is very straightforward to implement. There are two pieces:
- Recording and caching the mouse data (and camera data)
- Consuming cached mouse data on playback
The former is discussed in #36 - the API has a way to add markers to the timeline, and I think data can potentially be associated with those as a form of caching.
The latter can be done through the voxel render override - a new render pass from the perspective of the cached camera. MRenderPass has some ways to override the camera used. And we can use the depth texture of that camera along with the cached mouse data to replay the drag as it was when originally played.
There's some notes about this feature in #36, but the tl;dr is:
Allow the user to record mouse motion while performing live interaction (dragging) of a voxelized model in the viewport, in such a way that the motion plays back with the regular timeline playback.
I think this is very straightforward to implement. There are two pieces:
The former is discussed in #36 - the API has a way to add markers to the timeline, and I think data can potentially be associated with those as a form of caching.
The latter can be done through the voxel render override - a new render pass from the perspective of the cached camera.
MRenderPasshas some ways to override the camera used. And we can use the depth texture of that camera along with the cached mouse data to replay the drag as it was when originally played.