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

Setting up render elements

From: Creating Product Shots in 3ds Max

Video: Setting up render elements

In production, we want to have maximum control over the image. Remember that there are multiple ways of applying ambient occlusion.

Setting up render elements

In production, we want to have maximum control over the image. And the best way to do that is to separate each one of the render components out to its own file. For example, we can have the diffuse stored separately from the reflections, separately from the shadows and so on. That way we can sandwich all of these components together in a compositing program like After Effects. And control each one separately and really fine-tune the look of the rendering. One of the things that we want to do in this case is to apply the ambient occlusion in post so that we can control the amount of contact shadows, that are applied to the diffuse and the reflection components of the rendering.

So we need to cope with that first. Let's go into the material editor. Remember that there are multiple ways of applying ambient occlusion. The conventional way is through the Arch and Design material. We double-click on that. Remember I mentioned that inside Arch and Design, in special effects, there is an ambient occlusion switch and if we turn that on it would block the light coming from final gather, but it wouldn't block the direct illumination or the reflections. So I've chosen to do it a different way, which is by adding this ambient reflective occlusion node, and piping that into the diffuse color and reflection color.

Well what we want to do here is actually break those connections so that we can render the diffuse and reflection components without any ambient occlusion applied. And then apply it in post. So, let's delete these connections. Click that and press delete, select that wire and press delete. And we want to make sure that the colors match. Our Arch and Design diffuse and reflective colors here are actually not precisely the same as the ones in these ambient nodes so we need to copy those over. So that our rendering matches.

There's a color clipboard over here in the utilities panel. Click color clipboard. And then go into the ambient for the diffuse, and copy this bright color over. And click Copy. Same thing with the ambient for the reflections. Double-click that. Copy that over. Go back to the Arch and Design material. Double-click that. And then drag these back in. So we're going to copy that diffuse color over, and copy that reflection color over. Little kind of the same but there values were not precisely the same. We weren't really careful about that.

So now we know that it's going to match exactly to what we saw before. Okay. So now, we've done that. And we're ready to set up our render elements. We'll go into the Render Setup. And we want to go to the renderer tab first, and make sure that our quality is set to 1. Which it is. And make sure that our frame buffer is set to floating point. because we're going to render out to high dynamic range. And then go to the render elements tab. In here we can add various render elements or passes. So click on Add. And in here you will see a bunch of options.

And a lot of them are labeled mr A and D. And that of course corresponds to mental ray Arch and Design. So the render elements can output the colors of those materials directly. You'll see that there are different flavors of A and D. There's Level, Output, and Raw. Raw is the color of the material without any lighting. Level is the lighting, and output is the final result, which is the raw color multiplied by the lighting. Usually we want the output.

And we've got a bunch of these that we want to add. The diffuse direct illumination, which is coming from the lights. And also the indirect illumination which is final gather. So hold down Control and select that as well. We want the reflections. Ctrl+Select that. And the specular, which is the shiny highlights coming from the lights, not from the environment. Scroll down a little bit, and there are a couple others of those that are not actually Arch and Design specific. We've got Refraction. Ctrl+Select that, and also shadows, Ctrl+Select that as well.

So I've currently got six elements selected here, Diffuse Direct, Diffuse Indirect. Reflections specular refraction and shadow and these are all output. And none of them are raw or level. Click OK. Now they're all added, can move this over a little bit so we can see these. There's one little change we do want to make which is the shadow pass has filtering turned off which means it's not going to be anti-aliased. We do want to turn that on.

So with Shadow selected, turn on Enable Filtering. And what we're going to get from this is a Beauty Pass, which is the ordinary rendering. And it's not going to have any ambient occlusion applied to it at all, because we've broken that connection. And Ambient Occlusion is turned off in the material itself. So we'll have a diffuse channel, an indirect channel, reflection speculate refractions and shadow plus the beauty pass which is all of those precomposited together. Okay and we want to also make sure that we save this out to a file.

Go to the common tab. Scroll down, and under Render Output, click the button that's labeled Files. We want to save into the Render Output folder, and let's create a folder inside that. We'll call this one studio lighting passes. Go into that folder. And we will give it a base file name, we will call it studio lighting.exr. That will be the base file name and so our beauty pass which is the ordinary rendering will be studiolighting.exr and all the various render elements will have the names appended to them that we added in the render elements dialog.

Click Save and we get the opening exr configuration dialog. The format we want is full float 32 bits, the type is red green and blue plus alpha and compression zip compression per scan line. Click OK and before we render we want to save the document. Save the scene so go to Save As. Call this one render elements finished. And we'll go ahead and click Render and it's going to take longer because we're rendering all of those various elements.

So don't be alarmed if it takes probably five times longer than before to render all that. When it's finished rendering you'll get a whole bunch of new windows popping up. And they might be stacked exactly on top of each other making it look like there's only one window. But I've moved them all so that we can see them and take a look at each one. We've got the shadow pass here but it looks just black but don't be fooled. Go to the alpha. And you will see that what it's done is it's saved out a black rgb channel. And then it's massed it with the alphas.

And we put this into after effects. This area will be black. We've also got the refractions which is everything that's inside the glass. We've got the specular highlights, the reflections. Now don't panic that this looks overexposed. Remember, we're saving it out as an EXR document, so we can adjust the exposure in post. And then we've got the indirect illumination, which is final gather, and then finally, the direct illumination from the lighting. And all of those have been stored in our folders. So if we go into the Render Output > Studio Lighting Passes folder we created.

Here's the beauty pass, which is the main rendering. And there's our six separate render elements.

Show transcript

This video is part of

Image for Creating Product Shots in 3ds Max
Creating Product Shots in 3ds Max

42 video lessons · 1334 viewers

Aaron F. Ross

Expand all | Collapse all
  1. 5m 50s
    1. Welcome
      1m 1s
    2. Using the exercise files
      4m 49s
  2. 32m 32s
    1. Setting the Customize UI and Defaults Switcher
      1m 43s
    2. Choosing units and grid options
      1m 13s
    3. Importing a CAD file
      5m 12s
    4. Managing the scene hierarchy
      7m 46s
    5. Managing display layers
      3m 52s
    6. Working with Body objects
      2m 53s
    7. Modeling an environment sphere
      4m 17s
    8. Creating a camera
      2m 44s
    9. Framing the shot
      2m 52s
  3. 16m 46s
    1. Creating mental ray area spot lights
      4m 31s
    2. Creating photometric spot lights
      5m 9s
    3. Setting exposure for studio lighting
      3m 9s
    4. Controlling Final Gather
      3m 57s
  4. 1h 1m
    1. Creating Arch & Design materials
      7m 26s
    2. Creating an environment material
      6m 14s
    3. Enabling self-illumination
      5m 33s
    4. Applying procedural textures
      7m 20s
    5. Working with reflectivity
      7m 10s
    6. Creating a metal material
      4m 33s
    7. Adjusting highlights
      5m 4s
    8. Varying highlights with a bump map
      6m 43s
    9. Working with transparency
      4m 44s
    10. Adding ambient-occlusion nodes
      6m 40s
  5. 37m 47s
    1. Understanding image-based lighting
      2m 42s
    2. Creating a skylight
      2m 10s
    3. Adding a spherical environment map
      2m 51s
    4. Controlling bitmap coordinates
      4m 5s
    5. Setting exposure for image-based lighting
      7m 36s
    6. Adjusting materials
      5m 38s
    7. Modeling environment geometry
      5m 42s
    8. Self-illuminated image-based lighting
      7m 3s
  6. 50m 6s
    1. Controlling mental ray Sampling Quality
      5m 18s
    2. Rendering to the high-dynamic-range EXR format
      5m 52s
    3. Defining After Effects color settings
      4m 0s
    4. Adjusting the image
      10m 4s
    5. Setting up render elements
      7m 51s
    6. Creating ambient-occlusion materials
      6m 9s
    7. Layering specularity and reflections
      3m 47s
    8. Adding all render-element layers
      7m 5s
  7. 49s
    1. Goodbye

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


You have completed Creating Product Shots in 3ds Max.

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

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 preferences from 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.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

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.