Grease pencil strokes do not render correctly in perspective situations #59441

Closed
opened 2018-12-16 04:52:07 +01:00 by Quargzon · 7 comments

System Information
Operating system: Windows 10
Graphics card: Nvidia GTX 1070

Blender Version
Broken: 2.80 Beta (2018-12-15)

Short description of error
Grease pencil strokes do not render as expected in the 3D viewport or final render when viewed from angles with exaggerated perspective.

GreasePencilPerspective.png
The stroke in the screenshot is a simple straight line, but the issue affects all strokes.

Exact steps for others to reproduce the error

  1. Draw a grease pencil stroke (a thicker stroke will make the issue more apparent)
  2. View in 3D with perspective
**System Information** Operating system: Windows 10 Graphics card: Nvidia GTX 1070 **Blender Version** Broken: 2.80 Beta (2018-12-15) **Short description of error** Grease pencil strokes do not render as expected in the 3D viewport or final render when viewed from angles with exaggerated perspective. ![GreasePencilPerspective.png](https://archive.blender.org/developer/F5967797/GreasePencilPerspective.png) The stroke in the screenshot is a simple straight line, but the issue affects all strokes. **Exact steps for others to reproduce the error** 1. Draw a grease pencil stroke (a thicker stroke will make the issue more apparent) 2. View in 3D with perspective
Author

Added subscriber: @Quargzon

Added subscriber: @Quargzon
Quargzon changed title from Grease pencil strokes do not render correctly in extreme-perspective situations to Grease pencil strokes do not render correctly in perspective situations 2018-12-16 08:50:36 +01:00

Added subscribers: @pepe-school-land, @antoniov

Added subscribers: @pepe-school-land, @antoniov

I think we cannot consider this is a bug. Grease Pencil draws always aligned to view the strokes, so if you rotate the view, the strokes are rotated to face always your point of view (Billboarding). Try with a Suzanne 2D and you will see the effect, the lines are facing always the pov and you get weird effects.

Remember that GP is 2D drawing inside a 3D world so when you move the viewport or camera to extreme angles or zoom, the view can be distorted, this is the problem you are getting now.

If you want to rotate the camera, you could bend the strokes as it's done in this example (previous blender versions) done by @pepe-school-land: https://vimeo.com/168843957

I think we cannot consider this is a bug. Grease Pencil draws always aligned to view the strokes, so if you rotate the view, the strokes are rotated to face always your point of view (Billboarding). Try with a Suzanne 2D and you will see the effect, the lines are facing always the pov and you get weird effects. Remember that GP is 2D drawing inside a 3D world so when you move the viewport or camera to extreme angles or zoom, the view can be distorted, this is the problem you are getting now. If you want to rotate the camera, you could bend the strokes as it's done in this example (previous blender versions) done by @pepe-school-land: https://vimeo.com/168843957
Author

In #59441#581450, @antoniov wrote:
I think we cannot consider this is a bug. Grease Pencil draws always aligned to view the strokes, so if you rotate the view, the strokes are rotated to face always your point of view (Billboarding). Try with a Suzanne 2D and you will see the effect, the lines are facing always the pov and you get weird effects.

Remember that GP is 2D drawing inside a 3D world so when you move the viewport or camera to extreme angles or zoom, the view can be distorted, this is the problem you are getting now.

If you want to rotate the camera, you could bend the strokes as it's done in this example (previous blender versions) done by @pepe-school-land: https://vimeo.com/168843957

I understand why it's happening, but I still believe it should be considered a bug because it isn't only present in 3D perspective -- it even happens in an orthographic view if strokes change drastically in thickness. The problem lies in the fact that the caps a treated as exact 180° semicircles no matter what instead of calculating the proper arc.

> In #59441#581450, @antoniov wrote: > I think we cannot consider this is a bug. Grease Pencil draws always aligned to view the strokes, so if you rotate the view, the strokes are rotated to face always your point of view (Billboarding). Try with a Suzanne 2D and you will see the effect, the lines are facing always the pov and you get weird effects. > > Remember that GP is 2D drawing inside a 3D world so when you move the viewport or camera to extreme angles or zoom, the view can be distorted, this is the problem you are getting now. > > If you want to rotate the camera, you could bend the strokes as it's done in this example (previous blender versions) done by @pepe-school-land: https://vimeo.com/168843957 I understand why it's happening, but I still believe it should be considered a bug because it isn't only present in 3D perspective -- it even happens in an orthographic view if strokes change drastically in thickness. The problem lies in the fact that the caps a treated as exact 180° semicircles no matter what instead of calculating the proper arc.

Closed as duplicate of #66293

Closed as duplicate of #66293

Added subscriber: @AdamEarle

Added subscriber: @AdamEarle

To stop this from being filed as a bug.

Remove "always face view". (this could be done with a constraint by the user. This may potentially fix other alpha draw issues) or.

2 checkboxes:

  • 1 checkbox that in the material/stroke (is it the stroke aligning or the material that's aligning) panel option to align to view per stroke. This potentially gives more control back to the user how the user wants to treat the stroke.
  • The other checkbox in the properties window working as a global property to defined if the stroke is "always facing view"
To stop this from being filed as a bug. Remove "always face view". (this could be done with a constraint by the user. This may potentially fix other alpha draw issues) or. 2 checkboxes: - 1 checkbox that in the material/stroke (is it the stroke aligning or the material that's aligning) panel option to align to view per stroke. This potentially gives more control back to the user how the user wants to treat the stroke. - The other checkbox in the properties window working as a global property to defined if the stroke is "always facing view"
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#59441
No description provided.