Create Cinematics in UNREAL ENGINE - Basic Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all personnel accounted for preparations complete this has been our home for the last decade today we go in search of a new one our universe is full of surprises let's go face them together [Music] hey everybody it's mike from production crate back with another quick unreal video for you guys the last video i did is when i brought all these cool sci-fi corridors into unreal and i optimized them gave them cool collision layers and all that stuff but there arose such an uproar in the comments and the discord that i felt like i had to respond you guys just want to learn how to render so to help you guys learn i'm just going to share this scene with you and future mike's gonna jump in right now and show you where you can download that hey everybody it's future mike here so just go here to where you download the corridors and um if you roll over this little button right here you'll see a new download option go ahead and click that and that's the entire unreal scene everything i showed you guys is there if you have unreal five installed you should just be able to open up this project if you drop it in your library all right enjoy so let me give you guys a quick tour of this scene and get you guys comfortable and then we'll start rendering so actually when you first open it probably going to be this level right here you're going to see this weird kind of orangey place and you'll see there's our cool sci-fi guy right there so to get to those corridors what you want to do is go file open level and if it doesn't take you straight to this folder just go to third person bp maps hallways promo right there open that up nice so this should be what you see and if i just kind of like zoom out now i'm outside the level just give you guys a quick tour by the way all these models are up on render crate i'm using only render crate assets in this you can see there's a couple little branching pathways through here uh there's a long open corridor with a lot of windows some cool background outside stuff and then we have kind of the main focal point of the level which is this awesome spaceship over here we've got a little astronaut inside of this spaceship over here we've got some other astronauts repairing the big spaceship if you want to place your own astronauts around the scene and make your own little vignette here's how you do that control space will take you into the content browser and there's a couple of p crate assets in here we've got the astronaut folder with a few different animations so if i want to create a scene where this guy's kind of working on the floor here i can do that just drag and drop that in and he'll animate now notice up here there's a play button with the little tank tracks little gears that's how you simulate so if i press play all of your fbx's will start animating so let's actually get down to rendering it's what you guys came here to learn so we need to do a couple things we need to create a level sequence which is basically just a timeline that you can put stuff on anything you want to be animated we need to open up the render queue and create a batch render now i've actually created a few sequences for you guys already so you can dissect them and see how i did it if you want to navigate to those and check those out go ahead and open up your content browser jump over into the render crate folder down here at the bottom we have shot one through six this is just me messing around with the camera trying to come up with some cool angles and if you open these up you can see what i did and then i'll show you how to make your own so if i double click on shot one it'll look like nothing happened you can see this timeline opens up it's a window called the sequencer right here and i can see that these little thumbnails show me there's an animation happening if i press play it doesn't really do anything so every time i create the sequence there's actually um there's actually a different camera that's being controlled inside the sequence other than this viewport camera so if we want to see that camera we need to click here where it says cine camera actor and you can see this little corner window pops up and if i scrub i can see okay now my movie's playing in the corner now if i want it to full screen in the viewport what i do is i click this little camera icon right here it says lock cine camera actor to the selected viewport and now the viewport is that camera and if i scrub through i can see that it's animating which is awesome now we've got some camera motion but we've also got focus distances changing so you can see that right here the foreground is in focus this this uh blue bar and as i scrub forward now the engine is in focus out in space which is pretty cool to see let's check out one more now you can see that again when i open up a new shot it uh it doesn't attach to the camera so every time i do that i have to click here so that it attaches to the current viewport now notice here this guy is animating if i press stop and i'm not simulating then your fbx's and all your characters they won't actually move so they won't actually move you have to actually press simulate or play to see it notice every time i click simulate or stop it jumps out of my camera so now when i scrub the camera stops moving so you always have to make sure that you're locked to the cinematic camera now we have this shot where the guy is animating he's flipping switches and kind of waving at them at the camera and then the camera moves up and the background comes into focus all right so how do we make our own sequence well it's pretty easy it's actually really easy i'm going to go over here to cinematics add level sequence and i'm going to call this shot7 you can call it whatever you want and i've been saving them in my render crate folder again you could save them wherever you want if it doesn't immediately jump over to that shot just go ahead and open up your content browser and double click on shot seven there it is so right now there's nothing in the shot so i need to attach that camera the cinematic camera into my sequence so that's this little button right here create new camera and set it to the current camera cut there we go there's our cine camera actor now if you're not sure if you're actually inside the camera viewing it then what you need to do is roll over this button and see how it says unlock send a camera actor from viewport that means you're inside of it and if i move around i'm actually moving my my render camera around now if i click off of it and i move out of the way you can see that it says locks in a camera actor to viewport that means we're not inside of it so that's how you can tell now that we're in the camera let's go back inside and just kind of find a cool shot i think what i want to do is kind of start here on the ceiling and kind of pan down and look at the engine so i'm going to start by aligning my first shot and let me show you guys how to adjust some of the camera settings just like you would in real life so i've got my cine camera actor selected over here in the details panel we can change the film back which is the sensor size you can try messing around with these and getting a different look so if i go to 16x9 dslr it's kind of like having a full frame camera under lens settings i have it set to universal zoom which is basically just you could have the any lens you want uh there's some presets here though if you have a favorite lens like 85 millimeter prime f 1.8 there you go now you have that effect i'm gonna go back to universal zoom if i scroll down uh we have the current focal length which is how far you're zoomed in so right now i'm at 85 millimeters i can go down to 35 millimeters get that familiar look if i want like a super telephoto lens i can go to like 300 millimeters and i'm really zoomed in i'm gonna probably go happy medium like maybe 50 millimeter lens is pretty cool now we can also change the aperture so if you know anything about cameras the smaller the number you type in here the shallower your depth of field is going to be so if i go down to like 1.4 i can see that my foreground here is really out of focus the background's really sharp if i go to a higher number like let's say f16 now everything's pretty much in focus so that's how you can kind of control the look you want let's go with a really shallow depth of field so i'm gonna do 1.2 okay and let's set up my first shot i think i want to look up maybe i'll actually turn this way because i like this red light i think it's kind of cool to get that lens flare in there too so that's my first shot i'm going to scrub here to the first frame of my animation and i'm going to scroll down to my transform and i'm going to keyframe it right there if you want to keyframe the rotation and the position separately you can open this up and you can keyframe rotation location and scale all separately so i'm going to scrub down to the end which is frame 150 it looks like and i think i'm going to kind of move towards the window so it fills the screen but i'll leave it in there as kind of a frame within a frame effect and then i will keyframe transform again so now i have these keyframes where the camera moves from over here over to here now let's actually keyframe the focus distance because right now you can see my my door's out of focus it's not great so let's just kind of like go right here and here's how you can adjust the focus distance there's a slider right here i can lower this number to bring the focus closer to the camera so i'm going to bring it until this window frame is in focus now the background's out of focus if you have trouble kind of nailing your focus um here's a cool trick if you go over here into your camera settings and open up focus settings turn on this little checkbox that says draw debug focus you get this cool like purple square now when i increase or decrease my focus this um shape kind of goes out into space and shows you where the camera is actually focusing so let's actually go back to the beginning of our animation i'm going to bring the focus closer to the camera until it's kind of focusing there on that red light and i'm going to add a keyframe right here it's a little plus sign to my manual focus distance and you can actually see if you leave that on you can see where it's focusing so right here in the middle let's actually bring it a little closer so it's maybe stays focused there on the window and then here i want to be focused on the engine i'm going to zoom it way out into space until it hits that engine right there and we're good i can actually turn off my purple square nice okay let's press play and see what our animation looks like okay very cool all right very cool very cool you'll notice a couple things it's actually easing in and easing out which means it's speeding up and slowing down if you want sort of a constant speed that's easy to change i'm just going to highlight all of my keyframes like this and then right click and go linear now we're going to get a constant speed if you don't like that you can right click and go back to cubic or auto so how do we actually render this if i go up to window cinematics movie render queue i'm going to open that up but quick note if you don't see that you probably need to load the plugin for it it's not loaded by default in some versions of unreal if you don't see movie render queue go up to settings plugins search for movie render queue and you should see two plugins we got the movie render queue itself and then also movie render queue additional render passes and you want to click enable enable and it's going to ask you to restart the engine just go ahead and do that make sure you save first just to be safe the way you save is ctrl shift s that'll save everything so now you should be able to go up to window cinematics movie render queue we get this blank render queue and what you want to do is go plus render and i'm going to add my latest shot which is shot 7. now notice i actually have a render preset here and i've actually named it fouche render presets that's because i stole these settings from a really awesome youtuber named william fauchet he's kind of the unreal render master right now everyone's kind of learning from him i'm just going to go over the settings really quick but if you want to go even more in depth into advanced unreal rendering this guy is the guy to check out so i'm going to click here let me just show you the settings that he had us set up and i've been getting good results with it so notice here that i've changed my jpeg sequence to a png segment so what you can do is choose any sort of output you want by default it says jpeg sequence here i just deleted that and made it a png sequence and you could actually do multiple let's say you want to do um sort of a low res jpeg for social media but a higher res exr sequence for actual production you could do both at the same time which is really cool so i just chose png sequence it's a little nicer than jpeg i also added an anti-aliasing let me delete these so i can add them back and show you i go to settings add anti-aliasing i'm going to turn on override anti-aliasing that means it's going to override the viewport settings and under temporal sample count i'm going to type in 64. that's going to take a while to render if your computer is very slow or you just don't need that many samples you can lower it to like 32 but what that does is every frame is going to render basically 64 times instead of just rendering frame 1 frame 2. it's going to render frame 1 and then 64 subframes in between and what that's going to do is give you nice motion blur again 64 is kind of high it it will render a lot slower so just be aware of that if you're going to do that you're going to want to change a couple things about the engine to make that look better so i'm going to go here and i'm going to add console variables and these are just little snippets of code or a script that will change certain settings about the engine in the background that make that look better right here where it says console variables i'm going to add a little plus and these will actually be down in the description so you could just copy and paste them the way i do you don't have to type this i'm just going to paste that right in there and let me just read this these are all uh kind of tongue twisters but this is r dot ambient occlusion dot denoiser dot temporal accumulation and it's set to zero so we're gonna have four of these and i'm not gonna read them all out just find them down in the description just copy and paste them like i'm doing now if you don't already have that preset that i added you can actually create your own preset here if i go here just click save as preset name it whatever you want and that way you only have to do that once now you may notice my render local button which is the actual render button to get it going is is grayed out and that's because i'm currently simulating right here so you want to press stop that will allow you to render i'm going to do one last quick check to see which folder it's going to save into and then i'm going to let it render so if you go to your output setting this is the folder it's going to save to that's the default one i'm just going to let it save there so i'm going to press render local i'm gonna show you what this window that's about to pop up uh is is showing us and then i'll stop the video and come back when it's done so press render local and notice this the first frame is really weird it's kind of like flying out in space and things were happening that weren't supposed to be happening but notice this right here i'm on frame 3 out of 150 but it's rendering sub samples it's rendering multiple frames so once again it's rendering 64 frames for each frame and and it's kind of moving that's how it simulates motion blur alright so my render finished let's do another really quick shot i just want to show you a couple things so what i want this to look like is a handheld camera it's looking at the pilot and he zooms in so we're gonna have some camera shake and also just like a zoom and a focus will be kind of like delayed maybe so let's go up to cinematics add level sequence i'll call this one shot 8 and we're going to add it to the render create folder or wherever you want and let's add a camera you look here it says unlock send a camera actor from the viewport so that means we're in the camera we're good to go so i think it's actually already pretty well zoomed in let's change a couple settings about this camera really quick again i'm going to go to 16x9 dslr for the film back that gives us a little bit bigger picture and here's a quick little side note let's say you're going to be doing like an ultra wide you can actually increase the sensor width right here you don't have to get too crazy with it but you can play around with that stuff if you want to my current focal length is 35 let's start with 35 it seems pretty good also notice i have this little icon this little interface icon in the way if you press g that should go away uh you can also press simulate and remember every time you simulate or press stop on the simulation it jumps in or out of the camera so i'm just gonna go to cine camera actor there's my guy doing his thing okay that's a good place to start let's go ahead and keyframe the transform and the current focal length and let's um go down maybe to frame 45 something like that i'm going to keyframe it again just because i want to kind of sit there for a second and then if i scrub down here let's do like a really quick zoom so i'm going to change my current focal length to 85 maybe even more let's do like 200. so now we're really zoomed in on that pilot guy and notice that this automatically keyframes uh and since i move the camera down i'm going to keyframe my transform again too so we have that really cool zoom like that now let's keyframe the focus distance like we did before i'm going to turn on my little pink square again and let's have the focus distance be right where that pilot is right there keyframe that and you can see that it doesn't really change it's always going to stay at that focus distance so to kind of simulate how a camera actually works i'm actually going to have it go out of focus so starting right about here and have it be out of focus and then i'll have it come back into focus so it looks like they're kind of struggling to get him nice and sharp okay let's see what that looks like let's turn off the purple square and i'll press rewind and play cool okay let's add some camera shake in there so i'm going to open this up and you can see right here there's already something in the scene for you called camera shake i'm going to show you how i set it up but if you want to make your own this is how you do it i'm going to right click an empty space here and go to blueprint class and then make sure that all classes are open here and search for camera shake and where it says camera shake face you're just going to double click to create that that's all i did okay so let's double click and open that up and this is what it looks like you don't have to really worry about this side of the window just this side and in fact you can actually close the event graph if you want to close this all up so it seems really simple and this is what we got now notice right here everything's grayed out i can't change anything i'm going to press stop on my simulation and that allows me to change things so if you don't see this here purlin noise camera shake pattern go ahead and change it to that it's probably set to none by default if you made your own if you're using the one i already gave you this should already be set up if i open this up i can change the frequency of the shank so right now the position of the camera is not shaking but the rotation is shaking randomly so it's staying in place you can see my location amplitude multiplier is set to zero so it's not moving but my rotation amplitude is set to 0.2 so it's moving just a few degrees 0.2 degrees and the frequency is how many times per second is it changing angles so these are these are pretty good settings if you want to shake faster like maybe your character is running or like nervous or something the cameraman's nervous you can increase the frequency to maybe shaking five times per second which is pretty high let me go back down to one and if you want again more intensity like if you want the camera to really move you can increase the amplitude but i'm going to leave it at 0.2 and 1. now whenever you're changing something like this always hit compile and save and then you can close the window and here's how you add it to the camera so i'm going to click i'm back in my sequence here i'm going to click on my camera actor and i'm going to make sure that i'm inside the camera so lock send a camera actor to selected viewport and then i'm going to add a track to the camera right here camera shake and here's the camera shake we just created notice that sometimes it pops up in a weird place it depends on where your playhead was but here's my camera shake i'm just going to drag this onto the timeline you can see it's actually working make sure it fills the whole timeline and now when i press play we get some organic camera shake action cool very cool uh let's change a couple of those settings and see how it changes the shot so if i open up my camera shake again i'm gonna make it really crazy let's go camera rotation 0.5 which is pretty high and let's do it two two times per second so it's going to shake twice as fast i'll hit compile save and we'll press play now it looks like a really bad camera man just to review i'm just going to set up this render again so i'm going to go to window cinematics movie render queue uh here's shot seven i already rendered that so i can trash it and let's add shot eight notice that my preset is already there and it's gonna render to the same folder but it's gonna be named something different so it won't overwrite it i'll press accept render local alright so that's it pretty easy right uh let's just check it out in after effects really quick so i'm gonna go to after effects just import my shots go ahead and grab shot seven that's the one we did and i'm also gonna grab shot eight so let's just make a new sequence for this and check it out pretty cool there it is playing full speed and we have that cool depth of field effect we were working on and that's how you render out quick cinematics in unreal engine so if you have any other ideas for uh unreal engine that you want to learn about let us know if you create anything cool with this scene that i've shared with you guys definitely tag us in it we want to see it and make it awesome [Music] [Applause] [Music] you
Info
Channel: ProductionCrate
Views: 1,818
Rating: undefined out of 5
Keywords: motiondesign, motiongraphics, aftereffects, compositor, visualeffects, adobeaftereffects, motiongraphicsartist, motiondesigne, postproduction, videoediting, videoeditor, filmmaking, filmmaker, production crate, productioncrate, footagecrate, footage, crate, Stock footage, free stock footage, adobe, After effects, adobe after effects, special effects, vfx, visual effects, fx, tutorial, tutorials, hitfilm, hit film, unreal engine, unreal engine 5, UE5, unreal engine beginner, unreal engine cinemeatics
Id: Tet5WN6EA80
Channel Id: undefined
Length: 19min 6sec (1146 seconds)
Published: Sat Dec 18 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.