Checkbox Title with custom controls?

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everybody Jeremy here from Vegeta studio and today I'm going to share with you how to create the checkbox title in DaVinci Resolve we're going to see together how to create the design and the animation and how to create a custom tool that allows you to switch that box from empty to cross to check so if you're ready let's check it out [Music] all right so when Devonshire is over now on the edit page and the first thing we want to do is bring a new Fusion composition in our timeline then we can move over to Fusion once in Fusion we're going to start by bringing a new background and we're going to link it to Output of that background to the media out then I'm just going to reduce the alpha Channel down to zero so we can transparency and then here I'm gonna add a text node and then we're going to link the output of that text node to the background in the text we're going to write whatever we want so right here I'm gonna write checkbox for DaVinci Resolve I'm gonna change the font for pop in and reduce the size a little bit now you might be wondering why I've put my text right here and there is so much space between my background and my text is because we're going to need quite a lot of space to create that checkbox function right here I'm going to share with you quite a few things basically how to create a dynamic checkbox that can switch from an empty cross and check so we'll be creating some custom control and have a different node structure so we're going to see that together but if you don't want to go through the assault we just released a pack on our website called list and bullet points that contain a bunch of different bullet point and lists that you can use with those kind of functionality built in that you can use directly from the edit page so if you know that you're gonna use those kind of asset a lot I would highly recommend you to check it out on our website but right now let's get back to the tutorial and let me show you how you can do it yourself so we're going to start by bringing here a new background and we're going to select here the ellipse to create all ellipse shape we're gonna link the width with the height with an expression by selecting expression and then linking the wave to the height I'm gonna link the output of my background here to my background one then here in ellipse I'm gonna untick solid and I'm just gonna change to all the ways to 0.005 we're gonna reduce here the height to 0.05 and make that Circle smaller we're then just gonna move it here to the side of all text and now we're gonna go over to background and we're going to change the color from black to white now I'm gonna go back to my text and the first thing that I want to do is here anchor it to the left side so here if I were to add some text as you can see it's going to be pushed from the center and it's not going to be aligned with the checkbox we don't want that we want to make sure that when we add some text it's just added on the right side so I'm gonna Encore here to the left and re-adjust the position right there now if I write anything as you can see it's just added to the right and we don't have some displacement happening here to the left alright so we've created our box now I'm going to create first check mark so I'm gonna copy the ellipse and I'm gonna copy the background and I'm gonna paste them right here and then I'm gonna link the output of that background to the merge now I'm gonna bring in a polygon and I'm going to link the output of that polygon here to the ellipse and I'm gonna draw here the check mark so I'm just gonna zoom in so I'm gonna zoom in by a little bit just to see a bit more what I'm doing I'm gonna go in the middle of the circle in terms of height and on the left side but not completely touching the Border I'm gonna click and basically write my first point then I'm gonna hold shift on my keyboard and that's just gonna allow me to create another point but making sure that the line stays straight and so now basically I'm gonna do the exact same thing but this time at the bottom of the circle right there again always holding shifts the whole time to make sure that my line stays straight and then I'm gonna reach outside of the circle about 45 degree out right there and here I'm gonna just create my last point now you can go to Port the width and you can adjust the Border width to 0.005 and now basically as you can see we created that check mark ourselves the shape should be fine but if you're not happy with either the position or the size you can always adjust that right here so here for example I might want to just lift that check mark a little bit more like that and I'm happy with this now you might ask why I've duplicated the ellipse since we've already created the ellipse there it gonna make sense in a minute when we're gonna create the custom control but basically right now the ellipse here is empty and this one we're gonna make an alteration here to the ellipse to make some space for the cross so if I go to ellipse right there and I'm adjusting here the lens to 085 I'm creating an opening right here and then I can just basically move that opening with position and then let the check mark pass through so here we're going to put the position at 0.15 now right now if you want to keep everything white it's fine and we can just move on but if you want to make the check mark green as you can see we're going to need to create another background because here if we go to the background and we try to just change the color as you can see it's affecting both the circle and the check mark so right now what we need to do is bringing a new background in and linking here the polygon and instead linking it to that new background so we can adjust the color individually then here I'm gonna unlink that background and I'm going to link at the output of background 3 to background 2 creating a merge and then linking the output of that merge to the merge in our main composition and now with that background tree we can go and just change the color to Green so here I'm just going to select a green color okay just clean up a little bit like that and now we can move on to the third one which is the cross so here I'm just gonna copy again my ellipse and my background I'm gonna paste them down the line right here make some space and then here create the cross with a new background and a rectangular mask here I'm gonna link the output of the background four to the background two and then I'm gonna link it output of that merge to the merge enormen composition now to my viewer I'm gonna bring here to merge two so I can focus on what I'm doing specifically for that cross checkbox the first thing I want to do is going to background and here I'm going to change the color to red click ok then here on rectangle I'm gonna put the corner reduce at one and I'm gonna reduce the height to make basically a straight line something like 0.01 seems to be good in terms of thickness it seems too much here about the thickness of all previous Circle and about the thickness of all check mark so here I'm just gonna go back to that we're just gonna reduce the width then we're gonna copy that rectangle and paste an instance right above it then we're going to link the output of that background here to a rectangle I'm gonna right click on the angle and then here we can add the instance so we can adjust that value independently here organizes the value to 90 degree as you can see now just creating a plus sign but if we just lift everything another transform in between the background and the merge waiting shift space and here searching for transform and we now just at the angle to 45 we've basically created a cross sign I'm not just gonna move that cross over in the circle and then I'm gonna reduce the size and we should be good so now we're pretty much done with the structure we've created an empty checkbox a checkbox with a check mark in it a check box with a cross in it and then we have all text right here then a minute I'm going to share with you to create a custom tool to easily switch between those different type of checkbox but right now if that's a bit overwhelming to you and your beginner and you just want to use one kind you can always just disconnect whatever branch and keep the one that you want and that will be just completely valid as well okay right now we're just gonna make the system a bit easier with the Custom Tool right here but if that's too much to you you can just do it like that but right now before doing that Custom Tool I'm just quickly going to share with you how to create the animation so I'm gonna select my merge right here hit she's based on my keyboard and bring a brightness node and then it she space again and bring a transform node then here I'm going to be at frame 0 and drop a keyframe on the position and then I'm gonna go to frame 25 and I'm just gonna move move the position x to the left so it's arriving here on the left of my screen then here I'm gonna select my brightness and contrast node I'm gonna select Alpha Channel and I'm gonna go at frame 12 and I'm gonna drop here a keyframe on the gain at one and I'm gonna go to frame 0 and bring to cane down to zero then to smooth out that animation I'm gonna go to the spline editor right here I'm gonna use a trick that I like to use which is to here select show only selected tool which bring the keyframe only of the node that is selected and here I'm just going to select my transform select all my point hit s on my keyboard to smooth out those curves then hit T to bring the easy inner knees out and bring the easy in at 100 and now we basically created a simple animation we can then create additional animation here for the checkbox if you want so for example here for the check mark we can start by here animating the ellipse for example we're gonna go at frame Game 12 drop a keyframe here on the lens and then we're gonna go to frame 0 and bring the lens down to zero and it's just gonna here as you can see create a circle animation for the checkbox and then we're gonna animate the polygon by going over to the polygon go to frame 25 here drop a keyframe on the lens at one and then go to frame 12 and bring the lens down to zero as you can see there is still a little dot right here if we zoom in we can change that by here adjusting the Border Styles right now it's rounded we can just select flat and I will disappear but as you can see it doesn't really match I think what we've created here with the circle so here I'm just gonna go back to rounded and what I'm going to do instead is going here to frame 12. drop a keyframe on the level at one and then go just one frame backward at frame 11 and bring the level down to zero and now we've created our checkbox animation again I want to smooth those things out so I'm gonna select here my ellipse and then all command and select my polygon as well so they both show up here in my spline editor I'm gonna click Zoom to fit here I'm gonna untick the level because I don't want to adjust the curve for the level I just want to adjust the lens for both of them and here I'm just gonna select all my point with s on my keyboard and then bring the ease in at 100 and now we've just created our animation if you wish we can do the same thing for the cross so here I'm just going to disconnect my check mark and I'm going to connect my cross checkbox and here I'm not even gonna do anything on the circle I'm just gonna do something here on the transform so I'm gonna go add frame 25 drop a keyframe on the size and then go to frame 12 and bring the size down to zero then we're just gonna select those two points it as on our keyboard and then bring the easy into 100 and now we have the same thing but for the cross now let's just create that custom tool that will allow us to switch between the different checkbox very easily so the first thing we want to do is here linking all or checkbox to our main composition back to what it was at the beginning I'm gonna select this merge right here and I'm gonna hit shift space on my keyboard search for custom and bring the Custom Tool node here I'm gonna right click on the Custom Tool node and I'm gonna go over to edit control it just prompt open that window and here we're gonna name the name of our control so that's going to be check box we want the type to be a number the page to be in the control so here as you can see we have different Page by default it was in user which will just create a new page but here we have the control page which is the first one and that's what we want we're gonna then select multi-button control here we're going to select integer we're gonna have a range from 0 to 2 and then here we're going to add our checkbox in order so the first one is empty we're going to click add the second one is check I'm gonna click add and the third one is cross we're gonna Click app here I'm going to select a button and name and we're gonna enter okay and as you can see we've created that brand new control checkbox with empty check and cross but as you can see when I toggle each one of them there is nothing happening it's because we're gonna need to connect them with an expression so what we're going to do is that here we're going to bring a brightness and contrast node for each one of those boxes so let's start with the first one it she spaced on our keyboard search for brightness bring the brightness and contrast node select here to Alpha Channel and then we're simply gonna copy that brightness and contrast go to our second box here with the merge and then paste it and then we're gonna go to the last box and do the same thing what we're going to do now is we're going to link with a simple expression that Custom Tool to each one of those opacity control that we're going to create so basically whenever we have empty selected we'll have this one being at opacity one and those two being at opacity zero so that's the only one that's gonna show then when we have the check selected this one gonna be at opacity 0 and this one gonna be at opacity one and that's the only one that's going to show and same thing here for the cross first here for convenience I'm gonna rename my Custom Tool node by right clicking on it and going to rename and we're going to just do C1 it's easier to have something short for writing expression you'll see that in a second now let's just open a bit more inspector and pin that custom control so it's always in our inspector and go to our first brightness and contrast node to write that expression here I'm gonna right click on again and we're gonna select expression this part might be a bit overwhelming for people if you're not familiar with expression number that I show you there is nothing too complicated and you can just replicate exactly what I'm writing to get the same result but I'm going to try to explain you how it works so it makes a bit more sense so I'm going to open my expression with if so i i f then open parenthesis then the name of my node control so C1 right there Then Dot and I'm gonna write checkbox for the parameter within that node so here check box so that basically telling DaVinci Resolve to look that if the node C1 with parameter checkbox is equal to empty so I'm gonna do equal equal and empty here in that case will be zero check will be one and cross gonna be two so here if checkbox is zero so empty then we're going to add a comma for Zen I want to have the gain at 1. then I'm gonna add another comma for another then if that's not the case I want that to be at zero and then close the parentheses and end of the expression so that might be a lot let me try to re-explain that quickly basically right now what we're saying to DaVinci Resolve is that if or not C1 the value of the checkbox is empty so here meaning at zero we want the gain of this parameter to be at one so basically having the opacity at one so this is visible and then if that's not the case we want it to be at zero so basically opacity at zero and not be visible I hope that makes sense now let's just write the second one here basically to save this time we're just going to copy that expression because it's pretty much going to be the same we're just going to change one value we're gonna go over to brightness then here we're gonna right click and again go to expression then here paste that expression and we're just gonna modify it for when the value here is on the checkbox so here same thing if the value of the checkbox is at one so here check so I'm gonna just need to change that value from 0 to 1 then we want the opacity to be at one otherwise we want it to be at zero and then we're going to do the same thing here for the last one we're gonna right click on again expression paste that expression and then this one it's going to be cross so that's number two so we want to replace here this zero with number two all right and now we're done now if I bring my media out here to the viewer and I'm starting to toggle between those as you can see now we're switching between empty check and cross now the cool thing is that it is control that we created you can keyframe it meaning that you can switch here for example from empty to check so here if we go to empty so right now the title gonna come empty and then if at frame 60 we want it to switch from empty to cross we can do that right here dropping the First keyframe on empty then moving one frame forward with our Arrow key and then switching to check and now basically as you can see we have that quick animation going on from empty to check and that's pretty much it that's how to create that checkbox title in DaVinci Resolve if you want to know how to export this as a macro I've made a video about this explaining you how to use the keyframe stretcher to make it work and be able to stretch it in the edit page and how to export each of those parameters so you'll be able to basically have access to that control that we've created here directly in the edit page and here for example are having access to the text I cannot explain that in every video because otherwise each video will be like 30 to 45 minutes but I've made a pretty comprehensive guide on how to do it so I will link to that in the description below now again if you like those kind of titles and you're using them constantly in your project I I would recommend you to check out the pack that is available on our website about at least a bullet point that contain a bunch of different checkbox that you could use for your projects thank you very much for watching don't forget to like And subscribe let me know in a comment what kind of video you'd like to see next and see you in the next one bye speed up your workflow and create better videos using the pack available on our website including titles transition and templates built only for DaVinci Resolve get started today by downloading all freestyle back that contain over 150 elements Link in description below or at videoderstudio.com
Info
Channel: Video Editor Studio
Views: 2,430
Rating: undefined out of 5
Keywords: davinci resolve, davinci resolve 17, davinci resolve tutorial, motion graphics, davinci resolve motion graphics, davinci resolve title, davinci resolve template, davinci resolve title pack, Waqas Qazi, jamie fenn, JayAreTv, That Modern Dude, Skyline Motions, Billy Rybka, Chris' Tutorials, Casey Faris, CB Super, davinci resolve fusion, davinci resolve 18, Patrick Stirling, free pack, free title, free template
Id: jCp7fcGN12c
Channel Id: undefined
Length: 18min 36sec (1116 seconds)
Published: Mon Nov 28 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.