Skip to content

Drag tool recording and playback #77

Description

@mzschwartz5

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:

  1. Recording and caching the mouse data (and camera data)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions