-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7aa80e
commit 78fe3e8
Showing
10 changed files
with
301 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Copyright (C) 2024 Andrew Wason | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
import QtQuick | ||
import MediaFX.Transition as T | ||
import MediaFX.Viewer | ||
|
||
/*! | ||
\qmltype GlitchMemories | ||
\inherits MediaTransition | ||
\inqmlmodule MediaFX.Transition.GL | ||
\brief Implements gl-transitions \l {https://gl-transitions.com/editor/GlitchMemories} {GlitchMemories}. | ||
*/ | ||
T.MediaTransition { | ||
id: root | ||
|
||
TransitionShaderEffect { | ||
sourceItem: root.source | ||
destItem: root.dest | ||
progress: root.time | ||
|
||
fragmentShader: "qrc:/shaders/gltransition/GlitchMemories.frag.qsb" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Copyright (C) 2024 Andrew Wason | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
import QtQuick | ||
import MediaFX.Transition as T | ||
import MediaFX.Viewer | ||
|
||
/*! | ||
\qmltype LinearBlur | ||
\inherits MediaTransition | ||
\inqmlmodule MediaFX.Transition.GL | ||
\brief Implements gl-transitions \l {https://gl-transitions.com/editor/LinearBlur} {LinearBlur}. | ||
*/ | ||
T.MediaTransition { | ||
id: root | ||
|
||
/*! XXX */ | ||
property alias intensity: shader.intensity | ||
|
||
TransitionShaderEffect { | ||
id: shader | ||
property real intensity: 0.1 | ||
|
||
sourceItem: root.source | ||
destItem: root.dest | ||
progress: root.time | ||
|
||
fragmentShader: "qrc:/shaders/gltransition/LinearBlur.frag.qsb" | ||
} | ||
ui: Component { | ||
Column { | ||
spacing: 2 | ||
UIRealSpinBox { | ||
label: "intensity" | ||
initialValue: 0.1 | ||
stepSize: 0.1 | ||
Component.onCompleted: shader.intensity = Qt.binding(() => value) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Copyright (C) 2024 Andrew Wason | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
import QtQuick | ||
import MediaFX.Transition as T | ||
import MediaFX.Viewer | ||
|
||
/*! | ||
\qmltype PolkaDotsCurtain | ||
\inherits MediaTransition | ||
\inqmlmodule MediaFX.Transition.GL | ||
\brief Implements gl-transitions \l {https://gl-transitions.com/editor/PolkaDotsCurtain} {PolkaDotsCurtain}. | ||
*/ | ||
T.MediaTransition { | ||
id: root | ||
|
||
/*! XXX */ | ||
property alias dots: shader.dots | ||
/*! XXX */ | ||
property alias center: shader.center | ||
|
||
TransitionShaderEffect { | ||
id: shader | ||
property real dots: 20.0 | ||
property point center: Qt.point(0, 0) | ||
|
||
sourceItem: root.source | ||
destItem: root.dest | ||
progress: root.time | ||
|
||
fragmentShader: "qrc:/shaders/gltransition/PolkaDotsCurtain.frag.qsb" | ||
} | ||
ui: Component { | ||
Column { | ||
spacing: 2 | ||
UIRealSpinBox { | ||
label: "dots" | ||
initialValue: 20.0 | ||
Component.onCompleted: shader.dots = Qt.binding(() => value) | ||
} | ||
UIRealSpinBox { | ||
label: "center.x" | ||
initialValue: 0 | ||
Component.onCompleted: shader.center.x = Qt.binding(() => value) | ||
stepSize: 0.1 | ||
from: -1.0 | ||
to: 1.0 | ||
} | ||
UIRealSpinBox { | ||
label: "center.y" | ||
initialValue: 0 | ||
Component.onCompleted: shader.center.y = Qt.binding(() => value) | ||
stepSize: 0.1 | ||
from: -1.0 | ||
to: 1.0 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// Copyright (C) 2024 Andrew Wason | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
import QtQuick | ||
import MediaFX.Transition as T | ||
import MediaFX.Viewer | ||
|
||
/*! | ||
\qmltype SimpleZoom | ||
\inherits MediaTransition | ||
\inqmlmodule MediaFX.Transition.GL | ||
\brief Implements gl-transitions \l {https://gl-transitions.com/editor/SimpleZoom} {SimpleZoom}. | ||
*/ | ||
T.MediaTransition { | ||
id: root | ||
|
||
/*! XXX */ | ||
property alias zoom_quickness: shader.zoom_quickness | ||
|
||
TransitionShaderEffect { | ||
id: shader | ||
property real zoom_quickness: 0.8 | ||
|
||
sourceItem: root.source | ||
destItem: root.dest | ||
progress: root.time | ||
|
||
fragmentShader: "qrc:/shaders/gltransition/SimpleZoom.frag.qsb" | ||
} | ||
ui: Component { | ||
Column { | ||
spacing: 2 | ||
UIRealSpinBox { | ||
label: "zoom_quickness" | ||
initialValue: 0.8 | ||
stepSize: 0.1 | ||
Component.onCompleted: shader.zoom_quickness = Qt.binding(() => value) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Copyright (C) 2024 Andrew Wason | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
import QtQuick | ||
import MediaFX.Transition as T | ||
import MediaFX.Viewer | ||
|
||
/*! | ||
\qmltype WaterDrop | ||
\inherits MediaTransition | ||
\inqmlmodule MediaFX.Transition.GL | ||
\brief Implements gl-transitions \l {https://gl-transitions.com/editor/WaterDrop} {WaterDrop}. | ||
*/ | ||
T.MediaTransition { | ||
id: root | ||
|
||
/*! XXX */ | ||
property alias amplitude: shader.amplitude | ||
/*! XXX */ | ||
property alias speed: shader.speed | ||
|
||
TransitionShaderEffect { | ||
id: shader | ||
property real amplitude: 30 | ||
property real speed: 30 | ||
|
||
sourceItem: root.source | ||
destItem: root.dest | ||
progress: root.time | ||
|
||
fragmentShader: "qrc:/shaders/gltransition/WaterDrop.frag.qsb" | ||
} | ||
ui: Component { | ||
Column { | ||
spacing: 2 | ||
UIRealSpinBox { | ||
label: "amplitude" | ||
initialValue: 30 | ||
Component.onCompleted: shader.amplitude = Qt.binding(() => value) | ||
} | ||
UIRealSpinBox { | ||
label: "speed" | ||
initialValue: 30 | ||
Component.onCompleted: shader.speed = Qt.binding(() => value) | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Copyright (C) 2024 Andrew Wason | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
import QtQuick | ||
import MediaFX.Transition as T | ||
import MediaFX.Viewer | ||
|
||
/*! | ||
\qmltype WindowSlice | ||
\inherits MediaTransition | ||
\inqmlmodule MediaFX.Transition.GL | ||
\brief Implements gl-transitions \l {https://gl-transitions.com/editor/windowslice} {WindowSlice}. | ||
*/ | ||
T.MediaTransition { | ||
id: root | ||
|
||
/*! XXX */ | ||
property alias count: shader.count | ||
/*! XXX */ | ||
property alias smoothness: shader.smoothness | ||
|
||
TransitionShaderEffect { | ||
id: shader | ||
property real count: 10.0 | ||
property real smoothness: 0.5 | ||
|
||
sourceItem: root.source | ||
destItem: root.dest | ||
progress: root.time | ||
|
||
fragmentShader: "qrc:/shaders/gltransition/windowslice.frag.qsb" | ||
} | ||
ui: Component { | ||
Column { | ||
spacing: 2 | ||
UIRealSpinBox { | ||
label: "count" | ||
initialValue: 10.0 | ||
Component.onCompleted: shader.count = Qt.binding(() => value) | ||
} | ||
UIRealSpinBox { | ||
label: "smoothness" | ||
initialValue: 0.5 | ||
Component.onCompleted: shader.smoothness = Qt.binding(() => value) | ||
stepSize: 0.1 | ||
to: 1.0 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,9 @@ MediaSequence { | |
}, | ||
Component { | ||
Ripple { } | ||
}, | ||
Component { | ||
PolkaDotCurtains { } | ||
} | ||
] | ||
|
||
|