yta-editor-nodes-gpu 0.0.2__py3-none-any.whl → 0.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yta_editor_nodes_gpu/processor/video/transitions/__init__.py +20 -6
- {yta_editor_nodes_gpu-0.0.2.dist-info → yta_editor_nodes_gpu-0.0.3.dist-info}/METADATA +1 -1
- {yta_editor_nodes_gpu-0.0.2.dist-info → yta_editor_nodes_gpu-0.0.3.dist-info}/RECORD +5 -5
- {yta_editor_nodes_gpu-0.0.2.dist-info → yta_editor_nodes_gpu-0.0.3.dist-info}/WHEEL +0 -0
- {yta_editor_nodes_gpu-0.0.2.dist-info → yta_editor_nodes_gpu-0.0.3.dist-info}/licenses/LICENSE +0 -0
@@ -155,19 +155,33 @@ class SlideTransitionProcessorGPU(_TransitionProcessorGPU):
|
|
155
155
|
out vec4 output_color;
|
156
156
|
|
157
157
|
void main() {
|
158
|
-
// Horizontal version (
|
159
|
-
vec2 uv_first = v_uv + vec2(-progress, 0.0);
|
160
|
-
vec2 uv_second = v_uv + vec2(1.0 - progress, 0.0);
|
158
|
+
// Horizontal version (slide to right)
|
159
|
+
//vec2 uv_first = v_uv + vec2(-progress, 0.0);
|
160
|
+
//vec2 uv_second = v_uv + vec2(1.0 - progress, 0.0);
|
161
|
+
|
162
|
+
// Horizontal version (slide to left)
|
163
|
+
vec2 uv_first = v_uv + vec2(progress, 0.0);
|
164
|
+
vec2 uv_second = v_uv + vec2(-1.0 + progress, 0.0);
|
161
165
|
|
162
166
|
vec4 color_first = texture(first_texture, uv_first);
|
163
167
|
vec4 color_second = texture(second_texture, uv_second);
|
164
168
|
|
165
|
-
|
169
|
+
// Horizontal version (slide to right)
|
170
|
+
//if (uv_first.x < 0.0) {
|
171
|
+
// output_color = color_second;
|
172
|
+
//} else if (uv_second.x > 1.0) {
|
173
|
+
// output_color = color_first;
|
174
|
+
//} else {
|
175
|
+
// // A and B frames are shown at the same time
|
176
|
+
// output_color = mix(color_first, color_second, progress);
|
177
|
+
//}
|
178
|
+
|
179
|
+
// Horizontal version (slide t o left)
|
180
|
+
if (uv_first.x > 1.0) {
|
166
181
|
output_color = color_second;
|
167
|
-
} else if (uv_second.x
|
182
|
+
} else if (uv_second.x < 0.0) {
|
168
183
|
output_color = color_first;
|
169
184
|
} else {
|
170
|
-
// A and B frames are shown at the same time
|
171
185
|
output_color = mix(color_first, color_second, progress);
|
172
186
|
}
|
173
187
|
}
|
@@ -4,8 +4,8 @@ yta_editor_nodes_gpu/processor/blender/__init__.py,sha256=fiDX0wxeks2o6BbINQaYrt
|
|
4
4
|
yta_editor_nodes_gpu/processor/blender/utils.py,sha256=MpPMZ_pYpVUyIo-hcVQHKrbBWTpG1yEE8d80k9npJpI,1762
|
5
5
|
yta_editor_nodes_gpu/processor/video/__init__.py,sha256=FwL8sbxu9EgBog-17_PF25O1iS-upHd3aGGB-UKKe4E,7009
|
6
6
|
yta_editor_nodes_gpu/processor/video/experimental.py,sha256=BKOXlCZXuOhlcDC4pHcS2EoQI4_ur7971ktyteLklk0,21262
|
7
|
-
yta_editor_nodes_gpu/processor/video/transitions/__init__.py,sha256=
|
8
|
-
yta_editor_nodes_gpu-0.0.
|
9
|
-
yta_editor_nodes_gpu-0.0.
|
10
|
-
yta_editor_nodes_gpu-0.0.
|
11
|
-
yta_editor_nodes_gpu-0.0.
|
7
|
+
yta_editor_nodes_gpu/processor/video/transitions/__init__.py,sha256=mMUFoo6upDlAZkcdEPVThnMa_FTjKRWfjgA47gGRkmw,23134
|
8
|
+
yta_editor_nodes_gpu-0.0.3.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
9
|
+
yta_editor_nodes_gpu-0.0.3.dist-info/METADATA,sha256=39sh9SP1f_zhphMYC91djl9lsLXvEmjkAkUBKuKlNr0,663
|
10
|
+
yta_editor_nodes_gpu-0.0.3.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
11
|
+
yta_editor_nodes_gpu-0.0.3.dist-info/RECORD,,
|
File without changes
|
{yta_editor_nodes_gpu-0.0.2.dist-info → yta_editor_nodes_gpu-0.0.3.dist-info}/licenses/LICENSE
RENAMED
File without changes
|