Welcome, Guest
Username Password: Remember me

TOPIC: Custom and User Effects

Re: Custom and User Effects 2 months, 1 week ago #195663

  • SchwobaSeggl
  • Pro User
  • OFFLINE
  • Senior Boarder
  • Posts: 77
  • 2 months, 1 week ago
The 2DVE of Lightworks can be adjusted in the preview panel, there's this little square with the middle of the picture... perhaps this could be a hint towards the mechanics of adjusting polygon shapes with drag handlers on the screen?
kxStudio/Ubuntu Linux user, audio guy doing live mixdown and recording, long-time Ardour user. Now getting into video with LWKS.

Re: Custom and User Effects 2 months, 1 week ago #195668

  • hugly
  • OFFLINE
  • Platinum Boarder
  • Posts: 19045
  • 2 months, 1 week ago
@schrauber, tricky setup, thank you for sharing.

@SchwobaSeggle, on the polymask effects the little squares to adjust each corner-point and position X/Y of the whole mask are already there.
It's better to travel well than to arrive...

Re: Custom and User Effects 2 months, 1 week ago #195671

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 10974
  • 2 months, 1 week ago
schrauber wrote:
The old "Alpha adjust" effect seems to have been replaced in the library by the "Blend tools" effect?

Yes, the older effect was withdrawn over a year ago, since blend tools does everything that it did and more.

That workflow is interesting. It's similar to a masking technique that I use with keys and mattes in special effects work. Set up the key, blur the alpha channel and map it to the RGB channels, adjust the levels and clip them to expand the alpha mask then apply another simple blur to soften the edges somewhat. The result can be used to control defringing, or with an edge detection effect to blur just the edges of the finished key where an out of focus key is needed.

Of course I usually do this in dedicated effects and compositing software, but there's no reason that it couldn't be done in Lightworks.

Re: Custom and User Effects 2 months, 1 week ago #195840

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 10974
  • 2 months, 1 week ago
I have been motivated to create an effect that creates lightning-like flashes by the work that schrauber is doing on a camera flash effect. Called (predictably) "Lightning flash" (LightningFlash.fx) it installs on Lightworks version 14.5 and higher. The number of flash cycles can be adjusted from one to five and the flash duration can be set from one to three frames. It then does a reasonably fast fade back to normal. A colour cast can be added to the flash and the duration of the fade back to normal can be set from two to thirty frames.

This image is hidden for guests. Please log in or register to see it.


Play LightningFlash.mp4 and/or download LightningFlash.fx. You'll find full details here.
Last Edit: 2 months, 1 week ago by jwrl.

Re: Custom and User Effects 1 month, 3 weeks ago #196379

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 2903
  • 1 month, 3 weeks ago
RC effects:

With the release of version 14.5 different GPU precision settings are now available. Schrauber advises that using 16-bit and 32-bit floating point modes can improve the performance of effects that require precise angle and rotation settings. However at this stage 16-bit floating point isn't recommended for remote control effects. It can result in unpredictable angle changes. The Settings Display Unit will also not work with 16-bit floating point mode, so for the moment that mode should be avoided.

This affected the old effects.

The effects used in this thread no longer have these problems.
The remote control precision is at least 16 bits even when 8-bit GPU precision is set.
If higher GPU precision is set, then the remote control precision is even better (recommended for remote control of a rotation).
Nevertheless, 16-bit floating point does not quite reach the precision of normal 16 bits, which probably could only be seen in exceptional cases with very slow rotation.
Mainly automatically translated
--------------------------------------------
Windows 10, 64 Bit
Intel i5-4440 (3,1 GHz) ; Intel HD Graphics 4600
Last Edit: 1 month, 3 weeks ago by schrauber.

Re: Custom and User Effects 1 month, 3 weeks ago #196386

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 10974
  • 1 month, 3 weeks ago
Noted. That section now reads as follows:

With the release of version 14.5 an increased range of GPU precision settings is available. That said, the precision used by these effects will always be at least 16 bits even if 8 bit GPU precision is set. Schrauber advises that using 32-bit floating point mode can improve the performance of effects that require precise angle and rotation settings.

Be aware though that 16-bit floating point does not match the precision of standard 16 bit. This will probably only really be visible in exceptional cases with very slow rotation. In fact, with older versions of these effects 16-bit floating point isn't recommended at all because it can result in unpredictable angle changes. The older Settings Display Unit will also not work with 16-bit floating point mode. If this applies to you, download the versions that you find here.

Re: Custom and User Effects 1 month, 3 weeks ago #196407

  • schrauber
  • OFFLINE
  • Platinum Boarder
  • Posts: 2903
  • 1 month, 3 weeks ago
Thank you.

Because currently only the "rc Spin zoom" effect uses rotations, currently this effect only benefits from GPU settings better than 8-bit (16-bit setting is sufficient).
Mainly automatically translated
--------------------------------------------
Windows 10, 64 Bit
Intel i5-4440 (3,1 GHz) ; Intel HD Graphics 4600
Last Edit: 1 month, 3 weeks ago by schrauber.

Re: Custom and User Effects 1 month ago #197370

  • jwrl
  • Moderator
    Pro User
  • OFFLINE
  • Moderator
  • Posts: 10974
  • 1 month ago
After seeing a user's request for opacity, I have quickly written a very simple effect that will do that and addresses problems with image transparency. "Alpha opaque" (AlphaOpq.fx) turns the alpha channel of a clip fully on, as the name suggests, making it opaque. There are two modes available - the first just turns the alpha on and does nothing else, while the second adds a flat background colour where previously the clip was transparent. The default colour used in that mode is black, and the image can also be unpremultiplied when used that way.

A means of boosting alpha before processing to support effects such as Lightworks titles has also been included. This only functions when the background is being replaced, and as usual, when using it with a Lightworks title you will need to disconnect the title's input.

This effect should be useful in those cases where you have an image with transparency, but you need to have it opaque when fed to other effects such as DVEs. There are other means of getting the same result, but they are much more complex, both from a user's point of view and from the programmer's perspective.

This image is hidden for guests. Please log in or register to see it.

The left panel shows an original text graphic produced in Photoshop, the middle shows what happens when it is made opaque with this effect, and the right shows what happens when this effect is blended with a colour, in this case, white. Download AlphaOpq.zip to get it, and as before, check out CUSTOM EFFECTS INSTALLATION for installation instructions.
Last Edit: 1 month ago by jwrl.

Re: Custom and User Effects 2 weeks, 3 days ago #198544

  • beerengine24
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • 2 weeks, 3 days ago
Thank you guys brilliant. I love Lightworks best free editor and I never want to use Davinci Resolve or anything else.

Re: Custom and User Effects 6 days, 14 hours ago #199255

  • beerengine24
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • 6 days, 14 hours ago
Ok thanks, guys makes sense to customise Lightworks for your own use as it does not resource heavy and does not bog down my CPU?GPU too much. Thanks for all your hard work.
Time to create page: 0.32 seconds
Scroll To Top