This Gizmo gives you the power to change the reference frame of an animated STMap.
STMap Reference Frame
Updated: 8 January 2020
Author: comp_V01
Compatible Nuke versions: 9.0 or later
Compatibility: Linux, Mac, Windows
STMap Reference Frame v1.1
This Gizmo allows you change the reference frame of any animated STMap you have.
It doesn´t matter if it is generated by a VectorDistort, rendered through a ScanlineRender with overscan or is just modified by yourself.
Node Properties:
The Gizmo is called STMapRefFrame inside of Nuke.
How it works:
When the 'New Reference Frame' is setted to the current frame, the stmap will not change your image on this frame when used with an STMap node. It will change the image on all other frames accordingly to this new reference frame.
You can use the 'Set to this Frame' button to set the 'New Reference Frame' to the current frame.
Versions:
v1.1:
I realized that v1.0 caused a difference in the warp before and after using the gizmo -> this introduced sliding
I reworked the gizmo completly, and introduced 2 different precision modes:
1. The standart mode is 'low precision' which is the same then in version 1.0
This mode just substracts the warp on the new reference frame from the stmap.
2. The new mode is 'high precision'. This should work without introducing sliding in the warp but is much slower.
It uses an reverse stmap to warp the warp on the reference frame with the movement of the stmap.
It uses an position to points node to create the reverse stmap which mades it slow.
This approach comes from the gizmo 'in_InverseSTMap' by Luca Mignardi.
v1.0:
This was the initial version.