Add info and blend file for "Screen Space" thickness migration #81

Merged
Falk David merged 1 commits from filedescriptor/blender-developer-docs:screen-space-thickness-migration into main 2024-10-10 15:19:08 +02:00
3 changed files with 12 additions and 4 deletions

Binary file not shown.

View File

@ -123,10 +123,7 @@ Some features present in 4.2 have been removed.
This is mostly due to the changes in the architecture and the difficulty in maintainability. This is mostly due to the changes in the architecture and the difficulty in maintainability.
### Screen Space Stroke Thickness ### Screen Space Stroke Thickness
Strokes are now always in "World Space" thickness mode. Strokes are now always in "World Space" thickness mode. While the "Screen Space" option is no longer availible, the same effect can be recreated using a geometry nodes modifier. See the **[migration process](grease_pencil_migration.md/#screen-space-stroke-thickness)** for more information.
Note that it is possible to recreate the "Screen Space" thickness effect using a geometry nodes
modifier.
### Interpolation Tool Selection Order ### Interpolation Tool Selection Order
The selection order (in edit mode), that was used to specify pairs of strokes to interpolate, has The selection order (in edit mode), that was used to specify pairs of strokes to interpolate, has

View File

@ -3,6 +3,14 @@
With Grease Pencil completely rewritten in 4.3, it is expected that some features work differently. With Grease Pencil completely rewritten in 4.3, it is expected that some features work differently.
This page explains the migration process for users as well as add-on developers. This page explains the migration process for users as well as add-on developers.
## Screen Space Stroke Thickness
In Blender 4.3,the `Screen Space` stroke thickness option has been removed from the Grease Pencil object-data properties. In order to get the same effect, a geometry nodes modifier can be used to scale the points procedurally to match a specific thickness in pixels in the render.
A basic setup can be downloaded [here](files/screen-space-thickness-nodegroup.blend).
Go to `File`>`Append` navigate to the file and append the "Screen Space Thickness" node group into your file, then add a Geometry Nodes modifier to the Grease Pencil object and select the "Screen Space Thickness" group from the node group selector. Enter the `Camera Data` information of the camera to be used. Optionally, it's also possible to add drivers to these fields to make sure they match the settings of the scene and camera.
## Python API ## Python API
Add-ons written using the Grease Pencil python API before 4.3 Add-ons written using the Grease Pencil python API before 4.3