armory3d / armory3d/armory

Armature Parent to Vertex Group - vertices with 0 bone weight get dropped

Open
#316 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Hi,

[Disclaimer: I am now reporting a lot of bugs that i find playing with Armory. The intent is to help make it better. Let me know if this is helpful or not.]

The following set up:
![image](https://user-images.githubusercontent.com/33040347/32347646-9166265e-c011-11e7-9f1f-e5ac8a299263.png)
Left and right side contain one mesh each (even though right side consists of two cubes - it's still one mesh).
On the **left side**, two vertices are parented to the bone. The bone is moved along Y in pose mode.
On the **right side**, one cube (disconnected mesh) is parented to the bone. The bones is moved along Y in pose mode.

**Issue 1: With no animation applied**
Armory does not show any displacement of the geometry.
![image](https://user-images.githubusercontent.com/33040347/32347557-60080884-c011-11e7-9b5f-06a3e61bb8d3.png)

**Issue 2: With animation applied on bone**
For connected mesh, armory shows nothing.
For disconnected mesh, armory shows only the parts that are parented to a bone (not-parented parts are not shown).
![image](https://user-images.githubusercontent.com/33040347/32347775-0a4ea3d4-c012-11e7-844c-2538261845b7.png)

[Issue.zip](https://github.com/armory3d/armory/files/1439240/Issue.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the attached Issue.zip in Blender and reproduce both reported cases: an armature-parented mesh without animation and one with bone animation. Trace the Armory Blender integration and skinning path from that reproduction; done means connected and disconnected meshes retain all vertices, including those with zero bone weight, and follow the bone as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.