Layer Manager and Layer Concept

图层管理器和图层概念

The layer concept helps you to easily manage complex scenes, such as imported CAD files which often contain thousands of polygon objects. 层的概念帮助您轻松地管理复杂的场景,如导入的 CAD 文件往往包含成千上万的多边形对象

So what are layers? Layers are nothing other than groups of scene items that can be controlled together.

那么什么是图层呢? 图层只不过是一组可以一起控制的场景物品。

For example, with a single mouse click you can make all objects in a layer:

例如,只需单击鼠标,你就可以创建一个图层中的所有对象:

You can quickly and easily tell layers apart by assigning a custom color to each layer. The layer colors also appear in the Object Manager, timeline and Material Manager to indicate which scene items are on which layers.

你可以通过为每个图层分配一个自定义颜色来快速简单地区分图层。图层颜色也出现在对象管理器,时间线和材质管理器,以指出哪些场景项目是在哪些层。

Layers in Cinema 4D are global; in other words, they belong to an object, tag, shader, and so on and are not tied down to a particular manager. This allows you, for example, to hide an object in both the Cinema 4D 中的图层是全局的; 换句话说,它们属于一个对象、标签、着色器等等,而不是绑定到一个特定的管理器。例如,这允许您将对象隐藏在Object Manager 对象管理器 and the timeline at the same time. For this reason layers are also saved in the scene file. 和时间线同时出现。出于这个原因,图层也保存在场景文件中Child objects do not inherit their parent’s layer properties. For example, if you hide a parent object's layer, its child objects are not affected (provided the objects are not on the same layer as the parent). 子对象不继承其父对象的层属性。例如,如果您隐藏父对象的层,那么它的子对象不会受到影响(只要对象不在父对象所在的层上)

You can assign layers to items via Drag & drop. The most popular way is to open the Layer Manager (main menu: Window | Layer Manager), create layers (double-click in the Layer Manager), and Drag & drop the layer onto the item or vice versa.

你可以通过拖放将图层分配给项目。最流行的方法是打开图层管理器(主菜单: 窗口 | 图层管理器) ,创建图层(双击图层管理器) ,并拖放图层到项目或反之亦然。

You can also drag layers directly onto objects in the viewport.

你也可以将图层直接拖拽到视区中的对象上。

If you hold down the Ctrl/Cmd key while dragging and dropping a layer onto an item, the layer is assigned to the item’s children as well .

如果你按住 Ctrl/Cmd 键拖放一个图层到一个条目上,这个图层也会被分配给条目的子图层。

You can also assign an item's layer color to child items or surrounding items by painting with the mouse button held down.

您还可以通过按住鼠标按钮绘制来为子项目或周围项目分配项目的层颜色。

There are various other ways in which you can assign layers. These mostly make sense when you want to assign many items to a layer:

还有其他各种方式可以用来分配图层。当你想给一个图层分配多个项目时,这些方法通常是有意义的:

You can make layers children of other layers via Drag & drop in the Layer Manager. This allows you to arrange layers into tree structures.

你可以通过拖放图层管理器来创建其他图层的子图层。这允许您将层排列到树结构中。

Ctrl-clicking on a property (switch) for a parent layer sets the property for the parent and its child layers. This means that with a single mouse click you can set a switch to the same status for the entire branch. Following this you can then go about adjusting the switch status individually for child layers as desired.

单击父图层的属性(switch)将为父图层及其子图层设置属性。这意味着只需单击鼠标,就可以将整个分支的开关设置为相同的状态。然后你可以根据需要为子图层单独调整开关状态。

Now that you know how to create and assign layers, what can you do with them? This is the topic of the next section.

现在您知道了如何创建和分配图层,您可以用它们做什么呢?这是下一节的主题。

Layer Manager

图层管理器

The Layer Manager with all switches present. 有所有开关的图层管理器

The Layer Manager allows you to:

图层管理器允许你:

To select a layer, click on its name. If you then Shift-click on another layer’s name, this will select both layers and the ones between them. You can also invert the selection status using the Ctrl/Cmd key.

要选择一个图层,点击它的名字。如果你然后 shift 点击另一个图层的名字,这将选择两个图层和它们之间的层。您还可以使用 Ctrl/Cmd 键反转选择状态。

Layer settings of selected (or multiple) layers can also be displayed and modified in the Attribute Manager (which also has a special Layer mode). In conjunction with the Take function, Takes can be assigned to Cinema 4D elements on different layers.

层设置选择(或多)层也可以显示和修改的属性管理器(也有一个特殊的层模式)。结合 Take 功能,Takes 可以被分配到不同层次的 Cinema 4D 元素中。

Layers Example

图层例子

In this example, all items that are not geometry (such as lights, cameras and backgrounds) have been assigned their own layers, which in turn have been placed inside a Scene layer. Likewise, the geometry has been split up into various layers, which in turn are inside a Geometry layer. Here, all geometry is hidden in the view except the walls. You can hide or show various parts of the scene in seconds using a just few mouse clicks.

在这个例子中,所有不是几何图形的项目(如灯光、相机和背景)都被分配了它们自己的图层,而这些图层又被放置在场景图层中。同样地,几何图形被分割成不同的图层,这些图层又在一个几何图层中。在这里,除了墙壁,所有的几何图形都隐藏在视图中。你只需点击几下鼠标,就可以在几秒钟内隐藏或显示场景的各个部分。

The benefit of using layers becomes even greater when you are working with very complex scenes, such as an architecture scene with the building imported from CAD and containing 20,000 different polygon objects together with 100 lights and 20 cameras added in Cinema 4D. Layers offer an elegant solution to working quickly with these complex scenes. Suppose you want to texture the walls. Simply hide everything else in the Object Manager so that you can focus on the walls without other objects getting in the way.

当你处理非常复杂的场景时,使用图层的好处会变得更大,比如从 CAD 导入建筑物的建筑场景,包含20,000个不同的多边形对象,100个灯和20个摄像头添加到C4D院。图层为快速处理这些复杂的场景提供了一个优雅的解决方案。假设你想在墙上贴上纹理。只需在对象管理器中隐藏其他所有内容,这样您就可以专注于墙壁而不会受到其他对象的干扰。

Keep in mind that as well as using layers you can hide items using various View menu options in the Object Manager.

请记住,除了使用图层,您还可以使用对象管理器中的各种视图菜单选项隐藏项目。

Layer Menu

图层菜单

Edit

编辑

View

查看

Layer

图层