Animators (especially for film and TV) often need to track the movement of things in screenspace. At the end of the day, the pixel motion is what counts. But motion paths were always in world space, which made it hard to use when the camera is also animated (during action scenes e.g.) This PR introduces the feature of projecting a motion path into the screen space of the active scene camera. Limitations This makes the motion path only useful when looking through the active scene camera. Switching the scene camera using markers is not yet supported. Technical Implementation This is achieved by baking the motion path points into the camera space on creation. For every point calculated, the camera is evaluated through the depsgraph and the resulting world matrix is used. Then I pass in the current frame's world matrix of the camera into the shader to make sure the points follow it. As can be seen in the video, it looks quite odd when viewed at another angle but this is expected. I mentioned that in the tooltip, so it shouldn't be an issue Pull Request: https://projects.blender.org/blender/blender/pulls/117593 |
||
---|---|---|
.. | ||
blender | ||
creator | ||
CMakeLists.txt |