Grease pencil hue and tint modifiers don't work with selected material #93868

Closed
opened 2021-12-08 15:45:22 +01:00 by Aleš Jelovčan · 17 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce MX330/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.42

Blender Version
Broken: version: 3.1.0 Alpha, branch: master (modified), commit date: 2021-11-16 09:16, hash: d4c868da9f
Worked: never

Short description of error
Altering hue or tint on only selected material produces no difference

Exact steps for others to reproduce the error
Check basic setup in attached file
image.png

Test File;
fills.blend

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce MX330/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.42 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master (modified), commit date: 2021-11-16 09:16, hash: `d4c868da9f` Worked: never **Short description of error** Altering hue or tint on only selected material produces no difference **Exact steps for others to reproduce the error** Check basic setup in attached file ![image.png](https://archive.blender.org/developer/F12711346/image.png) Test File; [fills.blend](https://archive.blender.org/developer/F12711356/fills.blend)

Added subscriber: @frogstomp-4

Added subscriber: @frogstomp-4
Aleš Jelovčan changed title from Grease pencil hue and tint modifiers don't work with selected material () to Grease pencil hue and tint modifiers don't work with selected material 2021-12-08 15:50:27 +01:00

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @antoniov

Added subscriber: @antoniov

I cannot reproduce. You need to be sure you have enabled the Vertex Mode. Tint and Hue modifiers use Vertex Colors.

2021-12-30 10-46-05.mp4

I cannot reproduce. You need to be sure you have enabled the Vertex Mode. Tint and Hue modifiers use Vertex Colors. [2021-12-30 10-46-05.mp4](https://archive.blender.org/developer/F12781657/2021-12-30_10-46-05.mp4)

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123

Thanks for response @antoniov, are you on windows?
@PratikPB2123 you confirmed the issue, can you double check?
I tried this on two machines, win 11 and win 10, reproduced every time in 3.0 and 3.1, here is my video:

2021-12-30 11-29-18.mp4

Thanks for response @antoniov, are you on windows? @PratikPB2123 you confirmed the issue, can you double check? I tried this on two machines, win 11 and win 10, reproduced every time in 3.0 and 3.1, here is my video: [2021-12-30 11-29-18.mp4](https://archive.blender.org/developer/F12781700/2021-12-30_11-29-18.mp4)

It's weird I can reproduce sometimes.... need investigate.

It's weird I can reproduce sometimes.... need investigate.

2021-12-30 11-51-48.mp4

@antoniov I narrowed the problem down to issue only appearing when you have instanced copies.

So it works as expeced when you have the geometry assigned only to one object (single user).

This is a problem when you want to do for example a crowd of people and only want to change t-shirt colors on them using tint modifer.

[2021-12-30 11-51-48.mp4](https://archive.blender.org/developer/F12781728/2021-12-30_11-51-48.mp4) @antoniov I narrowed the problem down to issue only appearing when you have instanced copies. So it works as expeced when you have the geometry assigned only to one object (single user). This is a problem when you want to do for example a crowd of people and only want to change t-shirt colors on them using tint modifer.

I was looking the same...it's related to instances...@frogstomp-4 could you test if the problem is the same in other modifiers? (all modifiers use the same function).

I was looking the same...it's related to instances...@frogstomp-4 could you test if the problem is the same in other modifiers? (all modifiers use the same function).
Member

I can also reproduce. Richard confirmed your reported issue, not me :)

Worked: never

This particular case of multiple instances works as expected on 2.83.17

Now we can reconfirm this, no? (With little edit in task description)

I can also reproduce. Richard confirmed your reported issue, not me :) > Worked: never This particular case of multiple instances works as expected on 2.83.17 Now we can reconfirm this, no? (With little edit in task description)

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'

I can see the problem is related to the stored pointers of material.

Ob: tinted->000001B689C36D78(Stroke)  Modif: 000001B689C370D8(Stroke)
Ob: hues->000001B689C37798(Material.001)  Modif: 000001B689C370D8(Stroke)
Ob: hues->000001B689C36D78(Stroke)  Modif: 000001B689C370D8(Stroke)```

The object shared the same pointer, but in the modifier, the stored pointer is different.
I can see the problem is related to the stored pointers of material. ```Ob: tinted->000001B689C37798(Material.001) Modif: 000001B689C370D8(Stroke) Ob: tinted->000001B689C36D78(Stroke) Modif: 000001B689C370D8(Stroke) Ob: hues->000001B689C37798(Material.001) Modif: 000001B689C370D8(Stroke) Ob: hues->000001B689C36D78(Stroke) Modif: 000001B689C370D8(Stroke)``` The object shared the same pointer, but in the modifier, the stored pointer is different.

@PratikPB2123:
So far I can confirm the same issue for:

  • Opacity
  • Tint
  • Hue

I'll update the comment if I discover more
Update: issue seems to only affect those modifier working with vertex colors listed above

@PratikPB2123: So far I can confirm the same issue for: - Opacity - Tint - Hue ____________ I'll update the comment if I discover more Update: issue seems to only affect those modifier working with vertex colors listed above
Antonio Vazquez self-assigned this 2021-12-30 12:23:11 +01:00

This issue was referenced by 6bd924c748

This issue was referenced by 6bd924c748ace7fac87b33f46bb0467f3ea2701a

This issue was referenced by e0d1e66732

This issue was referenced by e0d1e66732156e01797dc2f1b7ce9fb507834903

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
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
5 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#93868
No description provided.