From the course: Unreal Engine: Motion Graphics Techniques

Export alembic from C4D - Unreal Engine Tutorial

From the course: Unreal Engine: Motion Graphics Techniques

Start my 1-month free trial

Export alembic from C4D

- [Instructor] Now that we have our simulation set up and run in CINEMA 4D, we're going to export the dynamic objects as an Alembic file that we can then bring into Unreal. So what I'm going to do here is I'm going to select just the object to go into export, so again, under this FALL_OBJECTS_01 null, I'll select this first object, scroll to the bottom of my list, and shift select to select all of just these FALL_OBJECTS. We don't want to select any of the other scene objects. Let's go to... Let's rewind to the beginning for good measure. I'll go File, Export, Alembic, and we have an abc folder that we've made in here in our CINEMA 4D folder. I'm going to call this OBJECTS_FALL_01, save it out, and let's look at some options here. There's two Alembic file formats. I'm just going to choose the older HDF5 one for this. Restart at frame one, and end at frame 1800. That's the length of our sequence. Scale is one centimeters. We want to make sure we're on Selection Only, so we don't export the other scene elements. We don't have any of this other stuff in here. We will export the UVs, the Normals. We'll export the Polygon Selections. Everything else can be off. All right, so now let's export this. And you can see in the status in the lower-left part of the screen, you can see that it is writing out the frames pretty quickly, and we're going to let this go, and then what we'll do at the end is we'll import this Alembic into a blank CINEMA 4D scene just to make sure that everything is how we expect it to be before then we bring it over into Unreal. Okay, now our Alembic file has exported, so I'm going to go File, New, and we're going to go File, Merge, and we're going to find the OBJECTS_FALL_01 Alembic file that we've created. Let's bring that in, Frame Rate is 30, Scale is one centimeter. That all looks good to me, say OK. All right, and now you can see that we have all of our objects here over on the Objects view. Let's zoom out. I'm going to turn on the Grid now so we can see that. I'm going to go to a wire frame mode, and let's go to our Project Settings. Let's change this to what our other project was. So Project Minimum Time one, Maximum Time 1800, Preview one maximum time 1800. Okay, now let's play this back. All right, we can see our objects are moving, and we see that we have properly exported those 260 objects with their dynamics all baked in as an Alembic file. We're checking it in CINEMA 4D and then next step, we will bring that into Unreal and see it working in that environment.

Contents