Effects » DVE » User Effects » Spin Zoom


Spin Zoom
Author(s):
Release date: April 7, 2018
Creation date: Oct. 22, 2017
License: unknown

Lightworks user effect Spin_Zoom_20171022

This has some of the same functions as the 3D DVE, but the settings menu does not look as interesting as that effect.
It trades that for simple functionality, and adds the ability to mirror or duplicate the image as you zoom out.
If you only need rotation and zoom, then you only need this effect.
The rotation axis is automatically adjusted in the same way as the 3D DVE does.

... More details:
Setting characteristics of the zoom slider
The dimensions will be doubled or halved in setting steps of 10%:
-40% Dimensions / 16
-30% Dimensions / 8
-20% Dimensions / 4
-10% Half dimensions
0% No change
10% Double dimensions
20% Dimensions * 4
30% Dimensions * 8
40% Dimensions * 16

Center of rotation:
Zoom >= 0: rotation center = center of the output texture
Zoom < 0: rotation center = center of the input textur
For this purpose, the program sections ZOOM and ROTATION are run through in
different order.
Zoom >= 0: first ZOOM, then ROTATION
Zoom < 0: first ROTATION, then ZOOM

Information for Effect Developer:
16 May 2018 by LW user schrauber: Subcategory defined, and data relevant to the homepage.
The rotation code is based on the spin-dissolve effects of the user "jwrl".
The zoom code is based on the zoom out, zoom in effect of the user "schrauber".
Inputs and Samplers
Parameters
Common definitions, declarations, macros
Shaders
Sine and cosine of the set angle.
Position vectors
Zoom cernter
Position of the rotation axis
Direction vectors
Vector between Center(rotation) and Texel
Vector between Center(zoom) and Texel
Used only for negative zoom settings
The set value Zoom has been replaced by the formula (1- (exp2( Zoom * -1))) to get the setting characteristic described in the header.
Used only for positive zoom settings.
The set value Zoom has been replaced by the formula (1- (exp2( Zoom * -1))) to get the setting characteristic described in the header.
Skips the program section "positive ZOOM"
.............................................................
Technique