This chapter will be devoted to the Cycles render engine. You will learn how to achieve a convincing render of the haunted house by understanding the different types of light work and by creating complex materials using the previously made textures. You will learn some nice tricks such as how to produce normal maps of our hand-painted textures without leaving Blender or how to create realistic-looking grass. You will also discover how to use the Cycles baking tool. In order to conclude our project, we will show you how to integrate a mist effect in the final composition.
In this chapter, we will cover the following topics:
To switch to the Cycles render engine, you must select it in the list of proposed engines that Blender offers in the menu bar. We will see in the first part of this chapter some of the very useful settings that should be known while using Cycles.
If you directly try to make a render with Cycles without changing the parameters of Blender, you will certainly see some noise in the image. To make this less visible, one of the first things to do is change the sampling settings. Unlike Blender Internal, Cycles is a Raytracer Engine. While rendering, Cycles will send rays from the camera in order to generate pixels. The noise is due to a small amount of the samples. Cycles, therefore, needs more samples; the more sampling, the more accurate the final render.
The following sampling settings are in Properties editor. Just select Render | Sampling:
The Render sample must be higher than the Preview sample.
The GPU device
If you have a fairly recent CUDA®-compatible graphic card, you can opt for GPU rendering. This allows you to make renders very quickly and visualize your scene in the 3D viewport nearly in real time.
For this, go to User Preferences | System | Computer Device and select CUDA. Then, in Properties, go to Render | Device and select GPU.
Note that the most recent AMD GPU has been supported since Blender 2.75.
Clamp direct and indirect
This allows us to clamp the intensity of the rays of light launched from the camera. This can also help to reduce the noise effect, but it blurs the pixels together.
You will find the following light path settings in the menu:
You will find the following performance settings in the menu:
For more information, you can have a look at the official Blender manual at these addresses:
http://www.blender.org/manual/render/cycles/settings/integrator.html
3.15.149.144