Cineware for After Effects | Make a 3D Room

 Ready to learn a bit of Cinema 4D? In this lesson you'll be using Cineware, Maxon's solution to easily pull 3D data from Cinema 4D into After Effects. It can be a bit buggy at times, but if you need to get something out of Cinema 4D quickly this is one solution to do just that. In this tutorial Joey is going to show you how to create a 3D room that looks like an illustration in Cinema 4D using the Lite version that comes bundled with After Effects.

We want to give a quick shout out to Matt Nabosheck, the very talented Designer / Illustrator and good buddy of Joey's that created the Boston Terrier named Steadman that Joey uses in this tutorial. Check out his work in the Resources tab. 

 If you have any questions, click over to the Q&A tab to post them. Other students can answer you, and we'll put our team on the case to try and get you a solution ASAP. 

10_11_3DRoomDoggieFT.zip
    00:00:00,495(light synth beat)
    00:00:06,858(clicking)
    00:00:10,061(funky synth jingle)
    00:00:17,793- Well, hi, Joey here at School of Motion,
    00:00:19,618and welcome to day 10 of 30 Days of After Effects.
    00:00:22,730In a previous tutorial,
    00:00:24,068we talked about how to make a 3D environment from a photo.
    00:00:27,265What we're going to talk about in this first part
    00:00:29,277of a two part tutorial is how to set up a scene
    00:00:31,638so it feels like a 3D environment when you're basing
    00:00:33,905the scene on an illustration.
    00:00:36,115We're gonna do kind of the same thing we did
    00:00:38,054when we made that 3D environment from a photo,
    00:00:40,525but we're gonna do it in a very different way.
    00:00:43,012We're gonna go into Cinema 4D just for a little bit,
    00:00:45,586and we're gonna use Cineware,
    00:00:47,197the link between Cinema 4D and After Effects,
    00:00:49,851to create the environment.
    00:00:51,533I wanna give a big thank you to my buddy Matt Naboshek
    00:00:54,694for letting me use the illustration
    00:00:56,630of the Boston Terrier in this lesson.
    00:00:58,826And don't forget to sign up for a free student account
    00:01:01,731so you can grab the project files from this lesson,
    00:01:04,145as well as assets from any other lesson on this site.
    00:01:07,180Now, let's go do the thing.
    00:01:10,528So, first I want you guys to just notice
    00:01:13,049a couple things here, 'cause, again,
    00:01:16,067this is a two part tutorial,
    00:01:17,969and in this first part we're gonna talk
    00:01:19,611about the environment,
    00:01:20,858in the second part we'll talk about the dog,
    00:01:22,232but, as far as the environment goes,
    00:01:24,036I want you to look at the floor specifically, alright.
    00:01:26,965This environment, it feels like a 3D environment,
    00:01:31,009the floor is kind of lying flat,
    00:01:34,358and the camera's not moving too extreme, but,
    00:01:37,665you know, if you look closely,
    00:01:39,457you can see that the walls have perspective on them,
    00:01:41,688and this feels like a 3D room,
    00:01:43,515and in another tutorial in this 30 Days of After Effects
    00:01:48,145series I showed you guys how to take an existing image
    00:01:51,982and sort of warp it in After Effects to make a 3D scene.
    00:01:56,061Well, today I'm gonna show you a different way.
    00:01:59,133This is a way, this is actually the first time
    00:02:00,944I've tried it and it worked out pretty great,
    00:02:03,814and I figured it would be a neat thing to show you guys,
    00:02:05,992and it uses one of the newest features of After Effects,
    00:02:09,263which is called Cineware, alright.
    00:02:11,165So, ignore the dog and what he's doing,
    00:02:13,087we will talk about him in the next tutorial.
    00:02:15,626But, for this tutorial, I wanna talk about the room.
    00:02:18,609Let's hop into Photoshop for a minute,
    00:02:20,950and let's look at the Photoshop file.
    00:02:22,303First of all, again I wanna give a shout out
    00:02:24,095to Matt Naboshek, who is an incredible illustrator,
    00:02:27,256and a dear, dear, if not kind of warped friend of mine,
    00:02:32,193and he's an illustrator, and this dog,
    00:02:35,249he's probably been drawing this dog since he was five,
    00:02:39,616and I love the way it looked,
    00:02:41,174and I thought it would be great,
    00:02:42,611so I asked him to borrow it and he let me do it,
    00:02:44,169but the room and everything else in this scene
    00:02:47,882I just created in Photoshop, okay?
    00:02:50,719And it's really simple shapes, there's some textures on it,
    00:02:54,355and all I tried to do was create this kind of warped
    00:02:58,107looking room, right, and I used a few composition tricks,
    00:03:01,544if you notice, the lines all kind of point to the dog,
    00:03:04,376and then I'm kind of focusing on the dog, right,
    00:03:06,603but ignoring all that, this room is very simple, right,
    00:03:10,285and if you know some basic Photoshop
    00:03:11,821you can make something like this,
    00:03:13,315and I knew this would be a great environment for the dog.
    00:03:15,675But I wanted to be able to make this room
    00:03:18,273feel three dimensional, and, you know,
    00:03:20,671I kind of intentionally made the lines a little askew,
    00:03:24,487and, you know, there's no right angles,
    00:03:27,912and perspective-wise, this really makes no sense.
    00:03:31,211It's just a stylized illustration.
    00:03:33,267So, if you wanna turn something like this into a 3D layer,
    00:03:35,901or, sorry, a 3D scene, it's tricky,
    00:03:38,205because After Effects works really well when you have
    00:03:41,9703D layers that can kind of be aligned in a certain way
    00:03:45,576and sort of make a room,
    00:03:47,969but when things are all over the place, it's kind of tricky,
    00:03:50,769and so there's a really sweet trick I'm gonna show you guys,
    00:03:54,077okay, and all it requires is that you know a little bit
    00:03:57,149of Cinema 4D, and then I'll show you how
    00:03:59,925to make this work in After Effects.
    00:04:01,412So, again, I know this is 30 Days of After Effects,
    00:04:03,601but we're gonna go into Cinema 4D just for a minute,
    00:04:07,531okay, so, so, don't, don't fret.
    00:04:10,569Alright, so here's what we're gonna do.
    00:04:12,528We are going to hop into Cinema 4D,
    00:04:15,089now, if you have After Effects Creative Cloud,
    00:04:17,519you have Cinema 4D, okay.
    00:04:19,734Now, you may not have the full version,
    00:04:21,683I have, I'm on Cinema 4D R15,
    00:04:26,077but, if you don't own that, you do own Cinema 4D Lite,
    00:04:31,050okay, so that's what you'll open, open Cinema 4D Lite.
    00:04:35,179Alright, and here's what we're gonna do.
    00:04:36,755First thing we need to do is we need to load in,
    00:04:39,645what I wanna load in is this Layer right here, okay.
    00:04:42,967You know, if you want, I'll post this Photoshop file,
    00:04:46,520you guys can take a look at it, but,
    00:04:48,441this room is just made up of a bunch of shapes, right,
    00:04:52,152and if you go through, I've got my kind of background color,
    00:04:54,822and then I've got kind of like a shadow color
    00:04:57,951with a little texture, and then the floor,
    00:05:00,381with kind of like a little kind of highlight color to it,
    00:05:05,302and some more texture,
    00:05:07,256and then I put some stripes on the wall, okay,
    00:05:09,140and that's all it is, just a bunch of junk in Photoshop,
    00:05:12,083and what I did was I then just copied,
    00:05:15,504and if you guys don't know this trick, this is really cool,
    00:05:17,825you hit Command + A to Select All,
    00:05:20,458you hit Shift + Command + C, right,
    00:05:23,238so instead of Command + C, it's Shift + Command + C,
    00:05:25,521what that actually does is it copied,
    00:05:27,355does a Copy Merged command,
    00:05:29,711which copies literally whatever is on this canvas, right,
    00:05:33,255and then when you hit Paste,
    00:05:34,779it pastes a layer that looks exactly like
    00:05:37,386whatever your copy looks like, so that's what I did,
    00:05:39,618and I did that so I could have one layer
    00:05:41,743in my Photoshop file called Room copy
    00:05:44,212that had, that contained my entire background.
    00:05:47,652Back in Cinema 4D, what we're gonna do,
    00:05:50,719is we're gonna add a background object, okay,
    00:05:53,259and again, if you've never used Cinema 4D,
    00:05:55,274I apologize for dragging you into this mess.
    00:05:58,414Just follow along, I'm gonna try and explain it
    00:06:00,614as though you're someone that's never even
    00:06:03,996opened this program before, okay?
    00:06:06,061So, up here, this top bar,
    00:06:08,182this is kind of the basic tools that you use,
    00:06:10,941and what you're looking for is this button right here,
    00:06:13,743right, it kind of looks like a perspective floor,
    00:06:16,376and if you click and hold the mouse,
    00:06:18,131it shows you a bunch of objects that you can add
    00:06:20,305that are sort of environmental things,
    00:06:22,191and we want the Background Object, okay,
    00:06:24,181and all that Background Object does is it lets us
    00:06:25,991load in an image that we can then use as reference.
    00:06:29,101I also wanna make sure I set up our Cinema 4D project
    00:06:32,467so that it's gonna match our After Effects projects,
    00:06:35,074so this button here, looks like a little clapboard
    00:06:37,457and a gear, you click that, first set your Resolution,
    00:06:42,024right, pretty straightforward,
    00:06:43,536Width, 1920, Height, 1080.
    00:06:47,340Down here where it says Frame Rate, let's set this to 24,
    00:06:50,684alright, and then we have to do one more thing, okay,
    00:06:54,419because this is one of those dumb things in Cinema 4D,
    00:06:57,470you set the Frame Rate here,
    00:06:59,393and that's not all you have to do,
    00:07:01,477you have to actually set it in two places.
    00:07:03,760The second place, if I close this,
    00:07:06,085and I hold Command and hit D,
    00:07:08,463that brings up the Project Settings, alright,
    00:07:10,307those also live in the Edit menu, Project Settings,
    00:07:13,546and you need to go here, where it says FPS,
    00:07:16,581and set that to 24.
    00:07:18,351Okay, now we are set up.
    00:07:20,162So here's what I'm gonna do.
    00:07:21,372I wanna load that background image
    00:07:23,180onto this Background Object.
    00:07:25,374In order to do that, I need a Material.
    00:07:28,796So, down here, at this bottom kind of area here,
    00:07:31,320this is where your Materials live,
    00:07:33,039right now we don't have any,
    00:07:34,501so let's hit the Create button, say New Material,
    00:07:37,025and now we've got a Material, okay?
    00:07:39,080And we're just gonna, we don't even need to rename this.
    00:07:42,709Let's just come over here,
    00:07:44,085whatever you click on in Cinema 4D,
    00:07:45,743the options for that thing show up right here,
    00:07:48,984so let's click on that Material,
    00:07:51,032come over here, this little tab here,
    00:07:53,663this is showing you kind of what options on your Material
    00:07:56,129are enabled at the moment,
    00:07:57,735and if you click on the Basic tab,
    00:07:59,568you can disable and enable more options,
    00:08:01,967and I wanna disable everything
    00:08:03,952except this one, Luminesce, okay,
    00:08:06,977and I won't get too far into it,
    00:08:08,675but the reason it's Luminesce is,
    00:08:10,759Luminesce is not affected by lighting, okay,
    00:08:13,743it's gonna remain like a flat shaded thing
    00:08:16,083no matter what's going on and that's what we want
    00:08:18,659for this, you know, particular example.
    00:08:21,621So, we've enabled Luminesce, we get a Luminesce tab now,
    00:08:24,641and if we click on that, we can go to this Texture area,
    00:08:27,856click this giant bar here,
    00:08:29,578and we can now load in our image, okay.
    00:08:31,553So, there's a few steps so far, but they're all very simple,
    00:08:34,898and hopefully you can pause the video and follow along.
    00:08:38,261Alright, so now, let's load in our Photoshop file.
    00:08:42,911Okay, so I'm gonna load it in,
    00:08:45,340alright, when this message pops up, I generally hit No,
    00:08:49,379maybe at some point I'll explain what that means,
    00:08:52,524I don't feel like getting into it right now.
    00:08:54,629But I've loaded in my Photoshop file into the Material,
    00:08:57,022and now I can click and drag this Material
    00:08:58,960right onto my Background, and if I don't miss,
    00:09:02,895there it is, okay.
    00:09:04,175Now, I don't wanna see the dog and the shadow
    00:09:06,296and all that stuff,
    00:09:07,408I only wanna see that Layer that had my room on it.
    00:09:11,672In Cinema 4D there's a great way to do that.
    00:09:14,467If I click on that Material again, right,
    00:09:16,624and I see my Luminesce tab highlighted with my file
    00:09:19,498loaded in, if I click on that file name,
    00:09:21,891I now have some options that I can mess with,
    00:09:24,926and one of them is this Layer set option,
    00:09:27,653so I'm gonna click that, and I'm just gonna,
    00:09:30,408what's great, Cinema 4D can actually read Photoshop files,
    00:09:33,332and it's pretty powerful actually what you can do,
    00:09:36,613you can even see, like, my Layer groups here come through,
    00:09:41,164right, but all I care about is this Room copy Layer,
    00:09:44,476so I'm gonna select that and hit OK,
    00:09:46,979and now that's the only Layer I'm seeing, beautiful, okay,
    00:09:49,868and this Background Object,
    00:09:51,571it will just kind of show through
    00:09:53,765so I can use it as reference, okay?
    00:09:55,740So, real quick Cinema 4D lesson.
    00:09:57,804The, if you look at the number key,
    00:10:00,531like the top row of numbers on your keyboard,
    00:10:03,034put your left hand ring finger over the one,
    00:10:07,805and then let your middle finger fall over the two,
    00:10:09,836and your index finger fall over the three.
    00:10:11,882One, if you click and hold it, moves you around,
    00:10:15,102two zooms in and out, three rotates the scene, okay.
    00:10:18,514So what I wanna do is create a cube.
    00:10:21,194Alright, and this will all make sense in a minute,
    00:10:23,440right, practice moving around the cube, and I'm gonna,
    00:10:26,351as soon as I click this little button that looks
    00:10:28,486like a cube, it makes a cube, cube shows up over here,
    00:10:31,194and now, if I select that cube, I've got some options,
    00:10:34,140right, related to the cube.
    00:10:35,457I can scale it up, I can move it around,
    00:10:37,484and what I wanna do is go to the Basic tab and hit X-Ray,
    00:10:40,955and that's just gonna let me see through this cube.
    00:10:43,832Alright, and those of you who have used Cinema 4D
    00:10:45,624may already know where this is going.
    00:10:47,318The next thing I wanna do is select this cube
    00:10:50,190and hit this button over here, okay,
    00:10:54,108and if I hold the mouse over it, it says Make Editable,
    00:10:57,703and really, all you need to know if you're unfamiliar
    00:11:00,179with Cinema 4D is that some objects are called
    00:11:03,157Parametric Objects and what that means is
    00:11:05,479you can click on them,
    00:11:07,032and you get this nice little Object tab,
    00:11:09,432and it lets you really easily stretch them out
    00:11:11,699and do neat things like round out the edges,
    00:11:14,287and stuff like that,
    00:11:15,576we don't give a crap about any of that right now,
    00:11:17,697what we wanna do is be able to pick this corner here
    00:11:20,584and move it around,
    00:11:21,626and then pick this corner, move it around.
    00:11:23,230To do that, you have to turn this into a Polygon object.
    00:11:27,038Here's the button right here that does it,
    00:11:28,830or you can hit the C key on your keyboard,
    00:11:31,244it does the same thing.
    00:11:32,597Now we have that, okay, here's what we're gonna do.
    00:11:35,450We're gonna now switch into Polygon mode, okay,
    00:11:39,070so, by default, anything you do is going
    00:11:41,740to affect the entire cube,
    00:11:43,642if you wanna work on individual pieces of the cube,
    00:11:46,311you've got these three buttons here, Point, Edge, Polygon.
    00:11:50,463I'm gonna go into Polygon mode,
    00:11:52,367I'm gonna make sure I have this tool selected right here,
    00:11:55,109this one with the orange circle, that is my Selection tool,
    00:11:57,795make sure the cube is selected here,
    00:12:00,172and then I can, you know, you can see,
    00:12:02,328I can highlight individual faces of that cube,
    00:12:05,581and I'm gonna select this one, right, I'm gonna hold Shift,
    00:12:09,701and I'm also gonna select this one and this one,
    00:12:12,261then I'm gonna hit Delete, okay.
    00:12:15,879Now, if you couldn't guess what I was doing before,
    00:12:18,513you can probably guess what I'm doing now, okay.
    00:12:20,633I am going to recreate this room using this 3D Object, okay?
    00:12:26,867So, what I need to do is I need to match this
    00:12:30,051as closely as I possibly can, alright.
    00:12:33,085So, first thing I wanna do is add a camera to the scene.
    00:12:36,581There's a big button right here, looks like a camera,
    00:12:38,715that's probably the one you wanna click,
    00:12:40,616so let's click that, and what do you know,
    00:12:42,307it looks like a camera, okay?
    00:12:43,728If you wanna look through that camera you need
    00:12:46,727to make sure this tiny little crosshair is checked.
    00:12:49,162So, right now it's not,
    00:12:50,405so when we're moving around our scene like this,
    00:12:52,965we're actually not moving the camera,
    00:12:55,087and in fact if I zoom out, you can see,
    00:12:58,064and it's kind of faint because the color
    00:13:00,405of the camera is very light,
    00:13:01,743but you can see the camera sitting right there.
    00:13:03,400If I click this crosshair, now we zoom in.
    00:13:06,020Now if I move around using those one, two, three, keys,
    00:13:08,911we are actually moving the camera,
    00:13:10,556and that's what we wanna do, okay.
    00:13:12,474So, what I wanna do is,
    00:13:13,754I'm looking at this corner of the room right here,
    00:13:15,728and I wanna line it up with that corner of the image.
    00:13:20,189Cool, and now what I wanna do is I wanna just try
    00:13:23,356and match this room up as closely as I can, okay,
    00:13:27,285I'm not gonna be able to get anywhere near perfect,
    00:13:30,524but that's okay, I just wanna get it close.
    00:13:32,870One thing that would really help
    00:13:34,561is if I could kind of rotate the camera,
    00:13:37,266kind of like cant it a little bit to the left,
    00:13:40,179so an easier way to do that is to click on the Camera,
    00:13:43,800and you get this giant menu here of all your Camera options,
    00:13:47,055but, if you click this Coordinates button,
    00:13:49,684every object, with some exceptions,
    00:13:51,955has a Coordinates tab that lets you sort
    00:13:54,186of manually adjust the exact X, Y, Z, and rotation,
    00:13:58,277and I'm just gonna adjust this B value.
    00:14:02,171In Cinema 4D, it's different than After Effects,
    00:14:04,353it doesn't use X, Y, Z rotation.
    00:14:06,343It uses H, P, B, which stands for Heading,
    00:14:09,619which kind of makes sense if you think of it like an
    00:14:11,498airplane, right, you're heading this way or this way,
    00:14:13,804the Pitch, right, up and down,
    00:14:15,580and the Bank, and the Bank is the one we're looking for,
    00:14:18,177and we wanna Bank this thing just a little bit, like that,
    00:14:22,179move the Camera, I'm holding the 1 key and I'm banking,
    00:14:25,711I'm just trying to get it close,
    00:14:27,152we're not trying to get it exactly right here, okay?
    00:14:29,932That's the next step.
    00:14:31,940Cool, so here we are.
    00:14:33,516So, I'm sort of, gonna like, spill the beans here,
    00:14:37,648what we're gonna do is we're actually going
    00:14:39,843to take this Texture and we're gonna project it
    00:14:42,277literally like it's coming out of a projector,
    00:14:44,691and stick it to this inside of a cube that we've created,
    00:14:48,902and so, in order to do that,
    00:14:52,202you actually need a Camera in the right position.
    00:14:55,333So, this Camera that we created is actually gonna
    00:14:57,580act like a projector,
    00:14:59,064and so now I'm at the point where it's lined up
    00:15:01,185close enough, right, and now I'm actually gonna start
    00:15:03,959changing the shape of the cube, but,
    00:15:06,044I wanna make sure I don't accidentally nudge that
    00:15:08,426Camera around, okay, 'cause it's lined up pretty nicely.
    00:15:11,380So what I'm gonna do is I'm gonna right click
    00:15:12,942or Ctrl + click on this Camera,
    00:15:15,113and that opens up this big, long list of things that you
    00:15:19,044can do, just look for Cinema 4D Tags, Protection, okay,
    00:15:24,271and all that does is it makes it so you can't
    00:15:26,262accidentally move your Camera, wonderful.
    00:15:29,335If you do need to move your Camera around
    00:15:31,204just to see something, click this little crosshair,
    00:15:33,886and now, you can move your, you basically,
    00:15:36,680you have something called an Editor Camera,
    00:15:39,006which is a Camera that doesn't render.
    00:15:40,994It just lets you move around your scene
    00:15:42,491and see what's going on,
    00:15:43,506and, but, this Camera is actually a real camera
    00:15:47,204sitting in your scene,
    00:15:48,515and what you wanna do is look through this Camera,
    00:15:50,418click on this cube,
    00:15:51,735and remember when we went into Polygon mode,
    00:15:54,793go into Point mode now, right.
    00:15:56,533Select this point,
    00:15:58,118and now I want you to move that Point way out here, okay,
    00:16:03,346and what I wanna do is move that point so it is actually
    00:16:07,219lined up with this line here on the floor
    00:16:10,422of my Background image, alright,
    00:16:12,642and so now I can't actually see that point anymore
    00:16:16,038'cause I've kind of moved it off the screen,
    00:16:17,711so what I'm gonna do is click this button right here, okay,
    00:16:21,388if you click this, this brings up your four views, right,
    00:16:26,138and if you've ever used a 3D program,
    00:16:28,144this should make sense to you.
    00:16:30,262You got your Perspective view,
    00:16:31,613you're looking through the camera,
    00:16:32,802Top, Front, and Right, and so,
    00:16:35,094I have that point selected, and I can't see it in this view,
    00:16:37,708but I can see it in every other view,
    00:16:39,449and what I wanna do is scoot it kind of towards the Camera
    00:16:42,580so that it lines up with, with this edge here,
    00:16:47,258and so I'm gonna come to my Top view,
    00:16:49,208and I'm just gonna kind of scoot it forward like that,
    00:16:51,504okay, then I'm gonna grab this point,
    00:16:53,881and I'm gonna scoot it over so it's kind of,
    00:16:56,141I can look in the Top view and see it's kind
    00:16:58,559of parallel to that, but I also wanna scoot it up higher.
    00:17:02,008So, in my Front view, I'm gonna scoot it up higher.
    00:17:04,731Okay, and I know I'm doing this really quickly,
    00:17:07,697and really the truth is it just takes awhile
    00:17:10,738working in a 3D app to be able to kind of do this
    00:17:14,651without having to think about it, I know that, you know,
    00:17:17,207it's not really this easy to do when you start
    00:17:20,802using 3D but eventually you will get the hang of it,
    00:17:23,646I promise you, alright?
    00:17:25,637So I moved that point,
    00:17:27,176now what I'm gonna do is I'm gonna hold Shift,
    00:17:29,513and I'm also gonna click, oh, see, I did it wrong,
    00:17:32,464I'm gonna click this bottom point here, let's see.
    00:17:38,915Let me figure this out, yeah,
    00:17:40,070so that's the point, right, cool,
    00:17:42,064alright, I want that point,
    00:17:43,554I also want this point here, and I wanna grab the handles,
    00:17:47,504right, I wanna push these things forward a little bit,
    00:17:50,007like this, okay, cool.
    00:17:52,639Alright, so now, let me,
    00:17:55,555and here's a little gotcha if you've never used Cinema 4D,
    00:17:58,648if you don't have the cube selected,
    00:18:00,411you won't be able to move the point,
    00:18:01,975so make sure you have it selected,
    00:18:03,717and then you can manipulate the points,
    00:18:05,578and what I'm doing is I'm moving a point,
    00:18:07,451but I'm looking over here, okay,
    00:18:09,228and I wanna line up with that edge of my reference image.
    00:18:15,273Now I'm gonna click this point,
    00:18:16,885and I wanna move it up in the air,
    00:18:20,728and I can just scoot it over like this, okay,
    00:18:23,805and now, if I click this button again in this view,
    00:18:26,488I can really get a good view,
    00:18:28,159and it's amazing, I mean, it didn't take long,
    00:18:30,293but now you can see that we've pretty much lined up
    00:18:32,565that cube with our reference image.
    00:18:35,128So, let's click on this crosshair on the Camera,
    00:18:38,100and just kind of take a look, right,
    00:18:40,091and I know it's a little distracting having
    00:18:41,762the Background image,
    00:18:42,718but you kind of see that what we've created is this warped,
    00:18:44,567kind of funny shaped little room, right?
    00:18:47,928But because we were looking through this Camera
    00:18:50,915when we did that, we lined it up perfectly.
    00:18:53,211So, now here's the fun part.
    00:18:55,217What I wanna do is take this,
    00:18:57,670you see this little icon here?
    00:18:59,626When I took, when I made a Material and I dragged it
    00:19:01,922onto the Background what it did was it made this little guy,
    00:19:05,122this is called a Texture Tag,
    00:19:06,769and a Texture Tag in Cinema 4D,
    00:19:08,713it just assigns a Material to an object,
    00:19:11,700and I'm gonna move that so it's now assigned to the cube.
    00:19:15,519Okay, and you can actually delete the Background Object now,
    00:19:18,775you don't have to, but,
    00:19:20,196you don't need it anymore as long as
    00:19:22,082you've done everything right, okay,
    00:19:24,108and then the next thing you wanna do, right,
    00:19:26,826so, right now, if I don't look through my Camera,
    00:19:29,564and I just kind of move around like this,
    00:19:31,870you can see it doesn't look right, okay.
    00:19:33,886The reason for that
    00:19:36,426is because we have to tell this Texture Tag, look,
    00:19:39,397the way I want you to put this Material on this cube
    00:19:42,242is actually by projecting it through
    00:19:44,731this Camera right here, okay?
    00:19:47,397So what I'm gonna do is select that Tag,
    00:19:49,685remember, whatever you select shows up here,
    00:19:51,593and change this Projection to Camera Mapping,
    00:19:55,375and you see the Texture disappeared,
    00:19:57,756that's because it needs to know what Camera to use.
    00:20:00,091So, you click that Camera and you drag it into
    00:20:02,188that little Camera slot, and boom, look at that, okay,
    00:20:04,621and now, if I look around,
    00:20:06,467you can see I've actually got this Texture mapped on there.
    00:20:11,340Now, it's not working perfectly, right, so let's fix it.
    00:20:14,147The way you can tell is you can see that
    00:20:16,927here's the wall, and here's the wall,
    00:20:18,827we're kind of seeing some of the wall on the floor.
    00:20:21,189So, something isn't lined up quite right, okay,
    00:20:24,372but that's okay.
    00:20:25,725Now, one thing that helps in this situation
    00:20:28,107is if you had a little bit better detail
    00:20:30,824in your Texture while you're previewing it.
    00:20:33,298So what you can do is click on your Material here,
    00:20:36,584go to this Editor tab,
    00:20:37,880and where it says Texture Preview Size,
    00:20:40,658change that from Default to, like, this one,
    00:20:43,253right, 1024 x 1024, and now it's a lot sharper,
    00:20:46,718okay, so that helps.
    00:20:47,911So let's look through this Camera again,
    00:20:49,278let's try and figure out what's going on.
    00:20:50,664If I click on this cube,
    00:20:52,305and now, oh, I know what I did wrong.
    00:20:55,144Oh, I almost led you guys down the wrong path.
    00:20:58,131There's one step I forgot!
    00:21:00,264When you put the Material on the cube,
    00:21:03,463and you say Camera Mapping,
    00:21:05,474and then you throw that Camera on there,
    00:21:07,411you gotta click this button, Calculate.
    00:21:09,351If you don't click that button, bad things happen.
    00:21:11,429So now I clicked the button and look what happened.
    00:21:13,547Now we are pretty good to go, right,
    00:21:16,048so I just click on this crosshair
    00:21:18,489so we can look through our Editor Camera,
    00:21:20,551and lo and behold, we've got a pretty,
    00:21:23,074pretty solid little 3D room there.
    00:21:25,209Pretty neat, right?
    00:21:26,809Cool, alright, so, so far this has been a Cinema 4D tutorial
    00:21:29,831which is not what you guys signed up for,
    00:21:32,285so let me do one more thing, okay?
    00:21:34,540In After Effects, when we use this 3D scene,
    00:21:39,147we are going to have a small problem, okay,
    00:21:42,987and really what the problem is,
    00:21:45,049is I'm gonna wanna put the dog right on the floor.
    00:21:48,496In order to put the dog on the floor,
    00:21:49,971I need to know where the floor is, and the problem,
    00:21:52,387if we look through our Front view here,
    00:21:55,111is that the floor, here's the floor,
    00:21:57,292it's this bottom edge right there,
    00:21:59,073it's actually below the zero line, this red line here,
    00:22:03,408this is the zero line, which means the floor,
    00:22:05,651in After Effects world, might be, you know,
    00:22:07,927it might be like, 372, or something weird,
    00:22:10,949and we're not gonna know where exactly the floor is.
    00:22:13,741So what I could do,
    00:22:15,258what I probably should do,
    00:22:17,381is I'm gonna actually move the Camera
    00:22:20,051and the cube at the same time,
    00:22:22,181so I can move that floor up to the zero line.
    00:22:26,674Now I had a, if you guys remember,
    00:22:28,830because I paused the video and now I'm screwing things up.
    00:22:32,121I had this Protection Tag on the Camera,
    00:22:35,017and if I try to grab both of these and move them,
    00:22:39,710I'm gonna have a problem,
    00:22:40,868the problem is the Camera is not allowed to move,
    00:22:42,905because I got that, I have that little Tag on there.
    00:22:45,502So what I'm gonna do is just grab the Tag,
    00:22:47,248and I'm gonna temporarily scoot it onto this Background,
    00:22:50,412okay, I'm gonna go into my Front view,
    00:22:52,474and I'm gonna grab both the Camera and the cube,
    00:22:54,892and I'm just gonna scoot them up, right,
    00:22:57,271and if you look over here you can see that everything's
    00:22:59,352staying lined up, everything looks great,
    00:23:01,079and I'm gonna zoom in,
    00:23:03,624and I'm just gonna try and get this thing close, okay,
    00:23:06,077it's not super important that it's totally accurate.
    00:23:08,901Now, there's way more accurate ways to do that by the way,
    00:23:11,781I just don't, I don't wanna make this tutorial
    00:23:13,757any more Cinema 4D-esque than it has to be.
    00:23:16,830Alright, so, another thing we can do which is really smart,
    00:23:20,386is to add a Null object.
    00:23:23,321So, you guys all know there's Null objects in After Effects,
    00:23:25,717well, they're in Cinema 4D, too.
    00:23:28,314So if I click on this cube and I hold the mouse down,
    00:23:30,610I get all of these nice objects I can add,
    00:23:33,114and one of them's Null,
    00:23:34,552and I'm just gonna call this DOGREF,
    00:23:38,128and I'm going to, I'm gonna go into my 3D views here,
    00:23:42,806and I'm gonna click on DOGREF,
    00:23:44,066and I just wanna make sure that it's on the floor,
    00:23:46,539and not only is it on the floor,
    00:23:48,495but I wanna make sure that it's kind
    00:23:50,379of where I want that dog, right,
    00:23:52,062and I want him kind of in this corner here,
    00:23:53,982just like that, okay?
    00:23:56,566Okay, so here's my Camera,
    00:23:57,861and I'm gonna put the Protection Tag back on this Camera
    00:24:01,168so I can't move it,
    00:24:02,428and I'm gonna rename this Camera PROJECTION, okay,
    00:24:04,957just so it's clear what's going on,
    00:24:07,175and now we're all set up, okay.
    00:24:09,346So now what I'm gonna do is I'm gonna save this file,
    00:24:13,150and we're gonna save this as Room_C4D_Demo.
    00:24:17,914Excellent, now we go into After Effects.
    00:24:21,255And, you know, the great thing about Cineware is,
    00:24:24,655it's just, it's just stupid how easy it is, right?
    00:24:27,621Let's make a new comp, we're gonna call this RoomDemo,
    00:24:32,984and I have a Cinema 4D folder in all
    00:24:36,033of my After Effects projects,
    00:24:37,348so I can just import right into that folder,
    00:24:40,281that Room_C4D_Demo,
    00:24:42,417and it just, the Cinema 4D project just comes right in
    00:24:45,348as a file, I'm gonna click and drag it right into here,
    00:24:48,335okay, now don't worry about this yet,
    00:24:51,410okay, I know it doesn't look right.
    00:24:53,135So, the first thing you wanna do is hit Extract, right.
    00:24:58,702When you have a Cinema 4D object, like in your timeline,
    00:25:04,604it automatically has this Cineware effect on it,
    00:25:07,641there's a whole bunch of buttons and things you can do.
    00:25:09,633This Extract button is super important.
    00:25:11,695What it does is when you click it,
    00:25:13,401it grabs any Cameras,
    00:25:17,402and any objects that are in your Cinema 4D scene
    00:25:20,695that you want to bring through to After Effects.
    00:25:22,935Now, all it's brought over is the Camera,
    00:25:24,977and that's because I forgot a very important step.
    00:25:27,503We're gonna head back into Cinema 4D just for a second.
    00:25:30,581This DOGREF Null is right where I want it,
    00:25:33,744but After Effects can't see it,
    00:25:36,199and the reason it can't see it is because I need
    00:25:37,901to right click on it, go to Cinema 4D Tags,
    00:25:40,466and add an External Compositing Tag, okay.
    00:25:44,783I'd like to apologize briefly for how much Cinema 4D
    00:25:47,841I'm forcing into you guys
    00:25:49,174on a 30 Days of After Effects tutorial.
    00:25:52,196Alright, so, I saved the Cinema 4D project,
    00:25:54,698I jumped back into After Effects,
    00:25:56,542I can immediately now just hit Extract,
    00:25:58,968and you see now we get the Camera, called PROJECTION,
    00:26:02,541and DOGREF, and that Null, if you look,
    00:26:05,299the anchor point is exactly where we want it to be.
    00:26:07,806Now, why does this look wrong?
    00:26:10,045Well, it basically looks wrong because by default,
    00:26:12,837when you bring a Cinema 4D project into After Effects,
    00:26:15,962this Render setting here, the Render is set to Software,
    00:26:19,826and it does that so that you can preview things
    00:26:22,528a little bit more quickly.
    00:26:25,066It's not fast, right,
    00:26:26,449Cineware does not render things very quickly,
    00:26:28,638but, it can be useful for simple things like this.
    00:26:31,752When you're ready to render for real,
    00:26:34,275you can switch the renderer
    00:26:35,861to Standard (Final) or Standard (Draft).
    00:26:38,218We set it to either one,
    00:26:39,772you can see now it matches our Cinema 4D scene, okay?
    00:26:44,019But, if I take this PROJECTION Camera
    00:26:46,421and I move it, nothing happens, right.
    00:26:49,384You can see the Null move right,
    00:26:50,901the Null is in the right spot, but the scene doesn't change.
    00:26:53,710Where this gets really, really cool
    00:26:55,894is if you click on your Cinema 4D Layer,
    00:27:00,181and you go to the Camera settings,
    00:27:02,010and you change it from CINEMA 4D Camera to Comp Camera,
    00:27:05,977and at first nothing changes because we already
    00:27:08,197copied the Camera out of Cinema 4D into After Effects,
    00:27:11,666right, so this Camera matches exactly the Cinema 4D camera.
    00:27:16,264The difference is now, if I move this,
    00:27:19,393it will re-render our scene,
    00:27:21,208and this is not zooming in a 2D layer,
    00:27:25,604this is actually rotating the 3D Camera inside of Cinema 4D,
    00:27:31,360and giving us a real time sort of 3D view of that scene,
    00:27:36,357and because of the way we set this up, right, remember,
    00:27:39,734this is actually a 3D room now.
    00:27:43,026We've taken our 2D Photoshop file,
    00:27:46,134which doesn't have any kind of real perspective
    00:27:48,125or anything like that,
    00:27:49,532you couldn't physically build this room
    00:27:51,309very easily in After Effects.
    00:27:53,515In Cinema 4D, it wasn't that hard,
    00:27:55,150'cause you can project that image onto a cube,
    00:27:57,512and move the points around, and now, in After Effects,
    00:28:00,448you have a live Camera, right, and let me set this,
    00:28:04,517so it's already set to Third resolution,
    00:28:07,539so it'll render a little bit quicker than Full,
    00:28:10,724and you can key frame it,
    00:28:13,531and you can create a Camera animation,
    00:28:16,499and get a real, you know, like, not real time, but,
    00:28:20,232you guys know what I'm saying,
    00:28:21,634you can get almost instantaneous feedback,
    00:28:26,416and this is actually, literally a 3D room.
    00:28:30,086You know, you can go a lot deeper with Cineware too,
    00:28:33,093I mean, obviously if you had 3D lights in the scene
    00:28:35,372or 3D objects in the scene, those would render too,
    00:28:37,840the problem I have found is that Cineware is just,
    00:28:40,705it's pretty slow, right, you can see,
    00:28:42,518even with Third resolution here, trying to RAM Preview this,
    00:28:46,054it's not that fast, but man, does that look great,
    00:28:49,787because it's actually 3D.
    00:28:52,545And, I mean, this is a fun thing to do,
    00:28:54,394you've got this thing you just completely made up,
    00:28:56,954and now it's, you know, in, like, 15 minutes,
    00:28:59,849it's like a 3D room you're in, alright.
    00:29:01,967And what's awesome is,
    00:29:03,862here, let me come in here, this is my Photoshop file,
    00:29:07,350and I have this dog as kind of a layer,
    00:29:11,654everything's not separated out yet, but,
    00:29:14,766I do have this dog,
    00:29:15,870what I'm gonna do is I'm gonna set the anchor point to,
    00:29:18,765like, his bottom foot, okay.
    00:29:21,128I'm gonna make it a 3D Layer,
    00:29:23,727and I'm going to parent it to this DOGREF Null
    00:29:27,034that came through, okay.
    00:29:28,705Now that it's parented,
    00:29:29,858what I'm gonna do is I'm gonna zero out the position,
    00:29:32,667so I'm gonna hit P, and I'm gonna zero out the position,
    00:29:34,714and actually, I'm not gonna zero it out,
    00:29:37,000and I'll tell you why.
    00:29:38,143When you bring a Null in from Cinema 4D, right,
    00:29:40,596if I click on this Null, see where the anchor point is,
    00:29:42,694the anchor point is not at 0, 0, 0 on this Null,
    00:29:46,305I know this is confusing,
    00:29:47,743the 0, 0 point on a Null is actually the top left corner.
    00:29:52,791So, the middle of the Null is actually 50, 50,
    00:29:56,738so I actually need to type in 50, 50, there we go.
    00:30:00,385So, you can see now the dog's foot,
    00:30:02,161which is right with the anchor point,
    00:30:03,443is right on that Null, and if I scale that dog down, okay,
    00:30:09,404and I'm gonna hit R on the dog,
    00:30:11,128make sure the Rotation is zeroed out,
    00:30:12,762and now I know that dog is on the floor,
    00:30:15,125and I'm gonna just, I'm gonna scoot him over a little bit,
    00:30:17,294and I'm just gonna do a quick RAM Preview,
    00:30:22,069just to make sure everything's working.
    00:30:23,537Let's make this two seconds long,
    00:30:26,574and let's do a quick Shift RAM Preview and see what we got.
    00:30:30,589And it looks like the dog is sticking
    00:30:33,259to the floor pretty well, okay,
    00:30:35,534and the more accurately you position the Null,
    00:30:38,574the more accurately you position the anchor point
    00:30:40,473of the dog and all that, the better off it's gonna stick.
    00:30:44,601But even with that quick little job, alright,
    00:30:47,517that's not bad, and we've got a fully 3D room,
    00:30:51,037right, now, when you do a Camera Projection like this,
    00:30:55,106you obviously, you can't move the Camera too far, right,
    00:30:59,301because, if I look this way, I start to lose,
    00:31:03,136I start to lose the artwork, so,
    00:31:05,737this works best if you don't have too far
    00:31:08,297of a Camera move, but,
    00:31:10,070if you make your artwork high res enough,
    00:31:11,924you can do some pretty interesting Camera moves with it,
    00:31:14,677and what's great is you could just do it in After Effects
    00:31:17,541now, you don't have to render out the 3D part,
    00:31:20,437bring it into After Effects, try and get to work together,
    00:31:23,068and then if you decide to change the Camera move,
    00:31:25,257go back into Cinema 4D, don't have to do that,
    00:31:27,687it's awesome, and using that little Camera Projection trick,
    00:31:31,278you can make whatever you want,
    00:31:33,554make the room look exactly how you want,
    00:31:35,916and if I went into Photoshop right now,
    00:31:37,871and I added a picture right here,
    00:31:39,811it would show up instantly,
    00:31:41,340because Cinema 4D would update, After Effects would update,
    00:31:44,500the whole thing's live, it's pretty slick, so.
    00:31:48,680I hope you guys like this trick,
    00:31:50,138I know it was probably 90% Cinema 4D
    00:31:53,074and then 10% After Effects,
    00:31:54,674but the 10% After Effects is kind of what makes the thing
    00:31:56,965awesome because, you know, I mean, man,
    00:31:59,987you could even come in here to this Camera,
    00:32:01,888and you can change the type of Camera it is,
    00:32:04,360and make it like a wide-angle lens, right,
    00:32:06,493and really change the whole look of the scene,
    00:32:10,354and get like, all kinds of crazy looks, right.
    00:32:13,925You know, here, let me make this like a 15 millimeter lens,
    00:32:18,225right, and now you gotta zoom that Camera way in,
    00:32:21,991but you can see you're gonna get all kinds
    00:32:23,403of crazy perspective distortion now,
    00:32:25,820and you can kind of just quickly preview what it looks like.
    00:32:30,991Now, this, I gotta say, this isn't perfect,
    00:32:34,508and I'm sure that with future versions of After Effects,
    00:32:38,158it's gonna be a lot more real time,
    00:32:40,398and it's gonna give you a lot quicker feedback,
    00:32:43,365you guys can see kind of how laggy it is,
    00:32:45,445but, look, there's a wide-angle lens,
    00:32:47,758and as long as I move the mouse slowly,
    00:32:50,227there you go, this does go faster, by the way,
    00:32:52,678if you click on the Cinema 4D Layer,
    00:32:54,813and set the renderer back to Software, right,
    00:32:57,536that does help.
    00:32:59,597You can also click Keep Textures in RAM,
    00:33:01,638that speeds things up, and you can click on,
    00:33:03,667I don't think it's gonna work too well in this case,
    00:33:06,013if I click Wireframe,
    00:33:07,456you can still kind of see the edge of the cube,
    00:33:09,354but it just doesn't give you as much feedback,
    00:33:11,469but you can see how much faster
    00:33:12,859the After Effects viewer updates.
    00:33:16,076Let's try Box, yeah, it didn't really help too much either.
    00:33:19,987But there's some settings here that can make
    00:33:21,480your previews faster, right,
    00:33:23,703this is actually a little bit easier to work with,
    00:33:26,031and then you just switch back
    00:33:27,345to Standard (Draft) or (Final), and there you go.
    00:33:31,987Woo!
    00:33:32,949I hope that was helpful,
    00:33:34,178I hope you guys got some cool ideas out of this,
    00:33:36,132and those of you that can draw, that are good illustrators,
    00:33:39,263I have feeling this is gonna be very useful for you.
    00:33:41,503So, thank you guys very much,
    00:33:43,067in the next tutorial for this scene,
    00:33:45,876I'm gonna show you how I animated the dog
    00:33:49,009using Follow Through with some,
    00:33:51,047with also some cool expression tips,
    00:33:52,860because I just can't help myself.
    00:33:54,670Thank you guys so much,
    00:33:56,004I will catch you next time on 30 Days of After Effects.
    00:33:59,027Thank you so much for watching.
    00:34:01,074Cineware, the link between Cinema 4D and After Effects
    00:34:03,918is pretty darn powerful,
    00:34:05,479and I hope that you learned a new technique
    00:34:07,027that you didn't know about before.
    00:34:08,642Cineware opens up opportunities to have full
    00:34:10,7433D things inside of After Effects
    00:34:12,590in a way that wasn't possible before,
    00:34:15,011and it comes for free with After Effects.
    00:34:17,500If you have any questions or thoughts about this lesson,
    00:34:19,598definitely let us know,
    00:34:20,807and we'd love to hear from you if you use on a project.
    00:34:23,590So, give us a shout on Twitter, @SchoolOfMotion,
    00:34:26,262show us what you've done, that's it.
    00:34:28,467I will see you in part two of this lesson.
    00:34:31,878(clicking)
    00:34:34,603(funky synth jingle)