GreasePencil - Gradientfill doesn't get rendered #74449

Closed
opened 2020-03-04 23:05:12 +01:00 by Johannes Mayrhofer · 15 comments

System Information
Operating system: Manjaro Linux x86_64, Kernel 5.4.23-1-MANJARO
Graphics card: Intel Haswell-ULT (MESA

Blender Version
Broken: 2.83 (sub6), branch: greasepencil-object, commit-date: 2020-03-04 21:12, hash: d503af9a6173, type: Release, build-date: 2020-03-04, 21:39:42
Worked: unknown

Short description of error
When a material of a grease pencil stroke object has "Gradient" selected as Fill, it only shows the fill with the first color in Render Result. Render Preview works fine.

Exact steps for others to reproduce the error
#74449.blend

  • Start a "2D Animation" default file

  • draw any shape with "Solid Fill" material

  • change the fill option of the material from Solid to Gradient

  • (optional) for the second color choose something easier to destinguish like RGBA 1,0,0,1

  • set viewport to "Renderd" -> the gradient still should look fine

  • Render (eg. with F12) -> the shape is filled only with the primary color of the gradient (same as solid fill)

  • settings like the gradient type (linear, radial) modifiers, visual effects or lights etc. seem to have no effect

Gradient_Fill.png

**System Information** Operating system: Manjaro Linux x86_64, Kernel 5.4.23-1-MANJARO Graphics card: Intel Haswell-ULT (MESA **Blender Version** Broken: 2.83 (sub6), branch: greasepencil-object, commit-date: 2020-03-04 21:12, hash: d503af9a6173, type: Release, build-date: 2020-03-04, 21:39:42 Worked: unknown **Short description of error** When a material of a grease pencil stroke object has "Gradient" selected as Fill, it only shows the fill with the first color in Render Result. Render Preview works fine. **Exact steps for others to reproduce the error** [#74449.blend](https://archive.blender.org/developer/F8388960/T74449.blend) - Start a "2D Animation" default file - draw any shape with "Solid Fill" material - change the fill option of the material from Solid to Gradient - (optional) for the second color choose something easier to destinguish like RGBA 1,0,0,1 - set viewport to "Renderd" -> the gradient still should look fine - Render (eg. with F12) -> the shape is filled only with the primary color of the gradient (same as solid fill) - settings like the gradient type (linear, radial) modifiers, visual effects or lights etc. seem to have no effect ![Gradient_Fill.png](https://archive.blender.org/developer/F8388610/Gradient_Fill.png)

Added subscriber: @JohannesMayrhofer

Added subscriber: @JohannesMayrhofer

Added subscriber: @iss

Added subscriber: @iss

Can not reproduce here
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61

D6293 may fix this issue, but since I can not reproduce I can not check

Can not reproduce here Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61 [D6293](https://archive.blender.org/developer/D6293) may fix this issue, but since I can not reproduce I can not check

Here is the file i created for the screenshot:
T74449_2.blend

Richards file segfaults on my machine, here is the crash log (would this be a seperate task then? Also this is from a different build (hash: affe9e0d925b) then yesterday, but my file still reproduces the issue): #74449.crash.txt

Also here is the system_info to the original report: system-info.txt

Here is the file i created for the screenshot: [T74449_2.blend](https://archive.blender.org/developer/F8389080/T74449_2.blend) Richards file segfaults on my machine, here is the crash log (would this be a seperate task then? Also this is from a different build (hash: affe9e0d925b) then yesterday, but my file still reproduces the issue): [#74449.crash.txt](https://archive.blender.org/developer/F8389082/T74449.crash.txt) Also here is the system_info to the original report: [system-info.txt](https://archive.blender.org/developer/F8389084/system-info.txt)

Another thing, isn't D6293 on geasepencil-object, or at least merged into greasepencil-object?

Another thing, isn't [D6293](https://archive.blender.org/developer/D6293) on geasepencil-object, or at least merged into greasepencil-object?

Added subscriber: @antoniov

Added subscriber: @antoniov

Added subscriber: @mano-wii

Added subscriber: @mano-wii

@JohannesMayrhofer,
Just to be sure. To reproduce the problem is it enough to open one of these files and press F12?
#74449.blend
T74449_2.blend

Can't redo.
Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13586 Core Profile Context 19.50.01.05 26.20.15001.5006

@JohannesMayrhofer, Just to be sure. To reproduce the problem is it enough to open one of these files and press F12? [#74449.blend](https://archive.blender.org/developer/F8388960/T74449.blend) [T74449_2.blend](https://archive.blender.org/developer/F8389080/T74449_2.blend) Can't redo. **Operating system:** Windows-10-10.0.18941 64 Bits **Graphics card:** Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13586 Core Profile Context 19.50.01.05 26.20.15001.5006

I also can reproduce it on a Surface Pro 4 (see attached system info, can test on the Linux System today evening) with both files @mano-wii suggested.
With the Viewportshading set to Material Preview or Rendered I can see the gradients, rendered looks the same as viewport mode Solid

Could it be related to integrated GPU?

system_info_surface_gradiend_fill.txt

I also can reproduce it on a Surface Pro 4 (see attached system info, can test on the Linux System today evening) with both files @mano-wii suggested. With the Viewportshading set to Material Preview or Rendered I can see the gradients, rendered looks the same as viewport mode Solid Could it be related to integrated GPU? [system_info_surface_gradiend_fill.txt](https://archive.blender.org/developer/F8389450/system_info_surface_gradiend_fill.txt)

So after a rebuild on my manjaro-Linux (hash: bb6dedfc84d8) the file "#74449.blend" no longer causes a segfault, but the issue of this task is still reproducible for me.

So after a rebuild on my manjaro-Linux (hash: bb6dedfc84d8) the file "#74449.blend" no longer causes a segfault, but the issue of this task is still reproducible for me.

Added subscriber: @ronsn

Added subscriber: @ronsn

I can confirm that on Linux (see specs at the bottom of this comment)!

@mano-wii Yes, it is enough to press F12.

#74449.blend (with Viewport Shading set to "Rendered") results in:
Bildschirmfoto vom 2020-03-06 00-21-19.png
and rendered:
Bildschirmfoto vom 2020-03-06 00-23-07.png

T74449_2.blend (with Viewport Shading set to "Rendered") results in:
Bildschirmfoto von 2020-03-06 00-13-30.png

System Information
Operating system: Linux-5.3.0-40-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21

Blender Version
Broken: version: 2.83 (sub 7), branch: greasepencil-object, commit date: 2020-03-05 16:30, hash: 7098b638f2
Worked: (optional)

I can confirm that on Linux (see specs at the bottom of this comment)! @mano-wii Yes, it is enough to press `F12`. **`#74449.blend`** (with Viewport Shading set to "Rendered") results in: ![Bildschirmfoto vom 2020-03-06 00-21-19.png](https://archive.blender.org/developer/F8390483/Bildschirmfoto_vom_2020-03-06_00-21-19.png) and rendered: ![Bildschirmfoto vom 2020-03-06 00-23-07.png](https://archive.blender.org/developer/F8390487/Bildschirmfoto_vom_2020-03-06_00-23-07.png) **`T74449_2.blend`** (with Viewport Shading set to "Rendered") results in: ![Bildschirmfoto von 2020-03-06 00-13-30.png](https://archive.blender.org/developer/F8390479/Bildschirmfoto_von_2020-03-06_00-13-30.png) **System Information** Operating system: Linux-5.3.0-40-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21 **Blender Version** Broken: version: 2.83 (sub 7), branch: greasepencil-object, commit date: 2020-03-05 16:30, hash: `7098b638f2` Worked: (optional)

In my morningly build with hash a4bfe6267943 it is fixed.

Thanks, that was quick, even bevor it was flagged as bug 😀

In my morningly build with hash a4bfe6267943 it is fixed. Thanks, that was quick, even bevor it was flagged as bug 😀

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

Changed status from 'Needs Triage' to: 'Resolved'
Richard Antalik self-assigned this 2020-03-06 08:58:11 +01:00

Ah I see, this report is for greasepencil-object branch, while I tested on master.

Thanks for update, will close this then.

Ah I see, this report is for greasepencil-object branch, while I tested on master. Thanks for update, will close this then.
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#74449
No description provided.