[WIP OFX Plug-In] Sapphire-esque transform plug-in with extra features

boundless-beta wrote on 9/12/2024, 9:37 PM

Hello, VEGAS community! I saw @zzzzzz9125's post of a work-in-progress OFX plug-in and was inspired to share a preview of my own plug-in!

This plug-in is heavily inspired by Boris FX Sapphire's S_WarpTransform and S_Shake effects, but has a plethora of extra functions such as temporal easing/elasticity, adjustable motion blur, and even a parent system!

A demo showcasing the plug-in in action (warning, video is almost 20 minutes long):

There are still some kinks to work out. Currently the plug-in is hard-coded to use OpenCL. If OpenCL is not supported or GPU Acceleration is disabled, the plug-in will not function. Previewing any part of a project in the Project Media tab that's applying the plug-in will freeze VEGAS because of this.

This plug-in is not yet available for download as I have yet to determine how I'll share it. Regardless, I would love to hear your thoughts on this!

Comments

zzzzzz9125 wrote on 9/13/2024, 12:44 AM

Great plugin... Looking forward to its official release day!

Using VEGAS Pro 22 build 248 & VEGAS Pro 21 build 208.

Information about my PC:
Brand Name: HP VICTUS Laptop
System: Windows 11.0 (64-bit) 10.00.22631
CPU: 12th Gen Intel(R) Core(TM) i7-12700H
GPU: NVIDIA GeForce RTX 3050 Laptop GPU
GPU Driver: NVIDIA Studio Driver 560.70

Steve_Rhoden wrote on 9/13/2024, 1:58 AM

That is quite creative... My only issue from the info you've given, is the 100% dependability on GPU and OpenCL.

boundless-beta wrote on 9/13/2024, 2:31 AM

My only issue from the info you've given, is the 100% dependability on GPU and OpenCL.

At this stage in development, that is the case, but I am in the process of rewriting the OpenCL parts to have a CPU fallback. My main reason for using OpenCL for rendering is that VEGAS directly integrates it into its GPU acceleration.

zzzzzz9125 wrote on 9/13/2024, 2:45 AM

At this stage in development, that is the case, but I am in the process of rewriting the OpenCL parts to have a CPU fallback. My main reason for using OpenCL for rendering is that VEGAS directly integrates it into its GPU acceleration.

@boundless-beta Would you share this code later? I ran into the exact opposite problem: MisczOFX only uses CPU, not GPU. It seems that open-misc also works like this, and I don't know how to fix it.

Last changed by zzzzzz9125 on 9/13/2024, 2:48 AM, changed a total of 1 times.

Using VEGAS Pro 22 build 248 & VEGAS Pro 21 build 208.

Information about my PC:
Brand Name: HP VICTUS Laptop
System: Windows 11.0 (64-bit) 10.00.22631
CPU: 12th Gen Intel(R) Core(TM) i7-12700H
GPU: NVIDIA GeForce RTX 3050 Laptop GPU
GPU Driver: NVIDIA Studio Driver 560.70

boundless-beta wrote on 9/13/2024, 4:49 AM

Update: I rewrote the OpenCL rendering code to have a CPU fallback, it proved to be much easier than I anticipated. As expected, this fallback is much slower, but functioning the same.

@zzzzzz9125 I used the main OpenFX source code as the basis for my plugin- specifically an included example that uses the GPU to adjust the image's gain. The example also has functions for other GPU architectures like CUDA and Metal, but I don't have an NVIDIA GPU or a Mac to test those (VEGAS isn't on Mac anyways).

zzzzzz9125 wrote on 9/13/2024, 5:17 AM

I used the main OpenFX source code as the basis for my plugin- specifically an included example that uses the GPU to adjust the image's gain. The example also has functions for other GPU architectures like CUDA and Metal, but I don't have an NVIDIA GPU or a Mac to test those (VEGAS isn't on Mac anyways).

@boundless-beta Thank you! I'll study this example and make an update to my MisczOFX if successful. Also wish you a smooth development!

Using VEGAS Pro 22 build 248 & VEGAS Pro 21 build 208.

Information about my PC:
Brand Name: HP VICTUS Laptop
System: Windows 11.0 (64-bit) 10.00.22631
CPU: 12th Gen Intel(R) Core(TM) i7-12700H
GPU: NVIDIA GeForce RTX 3050 Laptop GPU
GPU Driver: NVIDIA Studio Driver 560.70

Steve_Rhoden wrote on 9/13/2024, 9:41 AM

@boundless-beta

I rewrote the OpenCL rendering code to have a CPU fallback

That is good to hear. Doesn't matter if it is slower.