View Layer Properties

参考

面板

Properties ‣ View Layer ‣ Freestyle

There is only one view map per view layer. It controls the edge detection parameters. Freestyle can be enabled/disabled per View Layer by toggling the checkbox in the panel header.

../../_images/render_freestyle_view-layer_freestyle-panel.png

View Layer: Freestyle panel.

控制模式

用于检测实际上已渲染的边缘,并且将从头到尾地执行控制:

  • 参数编辑器模式

    Lines are rendered via the parameter editor, easy but limited.

    Python 脚本编写模式

    Lines are rendered via Python scripting, powerful but complex.

View Map Cache

该选项用于重用先前计算的视图映射,以供后续渲染。当输入三维场景的网格几何结构被改变时,缓存将自动更新。

此功能提供了一个主要的性能提升,就是在Freestyle的动画渲染时,当相机空间网格的几何结构是静态的,如同重复,则依然以直线化选项进行渲染。

Although the ‘’View map cache’’ checkbox is a view layer option, the cache memory is shared by all view layers and scenes. This means that if Freestyle is used for two or more view layers (possibly in different scenes through the Compositor), then the cached view map for one view layer is replaced by a new view map for another view layer and hence no performance gain is expected.

As Render Pass

Freestyle lines will not immediately be visible on top of the render image. Instead, Freestyle lines are rendered as a Render Pass which can be composited with the rendered image with an Alpha Over node.

面平滑度

Takes Smooth Shading into account for edges calculation.

角阈值

如果两个相邻的面形成小于所定义的*角阈值*的角,则在使用线集中的边缘类型选择时将呈现它们之间的边缘。该值也影响*轮廓*边缘类型选择。

背面剔除

Ignore the edges that are out of view. (Saves some processing time and memory, but may reduce the quality of the result in some cases.)

高级选项

  • Sphere Radius

    Affects the calculation of curvatures for Ridge, Valley and Suggestive Contour edge type selection in a line set. The curvature at each vertex is computed by averaging the shape of the surface within the specified radius. Increasing the value reduces noise and detail.

    极小Kr导数

    Controls the threshold on the minimum rate of change of curvature used to filter the output of the Suggestive Contour edge type selection. Increasing the value reduces the amount of rendered lines, starting from smoother areas of the object (further information in this pdf).