Corona Slicer Material - C4D

In addition to the below content, see also: Corona Slicer Material at Chaos Docs

 

 

 

With the Corona Slicer Material, you can use any object in your scene to cut away parts of another object where they intersect. This is a render-time effect so it will not change the actual geometry.

 

00_Slicer_Turbine_Example_A_00.png

You can slice through all of your scene objects, or only through some of them.

 

00_Slicer_Turbine_Example_A_00_Viewport.png

This is how the original objects look in the viewport.

 

00_Slicer_Turbine_Example_A_01_Viewport.png

In this case, we are placing half of a cylinder with a Corona Slicer Material applied to it to cut away every object that is intersecting with it, allowing us to see the inner parts of the original model.

 

00_Slicer_Turbine_Example_A_01.png

This is the resulting image after cutting through all the original objects using the Corona Slicer Material applied to the half of a cylinder. 

 

 

Where to find it?


You can create a Corona Slicer Material by any of the following methods:

 

A. Open the Corona menu located in the Material Editor and choose the Slicer Material:

slicer.jpg

 

B. Open the Node Material Editor, then Right-click  > New material > Slicer Material

slicer2.jpg

 

 

 

Corona Slicer Material Parameters


 

03_CoronaSlicer_Params_UI.png

 

Option Description
Caps  
Enable This enables or disables generating caps for the sliced geometry. 
Use cap material This enables or disables the cap material specified in the "Material" slot. If disabled, the original object's material will be used for the caps. 
Material In this slot, you can define the material for the capped surface. It can be enabled or disabled using the "Use cap material" checkbox. 
Include/Exclude  
Include/exclude list Use this list to include or exclude scene objects that will be affected by the slicing geometry. If the mode is set to Exclude and the list is empty, the Slicer material will slice any object intersecting with it. 
Include Children If the slicing geometry is a group (using a null object as the parent) or an object that contains nested elements, enabling this option will include them all if you assign the Corona Slicer Material to the group (null object) or parent geometry.

 

 

 

Using the Corona Slicer Material


After applying a Corona Slicer Material to an object (we can refer to it as the "slicer geometry"), you can place it so that it intersects with other objects in your scene. The intersecting parts will be sliced off. 

 

Steps:

1. Create any geometry and make sure it is intersecting with one or more objects in your scene; we will call this the "slicer geometry"

2. Create a Corona Slicer Material and assign it to the slicer geometry

3. Now, at render time, the parts of the objects that are intersecting with the slicer geometry will be sliced off and only the remaining parts will be rendered. 

 

 

Corona Slicer Material examples:


 

Example A

Here we will be using the Corona Slicer Material to slice off a part of a teapot.

 

General Scene description:

The scene contains a simple teapot and a stretched cube, and they were placed intersecting with each other. The Corona Slicer Material is assigned to the stretched cube: 

 

image-004.png

 

Example A - Expected result

In this case, the teapot will be sliced and the resulting geometry will remain OPEN until you turn on the "Enable" checkbox for the "Caps" section in the Corona Slicer Material:

 

Example A - Render:

image-005.png

 

Example A - Material Setup:

image-006.png

 

 

Example B - Expected result

In this case, the teapot is sliced, and the color of the "slicer geometry" is used for the caps: 

 

Example B - Render: 

image-007.png

 

Example B - Material Setup: 

image-008.png

 

Note: For this example, please consider that you should turn on the "Display color" option and define a color for the slicing geometry, otherwise, the default gray color will be applied.

04_CoronaSlicer_DisplayColor_UI.png

 

 

Example C - Expected result

In this case, the teapot object is sliced, and the surface is using the material defined in the Corona Slicer "Material" section: 

 

Example C - Render: 

image-009.png

 

Example C - Material Setup: 

image-010.png

 

 

Example D - Expected result

In this case, by disabling the "Use cap material" checkbox, the teapot will be sliced, and the material of the teapot will be used for the capped surface: 

 

Example D - Render: 

img-34.jpg

 

Example D - Material Setup:

image-012.png

 

 

Example E - Expected result

So far you may have noticed that as the Corona Slicer material visually cuts away part of the objects, the overall lighting is now visible for the inner parts of the objects, but there might be some special cases where you want to keep the shadows like for example in architectural visualization.

image-031.png

To achieve this result, let's do the following:

  • Apply a Corona Ray Switcher Material to the Slicing geometry
  • Create a Corona Slicer Material and connect it to the "Directly visible" input section of the Corona Ray Switcher Material 
  • Enable the "Caps" option for the Slicer material, and disable the "Cap material" option.

Now, the objects will be sliced off, the material of the original objects will be assigned to the capped surface, and the interior lighting and shadows will remain as if the objects weren't sliced.

 

Example E - Scene Setup: 

image-030.png

Example E - Render: 

image-032.png

 

Example E - Material Setup: 

image-033.png

 

 

Example F - Expected result

In this example, the slicing geometry is using a Corona Slicer Material but this time the edges of the caps are rounded because of using the Corona Round Edges shader for both the Base material and the Caps material.

07_CoronaSlicer_RoundEdges_Example.png

 

Example F - Scene Setup: 

08_CoronaSlicer_RoundEdges_Example_Viewport.png

 

Example F - Material Setup: 

09_CoronaSlicer_RoundEdges_Example_MtlSetup.png

 

 

Example G - Expected result

In this example, we want to show you that the Corona Slicer material can be also used to cutting out a Corona Proxy, objects used in a Chaos Scatter, and objects used by a Mograph's Cloner.

10_CoronaSlicer_ProxiesScatterMograph_Example.png

 

Example G - Scene Setup: 

11_CoronaSlicer_ProxiesScatterMograph_Example_Viewport.png

 

 

Additional Examples


 

Example H - Scene setup

image-016.png

 

Example H - Render: 

image-017.png

 

Example H - Material Setup: 

image-018.png

 

 

 

Troubleshooting


1. Using Corona Light Material in the slicer material may lead to black appearance on caps

Solution: use a material with self-illumination enabled instead. 
See: Should I use Corona Light material or Self Illumination to illuminate my scene?

Example:

06_CoronaSlicer_Self-illumination_Example.png

 

Material Setup:

06_CoronaSlicer_Self-illumination_Viewport.png 06_CoronaSlicer_Self-illumination_UI.png
The viewport shows the geometry. The material setup.

 

2. The displacement in the material included in the slicer material will be ignored. 

Solution: do not use displacement in the cap material as it is currently unsupported. Use bump instead, or nothing at all.

 

 

See also:

 

 

Was this article helpful?
0 out of 0 found this helpful