4.1

Working with Mean Bevel Weight using the Blender Python API

To interact with the Bevel modifier, which creates a bevel on specified edges, each of the required edges must be given a specific numeric weight parameter ranging from 0.0 to 1.0. In manual mode, the weight for the bevel is set in the N-panel on the Item tab in Edges Data – Mean Bevel Weight field. This weight can also be read and set via the Blender Python API.

Working with sharp edges using Blender Python API

In Blender, we can mark the edges of the mesh as sharp so that they remain sharp and do not become smooth even when we enabling smooth shading. This can be done manually by selecting the desired edges and pressing the Edge – Mark Sharp items in the main menu. Edges can also be marked as sharp using the Blender Python API.

Working with mesh edges marked for rendering using the Freestyle render engine

To create line-based renderings, such as blueprints or 3D to 2D stylizations, an additional “Freestyle” render engine is usually used with the main render engine. Edges that should be clearly outlined in the final render must be marked as “freestyle” so that the Freestyle render engine can process them.

Simple dynamic LOD in Blender

One of the popular methods for speeding up rendering 3D scenes is to use LOD – Level Of Details. When using LOD, objects close to the camera have the highest detail, midgrounds have medium detail, and backgrounds objects are very rough and undetailed because they are still almost invisible. Such a scene is rendered much faster than a scene in which all objects have maximum detail.