Grease pencil material not showing correctly in SVG objects when imported as grease pencil objects #96329

Closed
opened 2022-03-11 11:35:58 +01:00 by Sari · 9 comments
Member

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.65

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: c77597cd0e
Worked: (newest version of Blender that worked as expected)

Short description of error
I exported a SVG-file from Affinity Designer (file: star.svg). In Blender: when using Import -> Import SVG as grease pencil, grease pencil material doesn't show correctly in render or preview mode.

When I imported as Import -> SVG, material shows as expected.

Exact steps for others to reproduce the error

  • Import the attached .svg file as Grease Pencil

star.svg

Test.blend

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.65 **Blender Version** Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `c77597cd0e` Worked: (newest version of Blender that worked as expected) **Short description of error** I exported a SVG-file from Affinity Designer (file: star.svg). In Blender: when using Import -> Import SVG as grease pencil, grease pencil material doesn't show correctly in render or preview mode. When I imported as Import -> SVG, material shows as expected. **Exact steps for others to reproduce the error** - Import the attached .svg file as Grease Pencil ![star.svg](https://archive.blender.org/developer/F12920989/star.svg) [Test.blend](https://archive.blender.org/developer/F12920990/Test.blend)
Author
Member

Added subscriber: @Sari

Added subscriber: @Sari
Sari changed title from Grease pencil material not showing correctly in SVG objects when imported as grease pecil objects to Grease pencil material not showing correctly in SVG objects when imported as grease pencil objects 2022-03-11 11:36:21 +01:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

I don't understand how Grease Pencil materials work.
Overlay in Rendered Mode shows the correct color although the material settings show another:
image.png

I don't understand how Grease Pencil materials work. Overlay in `Rendered` Mode shows the correct color although the material settings show another: ![image.png](https://archive.blender.org/developer/F12921548/image.png)

Added subscriber: @antoniov

Added subscriber: @antoniov

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

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

I don't see the bug here. The SVG import to Grease Pencil is using the Vertex Color mode. In this mode the color is defined by the vertex, not by the material.

Here the Vertex Mode enabled. Left figure is the object created importing with SVG -> Grease Pencil

image.png

As you can see, when you enable Vertex Mode or Render Mode, the color of the grease pencil is the same that you see in Illustrator.

image.png

You can see, that changing material color does not affect to left figure.

image.png

I don't see the bug here. The SVG import to Grease Pencil is using the Vertex Color mode. In this mode the color is defined by the vertex, not by the material. Here the Vertex Mode enabled. Left figure is the object created importing with SVG -> Grease Pencil ![image.png](https://archive.blender.org/developer/F12921733/image.png) As you can see, when you enable Vertex Mode or Render Mode, the color of the grease pencil is the same that you see in Illustrator. ![image.png](https://archive.blender.org/developer/F12921738/image.png) You can see, that changing material color does not affect to left figure. ![image.png](https://archive.blender.org/developer/F12921745/image.png)

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

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

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks for the report. If the problem persists please open a new report with the required information.
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#96329
No description provided.