Video icon 64
Want to learn graphic design? Start your free trial today.
Advertisement

Global Illumination Techniques In Cinema4D

Global Illumination can be a little confusing at first, but really helps in creating realistic, nice looking scenes. This Cinema4D tutorial by Cgtuts+ regular Konstantin Muromtsev will help you better understand Global Illumination by discussing various lighting techniques, as well as explaining some of the render settings needed to achieve a good result.


We'll first create a mobius strip ring and use it as an object to light. We'll also create materials for our scene. We'll be rendering our scene several times using various objects as light sources to see the difference between setups.

Step 1

Starting section – creation of the main object: the mobius strip ring. Create a tube object (Objects > Primitive > Tube.)


Step 2

Increase the inner radius of the tube and decrease the height.


Step 3

Make the rotation segments exactly 6.


Step 4

Check fillet and decrease it's radius to 1 cm (if cm is your default measure units like in my case).


Step 5

Make the tube editable (C on keyboard or Functions > Make Editable) and select half of the object as shown. Remember that you need to select all the polygons in that half, so don't miss any of them.


Step 6

Split the geometry of the tube using the split function (Functions > Split) and press "Delete" to remove duplicate polygons from the original object. Use optimize (Functions > Optimize) to remove any unused points.


Step 7

Select all the points along the cut on one half of the tube, and rotate them 90 degrees.


Step 8

Select the corresponding points on the other half of the tube and rotate them -90 degrees.


Step 9

Create a Connect object (Objects > Modeling > Connect.) And add both parts of the tube to the object.


Step 10

Create a HyperNURBS object and add Connect the object to it. Our mobius strip ring is now ready.


Step 11

Creating a basic background (ramp): Using Create Spline, draw a similar spline as shown below (use linear, then modify it using Chamfer).


Step 12

Duplicate the spline and move it to one side, create a Loft NURBS object (Objects > NURBS > Loft NURBS) and add both splines to it.


Step 13

Before we start to use GI, let's create some materials for our scene. Create a new material (by double clicking in material browser). Change the color to white, and uncheck Specular. We'll be using this material on the background.


Step 14

Create another new material. Change the color to yellow, use a orange to dark violet Gradient as the texture.


Step 15

Check Transparency. Change the color to orange (255 202 118), set refraction to 1.4, use a grey to white Fresnel as the texture. Set Mix Mode to Multiply. Use a less saturated color for the Absorption Color (252 208 170.)


Step 16

Check Reflection. Change the brightness to 80%, check Additive, use a grey to white fresnel as the texture. Set Mix Mode to Multiply and uncheck Specular. This is the material we'll use for the ring.


Step 17

Create a new material. Uncheck Color and Specular, check Luminance and change the Brightness to 200%. This material will be used for all the lights in our scene.


Step 18

Add the materials to the background and to the ring. Also place the ring on the ramp, so we get a basic studio setup.


Step 19

Choose a good angle and add a camera (Objects > Scene > Camera.)


Step 20

Open the render settings (ctrl+B), add Global Illumination from the "Effect..." button. Under GI settings, Irradiance cache, change the Stochastic Samples and Record Density to Low (we don't need sky high quality). In the Anti-Aliasing settings, change Anti-Aliasing to Best, Filter to Sinc (or Still Image).


Step 21

Let's start experimenting with GI. Most basic GI light is just a Sky object without a complex texture and nothing more. Create a Sky object (Objects > Scene > Sky), apply a light material and render (ctrl+R.) Now we have an over lit scene, because of the 200% we added into the luminance of our material. Over or under lighting is a common mistake in GI.


Step 22

Decrease the brightness in the light material to 125%. Now it's looking quite good. Increase the brightness back.


Step 23

Any object (or objects) can light the scene, so never underestimate primitives. Create a sphere, make it big and move it to one side. Apply the light material to it.


Step 24

Turn off the sky and render the scene. Now we have interesting light reflections in an overall dark scene.


Step 25

A Plane with luminance materials applied can emulate windows. Create a Plane object (Objects > Primitive), make it big and move to the side, apply the light material again. Also Turn off the sphere object.


Step 26

Render the scene. We have now achieved a different look, just by changing the light source from one primitive to another.


Step 27

Rotate the plane and place it above the scene.


Step 28

Render the scene again. This render looks similar to the one we created with the sky object, but here we have more expressed light reflections and shadows. Also overall the scene doesn't look as blown out.


Step 29

Let's try another primitive. Create a tube object, scale it up and place it above the ring. Apply the light material to it and turn off the plane object.


Step 30

Render the scene. We've got good light reflections (again) and the background doesn't look as flat as it did with the plane.


Step 31

Moving on to more complex objects. Create a large spline in the form of rough arc.


Step 32

Create a big line spline.


Step 33

Create a Sweep NURBS object (Objects > NURBS > Sweep NURBS) and add both splines in there. Now apply the light material to the Sweep NURBS object.


Step 34

Turn off the tube object and render the scene again. The render looks similar to the previous ones, but now has different details. Though the background has became flat again.


Step 35

Now let's try to light the scene from more than one spot. Create two disk objects, scale them up and place them on each side. Apply the light material and turn off the Sweep NURBS object.


Step 36

Render the scene. Now we have the same nice reflections and the background isn't flat. Also this render has more complex shadows than the others, except for the scene using the tube light (though it's hard to say that tube is one spot light).


Step 37

Move the left disk in front of the main object (our precious mobius ring.)


Step 38

When we render the scene, we'll see that our ramp background is flat yet again (only the left side is looking better), but we've now got very cool looking highlights on the front of the ring.


Step 39

Sometimes it seems that by adding more light emitters we can improve the final image, but that's not quite right. Turn on the Sweep NURBS light, and decrease the brightness of the luminance in the light material to 120%.


Step 40

Render the scene. Though the reflections look quite good, overall the scene is slightly dull. Turn off the Sweep NURBS and change the brightness of the light material back.


Step 41

Lighting is very important for setting the mood of the final image. It's all about the right colors in the right places. Duplicate the light material two times. Make one color a Luminance orange (almost red: 255 84 51) and use a blue color (57 75 255) for the another. Apply the newly created materials to the disks.


Step 42

Render the image again. Now we have a bright front highlight (like in the render using the two white disks) and a very nice "atmosphere" in the scene, very colorful. Also the background isn't so dull, because it now has a nice gradient color.


Step 43

Now it's time to improve the quality of the final image. Open the render settings. In the Global Illumination settings, change Stochastic samples and Record Density to at least medium. The Stochastic Samples (Accuracy) option defines a certain amount of samples for each shading point (details, complex shadows, etc.). Record Density records and optimizes stochastic samples (values under this option are already very optimized for most cases, and shouldn't really be changed). These changes will improve the quality of our GI, but also increase the render time.


Step 44

Render the scene one final time. This image has more expressed shadows and details, we can also see the caustics more clearly. Also the highlights and shadows are much smoother than before. GI can produce very interesting, good looking results. So keep on experimenting!


Advertisement