Grease Pencil Armature Deform fails with Envelope Deform #60789

Closed
opened 2019-01-23 11:20:00 +01:00 by William Reynish · 18 comments

System Information
Operating system: MacOS 10.14
Graphics card: AMD Radeon R9 M395X 4096 MB

Blender Version
Broken: Blender 2.80 beta, jan 23

Short description of error
When using an armature to deform a Grease Pencil object using envelope weights, the GP object fails to deform correctly

Exact steps for others to reproduce the error

Open the following blend file:
GP_bone_envalope_bug.blend

Here you will find simple GP object and an Armature.

The bone envelopes encompass the entire GP object, so the whole shape should be deformed when moving the bones:

Screenshot 2019-01-23 at 11.12.23.png

However, what happens is that only a few points actually deform when moving or rotating the bones:

Screenshot 2019-01-23 at 11.12.35.png

If you compare this to a regular mesh object inside the same file, you can see that with a mesh, all points are being moved correctly:

Screenshot 2019-01-23 at 11.17.20.png

**System Information** Operating system: MacOS 10.14 Graphics card: AMD Radeon R9 M395X 4096 MB **Blender Version** Broken: Blender 2.80 beta, jan 23 **Short description of error** When using an armature to deform a Grease Pencil object using envelope weights, the GP object fails to deform correctly **Exact steps for others to reproduce the error** Open the following blend file: [GP_bone_envalope_bug.blend](https://archive.blender.org/developer/F6377740/GP_bone_envalope_bug.blend) Here you will find simple GP object and an Armature. The bone envelopes encompass the entire GP object, so the whole shape should be deformed when moving the bones: ![Screenshot 2019-01-23 at 11.12.23.png](https://archive.blender.org/developer/F6377701/Screenshot_2019-01-23_at_11.12.23.png) However, what happens is that only a few points actually deform when moving or rotating the bones: ![Screenshot 2019-01-23 at 11.12.35.png](https://archive.blender.org/developer/F6377711/Screenshot_2019-01-23_at_11.12.35.png) If you compare this to a regular mesh object inside the same file, you can see that with a mesh, all points are being moved correctly: ![Screenshot 2019-01-23 at 11.17.20.png](https://archive.blender.org/developer/F6377731/Screenshot_2019-01-23_at_11.17.20.png)

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish
Antonio Vazquez was assigned by William Reynish 2019-01-23 11:20:19 +01:00
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Not sure how envelopes are supposed to work but in this example it looks like the issue is that the vertex groups or wrong on the grease pencil object.

Not sure how envelopes are supposed to work but in this example it looks like the issue is that the vertex groups or wrong on the grease pencil object.

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung

I have looked at the file and yes, the weights are wrong. If you fix the weights, the armature works.

I'm not an expert in armature deformations (I reused deform functions used in meshes), but IIRC, the deformation needs weights. Maybe @JoshuaLeung can help us here.

I have looked at the file and yes, the weights are wrong. If you fix the weights, the armature works. I'm not an expert in armature deformations (I reused deform functions used in meshes), but IIRC, the deformation needs weights. Maybe @JoshuaLeung can help us here.

I'm not sure what you mean. When you set the armature to use the envelopes, vertex groups are ignored and not used. This is not related to vertex groups. The envelopes feature is meant to use the envelopes, not the weights.

I'm not sure what you mean. When you set the armature to use the envelopes, vertex groups are ignored and not used. This is not related to vertex groups. The envelopes feature is meant to use the **envelopes**, not the **weights**.

I'm referring to this feature right here:

Screenshot 2019-01-23 at 11.54.05.png

I'm referring to this feature right here: ![Screenshot 2019-01-23 at 11.54.05.png](https://archive.blender.org/developer/F6378001/Screenshot_2019-01-23_at_11.54.05.png)

Even if a mesh has no weights assigned, you can still deform it if you use Bone Envelopes:

Screenshot 2019-01-23 at 12.05.08.png

This is the feature which seems to be broken for GP objects

Even if a mesh has no weights assigned, you can still deform it if you use Bone Envelopes: ![Screenshot 2019-01-23 at 12.05.08.png](https://archive.blender.org/developer/F6378079/Screenshot_2019-01-23_at_12.05.08.png) This is the feature which seems to be broken for GP objects

@antoniov Is the bug report understood now? As I see it, this is definitely a bug and not an issue with vertex group weights.

@antoniov Is the bug report understood now? As I see it, this is definitely a bug and not an issue with vertex group weights.
Member

Indeed, that seems to be the case. Just the file is a bit misleading because there are vertex groups.

Indeed, that seems to be the case. Just the file is a bit misleading because there are vertex groups.

Another bug which is related, is that if you use the envelopes to assign the vertex groups by using Ctrl-P and selecting Bone Envelopes, the weights are not correctly assigned according to the bone envelope sizes.

It could be the same issue? Not sure.

Another bug which is related, is that if you use the envelopes to assign the vertex groups by using Ctrl-P and selecting Bone Envelopes, the weights are not correctly assigned according to the bone envelope sizes. It could be the same issue? Not sure.

There is a bug (the envelop does not work witout weights) and a missing feature (the Ctrl+P weights is not supported).

Currently, when you use Ctrl+P with envelopes does the same that vertex group.

I'm going first to look at the bug.

There is a bug (the envelop does not work witout weights) and a missing feature (the Ctrl+P weights is not supported). Currently, when you use Ctrl+P with envelopes does the same that vertex group. I'm going first to look at the bug.

Since you can confirm it I'm going to be cheeky and go ahead and set it to confirmed.

Since you can confirm it I'm going to be cheeky and go ahead and set it to confirmed.
Antonio Vazquez was unassigned by Dalai Felinto 2019-12-23 16:35:20 +01:00

Added subscriber: @antoniov

Added subscriber: @antoniov
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

In #60789#605191, @antoniov wrote:
There is a bug (the envelop does not work witout weights)

The bug seems to have been fixed

and a missing feature (the Ctrl+P weights is not supported). Currently, when you use Ctrl+P with envelopes does the same that vertex group.

This one is still an issue, not sure if we should call this a missing feature, it is not working as advertised, so either we remove this option for greasepencil, or we call it a bug... going for the latter and have a quick look...
Will also update the report description, since a lot has changed here... maybe even open a separate report for this...

> In #60789#605191, @antoniov wrote: > There is a bug (the envelop does not work witout weights) The bug seems to have been fixed > and a missing feature (the Ctrl+P weights is not supported). Currently, when you use Ctrl+P with envelopes does the same that vertex group. This one is still an issue, not sure if we should call this a missing feature, it is not working as advertised, so either we remove this option for greasepencil, or we call it a bug... going for the latter and have a quick look... Will also update the report description, since a lot has changed here... maybe even open a separate report for this...
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Philipp Oeser self-assigned this 2020-02-07 17:00:03 +01:00
Member

Reported the second issue separately #73660 (Greasepencil parent to armature with envelope weights assigns wrong weights).
This way we can close this one.

Reported the second issue separately #73660 (Greasepencil parent to armature with envelope weights assigns wrong weights). This way we can close this one.
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#60789
No description provided.