Book Image

Blender Cycles: Lighting and Rendering Cookbook - Second Edition

Book Image

Blender Cycles: Lighting and Rendering Cookbook - Second Edition

Overview of this book

Blender provides a broad spectrum of modeling, texturing, lighting, animation and video post-processing functionality in one package. It provides cross-platform interoperability, extensibility and a tightly integrated workflow. Blender is one of the most popular Open Source 3D graphics applications in the world. Modern GPUs (Graphics Processing Unit) have some limitations for rendering complex scenes. This is mainly because of limited memory, and interactivity issues when the same graphics card is also used for displaying and rendering frames. This is where Cycles rendering engine comes into play. Cycles is bundled as an add-on with Blender. Some of the features of Cycles is its quality, speed and having integrated industry standard libraries. This book will show you how to carry out your first steps in Cycles - a brand new rendering engine for Blender. In a gradual and logical way, you will learn how to create complex shaders and lighting setups to face any kind of situation that you may find in Computer Graphics. This book provides information on how to setup your first application in Cycles. You will start by adding lights, materials, and textures to your scene. When it's time for the final render, you will see how to setup Cycles in the best way. You will learn about a wide variety of materials, lighting, techniques, tips, and tricks to get the best out of Cycles. Further on in the book, you will get to know about animation and still shots, and learn how to create advanced materials for realistic rendering, as well cartoon style shaders. This cookbook contains a wide range of different scenes, proposed in a structured and progressive order. During this journey, you will get involved in the concepts behind every step you take in order to really master what you learn.
Table of Contents (18 chapters)
Blender Cycles: Lighting and Rendering Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Introduction
Index

Preface

One of the most advanced 3D packages on the scene, Blender now has a powerful new tool to allow its users to achieve even more astonishing results: the Cycles rendering engine. Cycles is based on an accurate lighting model and realistic shaders. It is also blazing fast thanks to the fact that it can take advantage of modern GPUrendering capabilities. Cycles is definitely a modern and effective tool that every Blender user wants to know in order to get the best results. Blender Cycles: Lighting and Rendering Cookbook will take you a journey through the new great Blender rendering engine Cycles. We will start with understanding the fundamental concepts of this rendering engine, and use them to learn the creation of any kind of lighting, material, texture and setup. At the end of the book, both beginners and more advanced users will not only be able to create virtually any kind of shader and lighting, but will also be able to find and experiment with new techniques on their own. Thanks to the logical way in which the topics are presented in the book readers will be able to create their work without additional tutorials just using the knowledge they will master by reading this book.

What this book covers

Chapter 1, Key Holder and Wallet Studio Shot, will highlight the fundamentals of lighting with the creation of materials in Cycles. Finally this chapter will teach you how to set up the render parameters in Cycles

Chapter 2, Creating Different Glass Materials in Cycles, will help us create from the most basic to really advanced glass materials. To achieve this we will go deeper into the Cycles material creation, learning interesting node trees and techniques.

Chapter 3, Creating an Interior Scene, will help us with the creation of an interior scene, a situation that can be quite challenging without proper knowledge. You will learn how to light a scene in an efficient way, along with new materials and advanced techniques.

Chapter 4, Creating an Exterior Scene, will help you learn the secrets of exterior lighting. Here we will learn how to create a flawless natural exterior lighting using different advanced techniques together with the creation of new materials.

Chapter 5, Creating a Cartoonish Scene, will teach you how to create stylized yet appealing lighting materials, for example a fake subsurface scattering and hair material, ideal for a cartoon scene.

Chapter 6, Creating a Toy Movie Scene, will show you how to create a lighting setup that will resemble a movie set, together with highly realistic materials. Moreover you will learn different techniques to give our image an even closer look to that of a cinema movie.

Chapter 7, Car Rendering in Cycleswill help you set up great studio lighting to make the car look great and of course, will show you how to create complex and captivating car paint material.

Chapter 8, Creating a Car Animation, will help you deal with your first animation and explain to you how to setup Cycles at its best for this purpose. You will optimize the scene to lower render times while maintaining a high quality and detail level, and learn how to deal with a huge project.

Chapter 9, Creating an Iceberg Scene, will highlight some really advanced material creation in Cycles, and some greatly advanced techniques about seamlessly mixing two materials inside the same mesh. Moreover you will learn to use information from scene objects to use for even more advanced materials.

Chapter 10, Creating Food Materials in Cycles, the final chapter, will talk about the creation of food, one of the most challenging topics to deal with in Computer Graphics. This chapter will teach you the creation of highly realistic and complex Cycles materials.

What you need for this book

The only program needed to follow the recipes of this book is Blender, which can be freely downloaded from the official Blender foundation website www.blender.org.

Who this book is for

This book is aimed at both beginners and more advanced Cycles users, as it will take you from the very first steps up to quite advanced techniques. Even more advanced users could pickup several new things reading this book.

Although every topic is described in detail, some basic knowledge of Blender as a package is advisable.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "Again we will have to duplicate the material and name it Rim_Light."

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Let's start by going to the System tab, and in the lower-left corner, you will see the Compute Device setting area."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code and colored graphics

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

We also provide you a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from: https://www.packtpub.com/sites/default/files/downloads/4609OS_ColoredImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.