Introduction – Вступ#

Freestyle is an edge/line-based non-photorealistic (NPR) rendering engine. It relies on mesh data and Z-depth information to draw lines on selected edge types. Various line styles can be added to produce artistic («hand drawn», «painted», etc.) or technical (hard line) looks.

Freestyle can generate a powerful diversity of line styles and results. There are currently, two ways to define the way lines look; the first uses a series of parameter to create a Line Style. This mode allows intuitive editing of features such as dotted lines and easy setup of multiple line types and edge definitions. On top of all of that, with line style modifiers, the sky is the limit!

The second method of generating lines is by using Python Scripting. This method is much more advanced but Blender includes many pre-scripted styles such as Japanese big brush, cartoon, blueprint, and thickness-with-depth.

../../_images/render_freestyle_introduction_example-1.png

ATV buggy by Rylan Wright (RONIN). CC BY. (File:AtvBuggy.zip)#

../../_images/render_freestyle_introduction_example-2.png

By mato.sus304. CC BY-SA. (File:Mato_sus304_cut02.zip)#

../../_images/render_freestyle_introduction_example-3.png

A cartoon scene from OHA Studio © Mechanimotion Entertainment. (blend-file)#

../../_images/render_freestyle_introduction_example-4.png

Blueprint render of Martin M-130 from 1935 by LightBWK. CC0. Warning: heavy file! designed for stress test Blender to the limits and may crash Blender. (File:M-130Blueprint.zip)#

Велика Картина – The Big Picture#

  • Активуйте Freestyle за допомогою стяга «Властивості > Рендер > Freestyle» – Properties ‣ Render ‣ Freestyle.

  • Устави Freestyle розміщуються у властивостях шару огляду – View Layer.

  • One view layer can only have one view map. A view map holds the edge detection settings (Crease Angle, Culling toggle, Face Smoothness toggle, Material Boundaries toggle, Sphere Radius, and Kr Derivative Epsilon advanced options).

  • Розкладку огляду може містити одночасно кілька Наборів Ліній.

  • Набір ліній – line set керує тим, які типи ліній та вибрання будуть рендеритися на основі ліній з вашої сцени.

  • Кожен набір ліній використовує один стиль ліній (який може спільно використовуватися між одночасно кількома Наборами Ліній).

  • Стиль ліній – line style розповідає FreeStyle, як рендерити пов’язані Набори Ліній з точки зору кольору, альфа, товщини та інших аспектів.

../../_images/render_freestyle_introduction_view-map-processes.png

Структурна схема розкладки огляду та процесів для FreeStyle.#

Відомі Обмеження – Known Limitations#

  • Висока вимогливість до пам’яті: Усі об’єкти сіті на шарі огляду завантажуються одночасно.

  • Підтримуються лише ті об’єкти сіті, що мають грані.

  • Жодні ребра на перетині граней ще не виявляються.

  • Результати рендерингу з Freestyle не мають жодної інформації про глибину Z.

  • Панорамні камери не підтримуються.