Line Art Thickness doesn't consider Render Resolution Percentage #100595

Open
opened 2022-08-23 22:54:14 +02:00 by Nick Alberelli · 10 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 30.0.101.1122

Blender Version
Broken: version: 3.2.2, branch: master, commit date: 2022-08-02 18:15, hash: bcfdb14560
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-08-22 10:16, hash: ba74704c9a
Broken

Short description of error
When using Line Art Modifier, on a Grease Pencil Object in Screen Space Mode, Line Thickness doesn't scale with resolution as expected.

Exact steps for others to reproduce the error

  1. Open new General Startup File
  2. Create New Object>Grease Pencil>Scene Line Art
  3. Under Object Data Properties>Strokes>Stroke Thickness and set to World Space
  4. Set Render Resolution % to a factor. line thickness will be different than expected

image.png

image.png

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: Intel(R) UHD Graphics 620 Intel 4.5.0 - Build 30.0.101.1122 **Blender Version** Broken: version: 3.2.2, branch: master, commit date: 2022-08-02 18:15, hash: `bcfdb14560` Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-08-22 10:16, hash: `ba74704c9a` Broken **Short description of error** When using Line Art Modifier, on a Grease Pencil Object in Screen Space Mode, Line Thickness doesn't scale with resolution as expected. **Exact steps for others to reproduce the error** 1. Open new General Startup File 2. Create New Object>Grease Pencil>Scene Line Art 3. Under Object Data Properties>Strokes>Stroke Thickness and set to World Space 4. Set Render Resolution % to a factor. line thickness will be different than expected ![image.png](https://archive.blender.org/developer/F13414134/image.png) ![image.png](https://archive.blender.org/developer/F13414136/image.png)
Author

Added subscriber: @TinyNick

Added subscriber: @TinyNick

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

Changed status from 'Needs Triage' to: 'Needs User Info'
  1. Under Object Data Properties>Strokes>Stroke Thickness and set to World Space

Did you mean Screen Space instead of World Space?
If so, I'm not sure it's a bug as in the case of Screen Space the line thickness seems to be measured in pixels.
So a higher resolution image is to be expected with relatively thinner lines.

> 3. Under Object Data Properties>Strokes>Stroke Thickness and set to World Space Did you mean `Screen Space` instead of `World Space`? If so, I'm not sure it's a bug as in the case of Screen Space the line thickness seems to be measured in pixels. So a higher resolution image is to be expected with relatively thinner lines.
Author

I did mean sceeen space, when i go to screen space mode theres the thickness still just reports as a value not a pixel value.

And if I am doing a render at a lower percentage usually as a user im trying to preview what 100% will look like so personally I would expect the thickness to scale relativly too,

But if this is the way it should be I will make my own addon to work around this :)

I did mean sceeen space, when i go to screen space mode theres the thickness still just reports as a value not a pixel value. And if I am doing a render at a lower percentage usually as a user im trying to preview what 100% will look like so personally I would expect the thickness to scale relativly too, But if this is the way it should be I will make my own addon to work around this :)
Member
Added subscribers: @filedescriptor, @ChengduLittleA, @ZedDB, @antoniov, @lichtwerk
Member

We could compensate with something like D15780: Fix #100595: Lineart screenspace thickness ignores Resolution Percentage, not 100% sure though if this desired in all scenarios (would assume so though).

CC @antoniov
CC @ChengduLittleA
CC @filedescriptor
CC @ZedDB

We could compensate with something like [D15780: Fix #100595: Lineart screenspace thickness ignores Resolution Percentage](https://archive.blender.org/developer/D15780), not 100% sure though if this desired in all scenarios (would assume so though). CC @antoniov CC @ChengduLittleA CC @filedescriptor CC @ZedDB

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member

Just dropping a note from D15780:

In D15780#429198, @fclem wrote:
But if that's something we want to fix for all screen space radii, we better put it in the ViewInfos instead and do the multiplication in the shader.

If that is the only way forward, there is probably no point in keeping D15780.
Might check on that solution as well, but for now, will abandon the patch and step down then (until doing it in ViewInfos proves to work on my side).

Just dropping a note from [D15780](https://archive.blender.org/developer/D15780): > In [D15780](https://archive.blender.org/developer/D15780)#429198, @fclem wrote: > But if that's something we want to fix for all screen space radii, we better put it in the `ViewInfos` instead and do the multiplication in the shader. If that is the only way forward, there is probably no point in keeping [D15780](https://archive.blender.org/developer/D15780). Might check on that solution as well, but for now, will abandon the patch and step down then (until doing it in `ViewInfos` proves to work on my side).
Sergey Sharybin added
Module
Grease Pencil
and removed
Module
VFX & Video
labels 2023-02-13 18:06:15 +01:00
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
3 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#100595
No description provided.