Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Catcher locations in CINEMA 4D

From: CINEMA 4D and After Effects Integration

Video: Catcher locations in CINEMA 4D

We are back in Cinema 4D and if you've downloaded the project files and sources that came with this training, go Open, make sure you are in the Chapter 5 folder/Cinema 4D/room_5_starter and Open. Here I have created a different room just to keep things a bit more interesting. I have got a floor, a wall, a window that's juts out slightly from that wall, I'll give a quick render here. Why that's important is that if shadow was being cast against this wall, it would appear a little bit differently on this window than it would on the back wall, so a little bit more of an advanced case.

Catcher locations in CINEMA 4D

We are back in Cinema 4D and if you've downloaded the project files and sources that came with this training, go Open, make sure you are in the Chapter 5 folder/Cinema 4D/room_5_starter and Open. Here I have created a different room just to keep things a bit more interesting. I have got a floor, a wall, a window that's juts out slightly from that wall, I'll give a quick render here. Why that's important is that if shadow was being cast against this wall, it would appear a little bit differently on this window than it would on the back wall, so a little bit more of an advanced case.

In our previous examples, we have been mapping video onto walls. Well in this case, we need to map our shadow catcher layers onto these walls. So just like the video wall case, we need to setup External Composting tags for these three surfaces. One thing we need to know is how big they are. So let's start with the floor. Here is my floor object. I need to figure out how big it is so I need how big of a layer to put on it in After Effects. So I am going to select my top of floor layer and note there's 3096 wall units by 2048, so that gives me its size.

I select my floor, apply a Tag>Cinema 4D>External Compositing. This gives me either a null object, or in newer versions of Cinema, a Solid that's placed right in the middle of that floor and fortunately, I already have my axis arrows placed square in the middle of the floor, right on the top of the floor. I need my shadow catchers to be white. So I am going to change these solids to be white in color, or you can replace them with a white solid in After Effects and what I'd love to do is type in the size of my floor straight here in Cinema.

The problem with that is Cinema currently restricts these solids to be no larger than 1000 pixels on a side. So unfortunately, I just need to make them 1000 x 1000 here in Cinema, then what I get into After Effects, I will go ahead and expand them out to the right size. But I've already written down somewhere what size this needs to be, 3096 x 2048. Let's pick my next object, the back wall. Again, I need my axis arrows to be flushed with the face of that wall because we want the shadows cast flush onto that wall.

I want to figure out how big that back wall is. I am going to click on back wall, note that it's 3096 wide by 1024 tall, good. I will select my back wall again and apply Tags>Cinema Tags>External Compositing. I will make it a Solid again. I will make it white since shadow catchers need to be white, and again, I'd love to make it the size of that wall, but I have to settle for just 1000x1000, as of Cinema in version 11.5. Finally, I want to create a separate little shadow catcher just for where that window is.

So to do that, I select my window boolean. That's how I created this window in the first place. I want to check its size, so I see the window main was 448 x 384, good to know. Select that window, make sure my axis arrows are flush with the face of that window. It looks like it is except for taking that bevel into account, so I will make sure I've got my Axis Move tool here and I will move it until it's just flush with the face of that window. That's good.

Select it. Tags>Cinema Tags>External Compositing, make it a Solid, make it white in color. This time, I can actually type in the numbers, and rather than typing in exactly the size of the window, it's good to have a couple of extra pixels left over because I am going to trim them with object buffers. We will get to that in a second. I am going to type in something like, say, 452 wide, just to give myself a little extra and 390 tall, so my solids a little bit bigger than this window. For this window, I really need to think about my Tag Properties.

For one thing, it was created as a boolean, one cube was cut out of another cube. I don't want the cache calculated in that point because otherwise, I am going to get solids for all these components that made up that boolean and I don't want that in this case. I am going to settle, in this case, making a solid just for the face of this window and use that as a Shadow Catcher, but if I was really trying to get the last little bit out of my composite, I would want a solid for every facet of that window, so I can catch shadows in all those different dimensions.

If you are working on a critical project, that's what you would want to do. Okay. You could just have these white solids for the back wall, for the floor and for the window. But the problem is is we do have some cut outs, some holes where shadows should not appear. Whenever we have cut-outs or we need to worry about trimming a layer, that's when we want to use object buffers. So let's go back to these guys again. I'll select my floor, and this time I will add a Tag>CinemaTag>Compositing, not External Compositing. I will go to my Object Buffer and make sure that I have assigned one Buffer, a unique buffer, to mask out just where that floor is visible in the final render.

I will go to my back wall, apply a Tag>Cinema Tag>Compositing. Underneath Attributes>Object Buffer, I am going to turn on another Buffer with a different number to create a unique matte pass just for that back wall. And finally, I am going to go to my window boolean just this window object here in the middle, and again apply Tag> Cinema Tag>Compositing, Attributes>Object Buffer. This time, Enable Buffer 3.

So I have a third unique matte pass that shows me just where this window is visible in the final composite. Now that I have got those, I need to go to my Render Settings, enable Multi-Pass, add some Object Buffers, Buffer 1, Buffer 2, make sure I increment the number to number 2, and Buffer 3 and increment, finally, to Buffer 3. I will go back to my Save, make sure I save these to a path that is actually on this computer.

I see that I am in my Chapter 5 folder, so I am going to create a New Folder inside for my renders called shadow catcher renders, Create, Save and do the same for my Multi-Pass. Make sure it goes in that same folder. I've got my Compositing Project File turned on to Save, After Effects and Include 3D Data. And now that I have got all that set up, let's go ahead and render it. Now you see that I am getting not only my Background render for the entire wall, but individual Object Buffers, a floor, for the back wall, without the window, and for the window itself. Pretty good.

Well this is going to take a while to render, so I am not going to make you sit here and wait. When this is done, we will jump into After Effects and see how we need to build our Shadow Catchers as part of that scene.

Show transcript

This video is part of

Image for CINEMA 4D and After Effects Integration
CINEMA 4D and After Effects Integration

18 video lessons · 9365 viewers

Chris Meyer and Trish Meyer
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed CINEMA 4D and After Effects Integration.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.