I have finally finished creating the Sniper_Scope filter (It’s a good way of spending the time while in hospital). It is fully key-framed (see the image below). I took the time to use the “transitions” framework I created some time ago, so as not to re-invent the wheel. It was “fun” getting the keyframes to work. I should now be able to incorporate other filters more quickly using this as the basis. If anyone has a suggestion for one I might be able to do it (no promises). The filter itself is a shader program that runs using webGL and hence uses the GPU. The ZIP file is here:
Just took the filter for a very quick run. Very cool stuff!
Some quick thoughts:
Is it possible to have the X and Y parameters go off screen? This in case someone wants to animate the scope entering the screen?
Can there be color control for the cross-hairs also?
In any case, this is really creative stuff! Thanks, Elusien!
Do you have other ideas for filters you’re thinking of?
I’ll have a look at the equations and do a bit of experimenting.
This one is relatively easy to do. I meant to do it before, but it slipped my mind.
Not too bad. It seems I picked up a pulmonary embolism from the plane journey and am being well looked after. I had one 12 years ago after a trip from the Seychelles, so I have an idea of what the treatment is going to be.
Would you be able to explain in detail the procedure to follow to make this / these html filters work?
I tried following the thread 36 gl transitions procedure, but I do not have to do it right because it does not work at home.
I unzipped the downloaded file and put all the internal files in the same folder as the mlt file of my project.
I select my clip on track V1 (I only have 1 track) and I call the filter “overlay html”.
I check the box “use webVfx” and in the popup I answer yes.
I click on the “open” button and select the “Sniper_Scope.html” file located in my project folder.
Nothing applies to my clip.
Should I use a V2 track? another filter in parallel? Download webVfx and place it somewhere?
Thank you for your help and good recovery to Elusien.
After you unzip the file you put the folder for that filter in the Shotcut program files for filters. I don’t know what OS you are using but in Windows the Filters folder is in Share > Shotcut > QML > Filters.
I’m on Mac, OSX 10.11 and I put the files in a folder completely independent of the Shotcut software. This is the folder that is created by Shotcut when we start a project and in which the .mlt project is saved.
Here is the content of this folder.
If you want to use the GL Transitions in your video you need to have the html files and the gl-transition-objects.js, gl-transitions.js and shaderkit.js files all in the same folder. You do not need the webvfx.js file to use the GL transitions.
Here’s a sample project with a few GL transitions and the sniperscope html file.