GPv3: Layer Adjustment Conversion #118149

Merged
Falk David merged 10 commits from filedescriptor/blender:gpv3-layer-adjustments into main 2024-02-16 17:17:30 +01:00
Member

This converts the "Layer Adjustments" from GPv2 into modifier setups in GPv3.

Before After
image image

This handles:

  • Layer tint
  • Layer thickness offset
  • Thickness factor (for the entire object)

Because the Thickness modifier has a factor instead of an offset, the thickness adjustment is converted to this geometry nodes modifier setup for each layer:
image
image

This converts the "Layer Adjustments" from GPv2 into modifier setups in GPv3. | Before | After | |------------|----------| | ![image](/attachments/fc3d21d0-daee-4b9d-90cb-53e171f22d41) | ![image](/attachments/a31a5f06-6d62-42b1-b1e8-2bed27d473bb) | This handles: * Layer tint * Layer thickness offset * Thickness factor (for the entire object) Because the Thickness modifier has a factor instead of an offset, the thickness adjustment is converted to this geometry nodes modifier setup for each layer: ![image](/attachments/a7c06222-5f0c-4913-a26e-7dfee238fe61) ![image](/attachments/d9aae99d-e325-4fd7-9b8e-bff8fe1ad5bb)
Falk David added 3 commits 2024-02-12 18:46:45 +01:00
Falk David changed title from GPv3: Layer Adjsu to GPv3: Layer Adjustment Conversion 2024-02-12 18:46:59 +01:00
Falk David changed title from GPv3: Layer Adjustment Conversion to WIP: GPv3: Layer Adjustment Conversion 2024-02-12 18:47:36 +01:00
Falk David added this to the Grease Pencil project 2024-02-12 18:52:59 +01:00
Falk David added 1 commit 2024-02-12 19:01:33 +01:00
Falk David requested review from Hans Goudey 2024-02-13 11:10:00 +01:00
Author
Member

@HooglyBoogly I'm wondering if it's worth it to create a geonodes setup for the tint modifier or if it's fine to use the exisitng tint modifier instead. Since we're going for the approach where we create one modifier per layer, it doesn't seem necessary to create a node setup for it. But maybe you think it is?

@HooglyBoogly I'm wondering if it's worth it to create a geonodes setup for the tint modifier or if it's fine to use the exisitng tint modifier instead. Since we're going for the approach where we create one modifier per layer, it doesn't seem necessary to create a node setup for it. But maybe you think it is?
Falk David added 2 commits 2024-02-13 12:37:53 +01:00
Member

it doesn't seem necessary to create a node setup for it. But maybe you think it is?

It's not really necessary either way, we just have to choose what gives better UX and aligns better with development goals. If the existing tint modifier works, that seems fine. If we'd have to change it/add features for this conversion, a geometry nodes setup may be better.

>it doesn't seem necessary to create a node setup for it. But maybe you think it is? It's not really necessary either way, we just have to choose what gives better UX and aligns better with development goals. If the existing tint modifier works, that seems fine. If we'd have to change it/add features for this conversion, a geometry nodes setup may be better.
Hans Goudey reviewed 2024-02-13 18:55:50 +01:00
@ -345,0 +468,4 @@
const bGPdata &src_object_data,
Object &dst_object)
{
bNodeTree *offset_radius_node_tree = nullptr;
Member

It will be important not to add one node tree per object in the future. I'm not sure if the conversion operator will remain once it's done by versioning code when loading files. If not, it may be fine to wait until then.

It will be important not to add one node tree per object in the future. I'm not sure if the conversion operator will remain once it's done by versioning code when loading files. If not, it may be fine to wait until then.
Falk David added 3 commits 2024-02-16 16:37:56 +01:00
Falk David added 1 commit 2024-02-16 16:46:59 +01:00
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
58056b7243
Merge branch 'main' into gpv3-layer-adjustments
Falk David changed title from WIP: GPv3: Layer Adjustment Conversion to GPv3: Layer Adjustment Conversion 2024-02-16 16:47:43 +01:00
Author
Member

@blender-bot build

@blender-bot build
Hans Goudey approved these changes 2024-02-16 16:52:29 +01:00
Falk David merged commit 8bca19ed12 into main 2024-02-16 17:17:30 +01:00
Falk David deleted branch gpv3-layer-adjustments 2024-02-16 17:17:32 +01:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#118149
No description provided.