EXPORT BLENDER CAM + SCENE TO UNREAL ENGINE | Unreal Engine 5 | USD | Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone and welcome to this tutorial about exporting a blender scene and camera to unreal engine 5. in this tutorial we will learn how to translate our scene from blender 2 in real we will take a look on how to prepare our scene data for export and make sure that everything translates smoothly unreal engine has great tools to do blocking and camera animation however in a vfx pipeline it is common that data comes in from other software sources to align all input and data you will make use of universal scene description let's dive right in so here we are in blender as you can see our camera has been put together with a couple of locators when exporting it's best to keep the camera as clean as possible therefore we're going to bake the camera i'm going to select the locator that contains the camera and press select hierarchy then i'm just going to press ctrl c and ctrl v to duplicate the object this is just as a backup then i will go into the locator and select the camera i'm going over to object animation and press bake action in here it is recommended to tick all the boxes you see here that way it'll be exported correctly and obviously set your frame range and now you can see that our camera has been successfully baked our data is now ready to be exported to unreal engine so let's do that right now i'm going to select this cone and then hold shift and select all of these other objects and then also hold ctrl and click to also add the camera then head over to file export and press universal scene description you can choose a location and name the file however you want i'm just going to call mine scene camera version 1. let's take a closer look at the settings make sure that animation is toggled this is because we have a camera animation and we'd like to send it over also make sure that selection only is toggled this way we won't get any loose objects that we don't want into our scene once you're happy and satisfied you're ready to press export universal scene description so here we are in unreal engine 5. by default we cannot import usd files for it to work we need to activate a plugin first so we can go to edit and go to plugins and type in usd you can see the usd importer pop up and now you just have to toggle it it's going to give you a little prompt that is still in beta but don't worry about it and just press yes sadly unreal engine really wants us to restart to make the usd work so let's just listen to it and press on restart now so android engine has restarted and now we can actually use the usd importer so let's go over to window and go to virtual production and down there you can see that usd stage has appeared click on the usd stage and here we can open our file click on file and press open so here we are just going to locate our usd file and make sure to open it up by opening the file you can now see that unreal can actually see the assets in the usd stage however we have to do one more action to actually import them as unreal asset so under the action menu press import and now we can just create a new folder on where we want the objects to be placed so i'm just going to call mine scene camera but you can call it whatever you feel like today i'm just going to press ok and all of these settings i'm not going to change anything and just press on import just close the usd stage and now by checking into the scene camera folder you can witness that we have a level sequence materials and static meshes folder we have our files imported and now let's make the camera work so press on the level sequence and open up the level sequence as we play through the timeline you can see that not much is happening this is because we still have to add the camera into the sequencer first let's go ahead and create a camera cut track once we have done that you can select the camera here and drag it onto the sequencer as we are scrubbing through the timeline you can now see that the camera is working but there are a couple of problems here as of blender 3.1 there's a problem with usd which kind of messes up the data but don't worry it's easy to fix it's possible that you're watching this in the future and this is already fixed so if so you can skip this step let's take a look at the fix by hovering over these settings we can select the camera component and we can see that there has been a translation arrow here we can see that the focal length is a thousand which is obviously very wrong let's take a look at our sensor's eyes as you can see blender made a mistake translating the sensor data to unreal engine so we'll have to correct that so we'll take the comma and try and move it two spaces to the left we'll do the same for the other value as well and now the sensor size should be correct now let's introduce the final step and that's changing the focal length back to 24 millimeters basically input the focal length that you have chosen for your blender camera and now you can see that the camera is working perfectly as you had it in blender [Music] thank you for watching this video i really hope you learned something new today if you'd like to see the channel grow think about subscribing leaving a comment down below and pressing the like button it would really help me out thank you so much and i'll see you on the next one you
Info
Channel: Vincent Boudewijn
Views: 34,873
Rating: undefined out of 5
Keywords:
Id: si0VktD8thE
Channel Id: undefined
Length: 5min 55sec (355 seconds)
Published: Mon Apr 18 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.