Anti-aliasing not working properly with old grease pencil files (2.80 to 2.82) on Blender 2.83 #74938

Closed
opened 2020-03-19 21:05:11 +01:00 by (Deleted) · 20 comments
(Deleted) commented 2020-03-19 21:05:11 +01:00 (Migrated from localhost:3001)

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00

Blender Version
Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-19 13:43, hash: 42012493a8

Short description of error
In Blender 2.83, when rendering a project containing a grease pencil drawing initially made with blender 2.82, the anti-aliasing seems to work randomly.

Maybe related: if you add a grease pencil monkey, remove all light in the scene and render, the anti-aliasing seems to be deactivated and behave like in the picture below.

Exact steps for others to reproduce the error
Open attached file then render.

{F8416374 size=full}
bug_clean.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00 **Blender Version** Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-19 13:43, hash: `42012493a8` **Short description of error** In Blender 2.83, when rendering a project containing a grease pencil drawing initially made with blender 2.82, the anti-aliasing seems to work randomly. Maybe related: if you add a grease pencil monkey, remove all light in the scene and render, the anti-aliasing seems to be deactivated and behave like in the picture below. **Exact steps for others to reproduce the error** Open attached file then render. {[F8416374](https://archive.blender.org/developer/F8416374/bug_report_AA.png) size=full} [bug_clean.blend](https://archive.blender.org/developer/F8416373/bug_clean.blend)
(Deleted) commented 2020-03-19 21:05:11 +01:00 (Migrated from localhost:3001)
Author

Added subscriber: @(Deleted)

Added subscriber: @(Deleted)
Author

#74950 was marked as duplicate of this issue

#74950 was marked as duplicate of this issue
Member

Added subscriber: @EitanSomething

Added subscriber: @EitanSomething
Eitan Traurig self-assigned this 2020-03-20 05:18:30 +01:00
Member

I am unable to reproduce. Can you update your drivers and see if it makes a difference. https://www.nvidia.com/Download/index.aspx

I am unable to reproduce. Can you update your drivers and see if it makes a difference. https://www.nvidia.com/Download/index.aspx
Eitan Traurig removed their assignment 2020-03-20 05:19:37 +01:00
Member

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

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

Added subscriber: @samvila

Added subscriber: @samvila
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

GTX strikes again.

GTX strikes again.
(Deleted) commented 2020-03-20 12:31:11 +01:00 (Migrated from localhost:3001)
Author

Rendered with updated drivers (Nvidia v. 442.74). AA is still inconsistent.

Rendered with updated drivers (Nvidia v. 442.74). AA is still inconsistent.
Member

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

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

Added subscribers: @fclem, @antoniov

Added subscribers: @fclem, @antoniov

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

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

I can confirm on Windows RTX2080TI (last drivers). Also I have seen that some areas have antialiasing and others no.

image.png

@fclem Any idea here?

I can confirm on Windows RTX2080TI (last drivers). Also I have seen that some areas have antialiasing and others no. ![image.png](https://archive.blender.org/developer/F8417966/image.png) @fclem Any idea here?

I can reproduce on AMD.

This is unfortunately a limitation of the new Antialiasing of GPencil. We use scene refered colors (before exposure and color management) to perform the edge detection and there a threshold for that.

We could have a parameter to adjust the threshold per scene. But increasing it will lead to blurrier textures when they are used.

I can reproduce on AMD. This is unfortunately a limitation of the new Antialiasing of GPencil. We use scene refered colors (before exposure and color management) to perform the edge detection and there a threshold for that. We could have a parameter to adjust the threshold per scene. But increasing it will lead to blurrier textures when they are used.

@fclem Could consider this as a Know Issue?

@fclem Could consider this as a Know Issue?

@fclem What to do with this report?

@fclem What to do with this report?

This is important. I think we should add a slider to increase the threshold.

This is important. I think we should add a slider to increase the threshold.
Antonio Vazquez self-assigned this 2020-05-12 17:18:55 +02:00

Fixed with commit f24e9bb038

Fixed with commit f24e9bb03809

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'

Example output:

image.png

New parameter:

image.png

Example output: ![image.png](https://archive.blender.org/developer/F8531045/image.png) New parameter: ![image.png](https://archive.blender.org/developer/F8531048/image.png)
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#74938
No description provided.