Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Blender Compositing and Post Processing
Blender Compositing and Post Processing

Blender Compositing and Post Processing: From basic grading techniques through to advanced lighting and camera effects, this guide to compositing with Blender teaches digital CG artists the way to bring a new level of dynamism and realism to their footage.

$22.99 $15.99
Book Jan 2014 114 pages 1st Edition
eBook
$22.99 $15.99
Print
$38.99
Subscription
$15.99 Monthly
eBook
$22.99 $15.99
Print
$38.99
Subscription
$15.99 Monthly

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jan 21, 2014
Length 114 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781782161127
Vendor :
Blender Foundation
Category :
Languages :
Table of content icon View table of contents Preview book icon Preview Book

Blender Compositing and Post Processing

Chapter 1. Blender Compositing – Overview

This chapter provides a basic understanding on the role of compositing in a CG workflow and Blender's importance as a compositor. The following is a list of topics covered in this chapter:

  • Compositing significance in the CG pipeline

  • Significance of Blender as a compositor

  • Blender-supported formats

  • Blender color modes and depths

  • Blender color spaces

  • Understanding the render layers and render passes concepts

Understanding CG compositing


CG compositing is an assembly of multiple images that are merged and modified to make a final image. Compositing happens after 3D rendering, as seen in a typical CG pipeline flow, which is the most expensive phase of CG filmmaking. A well planned lighting and compositing pipeline can optimize render resources and also provide unlimited image manipulation functionalities to achieve the desired look for the film. Though compositing is at the end of the pipeline, with its wide range of toolsets, it can help to avoid the work of going back to previous departments in the CG pipeline.

The following diagram depicts a CG pipeline flow and also shows where the composite process fits in:

The strength of compositing lies in modifying the rendered CG footage into a believable output. The following screenshot portrays a Composited Output image done from rendered passes. Many effects such as glare, color corrections, and defocus make the output seem more believable than the rendered beauty pass, which is shown as the first image in Render Passes.

Compositing also provides tools to grade an image to achieve extreme or fantasy style outputs. The following screenshot illustrates different types of grades that can be performed:

Blender's significance as a compositor

Blender is the only open source product with a range of features comparable to other industry standard commercial or proprietary software. It provides a unique advantage of combining 3D and 2D stages of CG filmmaking into one complete package. This gives tremendous control when planning and executing a CG pipeline. Automating and organizing data flow from 3D rendering to compositing can be achieved more easily in Blender compared to other solutions, since compositing software is separate from the 3D rendering software.

Getting started


To be able to get most out of Blender Compositor, it is essential to have a superficial understanding of what Blender can offer. This includes supporting formats, color modes, color spaces, render layers, and render passes.

Supported image formats in Blender

Blender's image input/output system supports regular 32 bit graphics (4 x 8 bits) or floating point images that store 128 bits per pixel (4 x 32 bits) or 64 bits per pixel (4 x 16 bits). This includes texture mapping, background images, and the compositor. These attributes are available in output properties as shown in following screenshot:

Supported color modes in Blender

The color modes are the options available to view the channel information of a footage, they are:

  • BW: Images get saved in 8 bits grayscale (only PNG, JPEG, TGA, and TIF)

  • RGB: Images are saved with RGB (color)

  • RGBA: Images are saved with RGB and Alpha data (if supported)

Supported color depths in Blender

Image color depth, also called bit depth, is the number of bits used for each color component of a single pixel. Blender supports 8, 10, 12, 16, and 32 bit color channels.

Blender's color spaces

The mathematical representation of a set of colors is termed as color space. Each color space has a specific significance and provides unique ways to perform image manipulation. Depending on the task in hand, the color space can be chosen. Blender supports the RGB color space, the HSV color space, the YUV color space, and the YCbCr color space.

The RGB color space

The RGB (red, green, and blue) color space is widely used in computer graphics due to the fact that color displays use red, green, and blue as three primary additive colors to create the desired color. This choice simplifies the system's design and you can benefit from a large number of existing software routines since this color space has been around for a number of years. However, RGB is not suitable when working with real-world images. All three RGB components should be of equal bandwidth to generate a color, resulting in a frame buffer that has the same pixel depth and display resolution for each RGB component. So, irrespective of modifying the image for luminance or color, all three channels have to be read, processed, and stored. To avoid these limitations, many video standards use color spaces that provide luma and color as separate signals.

The HSV color space

HSV stands for hue, saturation, and value. This color space provides flexibility to be able to modify hue, saturation, and value independently. HSV is a cylindrical co-ordinate representation of points in an RGB color model. The following screenshot shows RGB in comparison to HSV values to attain a red color:

The YUV color space

The YUV color space is used by the Phase Alternating Line (PAL), National Television System Committee (NTSC), and Sequential Color with Memory (SECAM) composite color video standards for color televisions. Y stands for the luma component (the brightness), and U and V are the chrominance (color) components. This color space was intended to provide luma information for black and white television systems and color information for color television systems. Now, YUV is a color space typically used as part of a color image or CG pipeline to enable developers and artists to work separately with luminance and color information of an image.

The YCbCr color space

The YCbCr color space was developed as a digital component video standard, which is a scaled and offset version of the YUV color space. Y is the luma component and Cb and Cr are the blue-difference and red-difference chroma components. While YUV is used for analog color encoding in television systems, YCbCr is used for digital color encoding suitable for video and still-image compressions and transmissions, such as MPEG and JPEG.

Render layers/passes

To optimize render resources and also be able to provide full control at the compositing stage, a CG lighting scene is split into multiple render layers and render passes.

Render layers

A typical lighting scene consists of two to three characters, props, and one set. To provide an opportunity to re-render only required elements in the scene, each element is separated into its own render layer for rendering. All interaction renders are also separated into render layers. The following list shows a typical render layer classification.

  • Character 1

  • Character 2

  • Character 3

  • Characters cast shadow

  • Characters occlusion

  • Set

  • Set occlusion

  • Set interaction with characters

Render passes

Passes or AOVs (arbitrary output variables) are intermediate computational results that are shown when rendering a layer. All render passes are buffered out when rendering a render layer and written as separate data. These passes can be utilized in compositing to rebuild the beauty of the render layer and also allow us to tweak individual shader/light contributions. The following screenshot shows the Blender internal render engine's Passes panel:

Every render layer in Blender, by default, is equipped with these render passes, but the content in the render passes is based on the data available to the render layer. However, the pass definition and the type of content it stores doesn't vary. All passes that have a camera icon beside them can be excluded from the combined pass data by clicking on the camera icon. This provides another level of control over the content of the combined pass.

Each passes' significance and content

The following screenshot shows outputs of different render passes available, by default, in Blender's internal render engine. Their significance is explained as follows:

  • Combined: This renders everything in the image, even if it's not necessary. This includes all the options blended into a single output, except those options that you've indicated should be omitted from this pass as indicated with the camera button.

  • Z (Z depth): This map shows how far away each pixel is from the camera. It is used for depth of field (DOF). The depth map is inverse linear (1/distance) from the camera position.

  • Vector: This indicates the direction and speed of things that are moving. It is used with Vector Blur.

  • Normal: This calculates lighting and apparent geometry for a bump map (an image that is used to fake details of an object) or to change the apparent direction of the light falling on an object.

  • UV: This allows us to add textures during compositing.

  • Mist: This is used to deliver the Mist factor pass.

  • Object Index (IndexOB): This is used to make masks of selected objects using the Matte ID Node.

  • Material Index (IndexMA): This is used to make masks of selected material using the Matte ID Node.

  • Color: This displays the flat color of materials without shading information.

  • Diffuse: This displays the color of materials with shading information.

  • Specular: This displays specular highlights.

  • Shadow: This displays the shadows that can be cast. Make sure shadows are cast by your lights (positive or negative) and received by materials. To use this pass, mix or multiply it with the Diffuse pass.

  • Emit: This displays the options for emission pass.

  • AO: This displays ambient occlusion.

  • Environment: This displays the environment lighting contribution.

  • Indirect: This displays the indirect lighting contribution.

  • Reflection: This displays the reflection contributions based on shader attributes that are, participating in the current render.

  • Refraction: This displays the refraction contributions based on shader attributes that are participating in the current render.

The following screenshot shows some outputs of Blender's default render passes:

Summary


This chapter introduced the CG compositing stage and Blender's significant advantage as a compositor. We also obtained an understanding on what can go in and out of Blender Compositor in terms of formats, color spaces, passes, layers, and bit depths. The next chapter deals with Blender's node-based architecture and user interface.

Left arrow icon Right arrow icon

Key benefits

What you will learn

Explore color spaces and grading techniques Discover what goes in and out of Blender compositor Understand generic render passes and layers Work on advanced compositing techniques like relighting, texture mapping, and focusing Get to grips with keying, masking, and filtering techniques Grade using the Bezier curve Make the image more realistic using camera effects Import footage into the node editor

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jan 21, 2014
Length 114 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781782161127
Vendor :
Blender Foundation
Category :
Languages :

Table of Contents

14 Chapters
Blender Compositing and Post Processing Chevron down icon Chevron up icon
Credits Chevron down icon Chevron up icon
About the Author Chevron down icon Chevron up icon
Acknowledgments Chevron down icon Chevron up icon
About the Reviewers Chevron down icon Chevron up icon
www.PacktPub.com Chevron down icon Chevron up icon
Preface Chevron down icon Chevron up icon
Blender Compositing – Overview Chevron down icon Chevron up icon
Working with Blender Compositor Chevron down icon Chevron up icon
Working with Input and Output Nodes Chevron down icon Chevron up icon
Image Manipulation Techniques Chevron down icon Chevron up icon
Beyond Grading Chevron down icon Chevron up icon
Alpha Sports Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.