GL Transitions gallery (sharing place, share the code here)

set wrote on 12/25/2021, 3:23 PM

This post is for sharing the customized transitions you have made based on the explanation: https://www.vegascreativesoftware.info/us/forum/vp19b458-gl-transitions-feature--133471/

 

Custom presets are stored in:

C:\User\<username>\Documents\OFX Presets.

And as for this GL Transitions, can be found in:

C:\User\<username>\Documents\OFX Presets\de.magix_glTransition\Transition\

 

Looking forward to see your unique transition, code, example, and how to 'install' if preset modification is needed

 

Personal opinion:

Exponential Swish by @boundless-beta 

https://www.vegascreativesoftware.info/us/forum/gl-transitions-gallery-sharing-place-share-the-code-here--133472/?page=2#ca855233

This is an extremely interesting customized transition with modern feel ever made. Love this one and easy to use.

Last changed by set

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

Comments

boundless-beta wrote on 3/14/2022, 2:02 PM

OP calls for modified transitions, but I had a go at putting my own code! I call this one "Stripe Wipe":

<OfxPreset plugin="de.magix:glTransition" context="Transition" name="Stripe Wipe">
    <OfxPlugin>de.magix:glTransition</OfxPlugin>
    <OfxPluginVersion>1 0</OfxPluginVersion>
    <OfxParamTypeInteger name="IsPreset">
      <OfxParamValue>58</OfxParamValue>
    </OfxParamTypeInteger>
    <OfxParamTypeInteger name="kParamInt0">
      <OfxParamValue>3</OfxParamValue>
    </OfxParamTypeInteger>    
    <OfxParamTypeDouble name="kParamFloat0">
      <OfxParamValue>0.5</OfxParamValue>
    </OfxParamTypeDouble>    
    <OfxParamTypeRGBA name="kParamVec40">
      <OfxParamValue>0.2 0.1 0.8 1</OfxParamValue>
    </OfxParamTypeRGBA>    
    <OfxParamTypeRGBA name="kParamVec41">
      <OfxParamValue>0.4 0.8 1 1</OfxParamValue>
    </OfxParamTypeRGBA>    
    <OfxParamTypeDouble name="kParamFloat1">
      <OfxParamValue>0.7</OfxParamValue>
    </OfxParamTypeDouble>    
    <OfxParamTypeDouble name="kParamFloat2">
      <OfxParamValue>0</OfxParamValue>
    </OfxParamTypeDouble>    
    <OfxParamTypeDouble name="kParamFloat3">
      <OfxParamValue>0</OfxParamValue>
    </OfxParamTypeDouble>    
    <OfxParamTypeString name="kParamInt0Name">
      <OfxParamValue>Layer Count</OfxParamValue>
    </OfxParamTypeString>    
     <OfxParamTypeString name="kParamFloat0Name">
      <OfxParamValue>Layer Spread</OfxParamValue>
    </OfxParamTypeString>    
     <OfxParamTypeString name="kParamVec40Name">
      <OfxParamValue>First Color</OfxParamValue>
    </OfxParamTypeString>    
     <OfxParamTypeString name="kParamVec41Name">
      <OfxParamValue>Last Color</OfxParamValue>
    </OfxParamTypeString>    
     <OfxParamTypeString name="kParamFloat1Name">
      <OfxParamValue>Shadow Intensity</OfxParamValue>
    </OfxParamTypeString>    
     <OfxParamTypeString name="kParamFloat2Name">
      <OfxParamValue>Shadow Spread</OfxParamValue>
    </OfxParamTypeString>    
     <OfxParamTypeString name="kParamFloat3Name">
      <OfxParamValue>Angle</OfxParamValue>
    </OfxParamTypeString>    
    <OfxParamTypeString name="GLSLString">
      <OfxParamValue>
// Name: Stripe Wipe
// Author: Boundless
// License: MIT
#define PI 3.14159265
uniform int kParamInt0; //= 3 [1, 20]
uniform float kParamFloat0; //= 0.5 [0, 1]
uniform vec4 kParamVec40; //= vec3(0.2,0.1,0.8,1.0)
uniform vec4 kParamVec41; //= vec3(0.4,0.8,1.0,1.0)
uniform float kParamFloat1; //= 0.7 [0, 5]
uniform float kParamFloat2; //= 0. [-10, 10]
uniform float kParamFloat3; //= 0. [-180,180]
float rad = kParamFloat3 * PI / 180.;
vec2 rot (vec2 uv) {
  vec2 uv0 = uv;
  uv = vec2(uv.x*ratio,uv.y);
  uv.x -= (ratio-1.)/2.;
  float offset = abs(sin(rad))+abs(cos(rad)*ratio);
  uv -= 0.5;
  uv /= offset;
  uv = uv * mat2(cos(rad),-sin(rad),sin(rad),cos(rad));
  uv += 0.5;
  return uv;
}
vec4 wipe (vec2 uv) {
  float px = pow(-rot(uv).x+1.0,1./3.);
  float colorMix = ((px+((1.+kParamFloat0)*progress-1.))*float(kParamInt0)/kParamFloat0)/(float(kParamInt0)-1.);
  return mix(
    getFromColor(uv),
    getToColor(uv),
    progress &gt; colorMix ? 0.0 : 1.0);
}
vec4 layers (vec3 colorIn, vec3 colorOut, vec2 uv) {
  float px = pow(-rot(uv).x+1.0,1./3.);
  float colorMix;
  vec4 colorComp;
  if (kParamInt0 == 1) {
    colorMix = floor((px+((1.+kParamFloat0)*progress-1.))/kParamFloat0)*2.;
  } else {
    colorMix = floor((px+((1.+kParamFloat0)*progress-1.))*float(kParamInt0)/kParamFloat0)/(float(kParamInt0)-1.);
  }
  float colorShade = fract((px+((1.+kParamFloat0)*progress-1.))*float(kParamInt0)/kParamFloat0);
  colorShade = colorShade*kParamFloat1+kParamFloat2;
  colorShade = clamp(colorShade,0.,1.)*-1.+1.;
  colorShade = colorMix &gt; 1. || colorMix &lt; -2./float(kParamInt0) ? 1.0 : (colorMix == 1.0 || kParamInt0 == 1 ? 1.0 : colorShade);
  vec4 shadeComp = clamp(vec4(colorShade,colorShade*1.05,colorShade*1.3,1.0),0.0,1.0);
  shadeComp = sin(shadeComp*PI/2.);
  if(colorMix &gt; 1.) {
    colorComp = wipe(uv);
  } else if (colorMix &lt; 0.) {
    colorComp = wipe(uv);
    colorComp *= mix(vec4(1.0),shadeComp,clamp(progress*10.,0.,1.));
  } else {
    colorComp = vec4(mix(
      colorIn,
      colorOut,
      colorMix),1.0)*shadeComp;
  }
  return colorComp;
}
vec4 transition (vec2 uv) {
  return layers(kParamVec40, kParamVec41, uv);
}
      </OfxParamValue>
    </OfxParamTypeString>    
</OfxPreset>

What it looks like with default params:

VEGASPascal wrote on 3/14/2022, 2:15 PM

Cool

Pridak wrote on 3/14/2022, 4:19 PM

Looks unique and modern, fits for technological or tutorial movies.

fr0sty wrote on 3/15/2022, 1:49 AM

First scripting, now transitions, I really think team VEGAS needs to keep putting more customization options into the hands of users who can write their own code, which then creates a thriving community of users sharing their customizations. I think it would be cool, for instance, for a user to be able to create their own version of the preview window, with added functions, or create custom skins for VEGAS. that last one especially, you will never please all users with aesthetic decisions made, but if you let them customize the look themselves completely, they can skin it however they like and everyone is happy.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

3POINT wrote on 3/15/2022, 2:39 AM

To my opinion, Vegas has more than enough functions to customize the UI, customize toolbars, customize windows, customize through burger menu etc. I personally rather like to spend my time with editing than with customizing the Vegas UI or customizing/designing transitions/scripts, etc.

fr0sty wrote on 3/15/2022, 8:25 AM

To my opinion, Vegas has more than enough functions to customize the UI, customize toolbars, customize windows, customize through burger menu etc. I personally rather like to spend my time with editing than with customizing the Vegas UI or customizing/designing transitions/scripts, etc.

By allowing users to customize VEGAS to their needs, both people like you and those who desire more out of the interface/functionality can have what they want, and the developers don't have to lift a finger beyond the point of enabling it.

 

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Pridak wrote on 3/15/2022, 8:48 AM

To my opinion, Vegas has more than enough functions to customize the UI, customize toolbars, customize windows, customize through burger menu etc. I personally rather like to spend my time with editing than with customizing the Vegas UI or customizing/designing transitions/scripts, etc.

Agree. VEGAS has lots of customization options. At this moment, stability, speed and codec support is much more important.

fr0sty wrote on 3/15/2022, 9:46 AM

What VEGAS needs first isn't my point, I'm just saying that by enabling users to customize VEGAS further, it is nothing but a good thing. If you don't like or need it, nobody would be forcing it on you, but those of us that would benefit from it, to have the option and a thriving community of people developing content that enhances VEGAS I see as being beneficial.

We all know that VEGAS needs certain things as soon as can possible get them, I too would rather see performance and stability continue to catch up.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

RogerS wrote on 3/15/2022, 10:17 AM

Back to the point of this thread, Is anyone making commercial GL transitions? So far we have code for 1 generously offered here. I don't think I'll ever learn how to make them but if there were some for sale I'd consider it.

Custom PC (2022) Intel i5-13600K with UHD 770 iGPU with latest driver, MSI z690 Tomahawk motherboard, 64GB Corsair DDR5 5200 ram, NVIDIA 2080 Super (8GB) with latest studio driver, 2TB Hynix P41 SSD and 2TB Samsung 980 Pro cache drive, Windows 11 Pro 64 bit

Dell XPS 15 laptop (2017) 32GB ram, NVIDIA 1050 (4GB) with latest studio driver, Intel i7-7700HQ with Intel 630 iGPU (latest available driver), dual internal SSD (1TB; 1TB), Windows 10 64 bit

VEGAS Pro 19.651
VEGAS Pro 20.411
VEGAS Pro 21.208
VEGAS Pro 22.93

Try the
VEGAS 4K "sample project" benchmark (works with VP 16+): https://forms.gle/ypyrrbUghEiaf2aC7
VEGAS Pro 20 "Ad" benchmark (works with VP 20+): https://forms.gle/eErJTR87K2bbJc4Q7

alifftudm95 wrote on 3/15/2022, 10:55 AM

can someone recreate this transition with the GL? I requested on the Github community but no luck.

Editor and Colorist (Kinda) from Malaysia

MYPOST Member

PC DEKSTOP

CPU: Ryzen 9 5900x

GPU: RTX3090 24GB

RAM: 64GB 3200MHZ

MOBO: X570-E

Storage:

C DRIVE NVME M.2 1TB SSD GEN 4

D DRIVE NVME M.2 2TB SSD GEN 4

E DRIVE SATA SSD 2TB

F DRIVE SATA SSD 2TB

G DRIVE HDD 1TB

Monitor: Asus ProArt PA279CV 4K HDR (Bought on 30 August 2023)

Monitor: BenQ PD2700U 4K HDR (RIP on 30 August 2023)

 

 

 

JackWhite wrote on 3/16/2022, 7:46 AM

Thanks @boundless-beta. When I add the script to the default GL transition I just get a black screen with "invalid shader" in res text where the transition should be. Am I doing something wrong?

jetdv wrote on 3/16/2022, 8:33 AM

@alifftudm95, that's actually not a "transition" but an effect added to the left and right sides. Those can be set up using my Christmas gift:

https://www.vegascreativesoftware.info/us/forum/free-transitions-a-b-extension-merry-christmas-from-jetdv--133460/

I do think it's definitely possible an actual transition could be made that does the same thing, though.

jetdv wrote on 3/16/2022, 9:19 AM

@lan-mLMC, all I can see is that he split the end/beginning of the clip into a separate piece so the effect wouldn't affect the entire clip and then simply added a different effect to each side. Technically, not a transition but effects added to each side. In the video you posted, it looks like they're actually using other clips to "cover up" the transition between the clips.

I still believe that "look" could be done as an actual "transition", though. But the Christmas Gift allows setting up "transitions" using effects and even allows adding keyframes to make them last the proper length without needing to "split" the clip on the timeline.

Steve_Rhoden wrote on 3/16/2022, 9:19 AM

Prodad Vitascene 4 for Vegas has some very impressive Seamless Transitions included..... Another option if anyone has the need.

lan-mLMC wrote on 3/16/2022, 9:35 AM

Technically, not a transition but effects added to each side. I

@jetdv 

Yeah, it's not transition in the traditional sense if we judge it from the way the video makers create it.

But from the audience's point of view, it's a really cool transition. No difference from the traditional transition, even more stylish and cool.

And it has one more obvious superiority over traditional transition: It doesn't require events to overlap, so adding this transition doesn't disrupt the existing structure of the project timeline.

This is really important for making videos, we can first edit and arrange all the clips, and then we can add these transitions finally ( Don't worry that it requires overlapping events and messing up the timeline ) , which is very efficient.

3POINT wrote on 3/16/2022, 11:10 AM

And it has one more obvious superiority over traditional transition: It doesn't require events to overlap, so adding this transition doesn't disrupt the existing structure of the project timeline.

This is really important for making videos, we can first edit and arrange all the clips, and then we can add these transitions finally ( Don't worry that it requires overlapping events and messing up the timeline ) , which is very efficient.

I know this (usefull and beloved) feature from my other NLE, where I can decide between an overlapping or a cross transition. A cross transition doesn't disrupt the structure and gives the possibility to add transitions finally. Not each transition is suitable to give a seamless cross (like a fade) but a lot of transitions are suitable.

lan-mLMC wrote on 3/16/2022, 11:32 AM

Not each transition is suitable to give a seamless cross (like a fade) but a lot of transitions are suitable.

@3POINT I agree, I've never said that the new form of seamless transitions can completely replace traditional overlapping transitions, because some transitions must have two events in the same one frame (like cross fade, window-blinds ).  

However, when both forms of transition are suitable, the new form of seamless transition has the advantage of being more efficient (no overlap is required to disrupt the timeline; More stylish and cool).

==========================================

I know this (usefull and beloved) feature from my other NLE, where I can decide between an overlapping or a cross transition. A cross transition doesn't disrupt the structure and gives the possibility to add transitions finally.

I will not adopt this method of PowerDirector, because it makes the last frame of the previous event stand still, and the first frame of the next event stand still, so as to avoid overlapping. This makes the frames suddenly stop while the video is playing, which is a very strange visual experience and makes people uncomfortable to watch. I generally don't recommend using this method.

3POINT wrote on 3/16/2022, 1:26 PM

As I said not every transition is suitable, but in Powerdirector a lot of seamless transitions are suitable for crossing instead of overlapping and that without a freeze of last and first frame.

fr0sty wrote on 3/16/2022, 2:17 PM

I downloaded some transition pack on youtube that used BCC to do all of those fancy zoom transitions, but I can't remember where it was. It worked the same way, you didn't overlap the clips, you just applied an effects preset to them and it did the rest.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

3POINT wrote on 3/16/2022, 5:07 PM

@lan-mLMC a short example of a simple edit without transitions and the same edit with seamless cross transitions:

Adding the cross transitions didn't disrupt the edit or it's length. This wouldn't be possible to do in Vegas where only overlapping transitions are possible.

boundless-beta wrote on 3/16/2022, 8:31 PM

Thanks @boundless-beta. When I add the script to the default GL transition I just get a black screen with "invalid shader" in res text where the transition should be. Am I doing something wrong?

I should have mentioned that this code block was formatted for the preset file mentioned in Example 3 of this post.

Open that file and paste the code just above the last line with "</OfxPresetPackage>". You will need to restart VEGAS Pro afterwards. If done correctly, the transition should appear at the end of GL Transition's preset list.

set wrote on 3/16/2022, 11:44 PM

Thanks @boundless-beta. When I add the script to the default GL transition I just get a black screen with "invalid shader" in res text where the transition should be. Am I doing something wrong?

I should have mentioned that this code block was formatted for the preset file mentioned in Example 3 of this post.

Open that file and paste the code just above the last line with "</OfxPresetPackage>". You will need to restart VEGAS Pro afterwards. If done correctly, the transition should appear at the end of GL Transition's preset list.

Thank you for further explanation... Yes, this is extremely important, to paste the code before last line </OfxPresetPackage>.

 

Yet all presets are customizable... great job!

Last changed by set on 3/16/2022, 11:48 PM, changed a total of 2 times.

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

FayFen wrote on 3/17/2022, 2:03 AM

Prodad Vitascene 4 for Vegas has some very impressive Seamless Transitions included..... Another option if anyone has the need.

Indeed, I have Vitascene4 LE with my other NLE and I can say it has high quality tools. I also received 3 months complimentary full version and it worked well with my VMS16P. I wonder why it never bundled with Vegas...

https://www.prodad.com/Video-Effects-Transitions/VitaScene-V4-PRO-84125,l-us.html