Spring weight paint bugs #56865

Closed
opened 2018-09-21 14:47:23 +02:00 by Brecht Van Lommel · 14 comments

Test file: lib/props/branches.blend from Spring.

  • Combined weight paint + pose mode is not working well:
    ** Requires disabling Lock Object modes, which is not easy to discover.
    ** When clicking on the armature to pick a bone, the mesh does not stay in weight paint mode.
  • X-ray modes does not work for the weight paint overlay, would be nice to be able to see weights on backsides.
  • Undo in weight paint mode with the brush tool active switches to the cursor tool in the topbar (but not the toolbar)
    • Still happens when undoing mode switching.
  • Paint through the mesh is not working (front facing only option?)
  • Select a bone should activate the vertex group for weight paint (not updating/redrawing?)
  • Rotation around selected user pref not working for bones (while in weight mode?)
  • Weight paint drawing has two issues:
    ** There are Z-fighting issues with the weight paint overlay
    ** Shading is not visible very well. Alpha can be reduced, but then it becomes hard to see the weights.
    ** As a solution to both, the overlay could be multiplied rather than alpha blended?
Test file: lib/props/branches.blend from Spring. * ~~Combined weight paint + pose mode is not working well:~~ ** ~~Requires disabling Lock Object modes, which is not easy to discover.~~ ** ~~When clicking on the armature to pick a bone, the mesh does not stay in weight paint mode.~~ * ~~X-ray modes does not work for the weight paint overlay, would be nice to be able to see weights on backsides.~~ * ~~Undo in weight paint mode with the brush tool active switches to the cursor tool in the topbar (but not the toolbar)~~ * ~~Still happens when undoing mode switching.~~ * ~~Paint through the mesh is not working (front facing only option?)~~ * ~~Select a bone should activate the vertex group for weight paint (not updating/redrawing?)~~ * ~~Rotation around selected user pref not working for bones (while in weight mode?)~~ * ~~Weight paint drawing has two issues:~~ ** ~~There are Z-fighting issues with the weight paint overlay~~ ** ~~Shading is not visible very well. Alpha can be reduced, but then it becomes hard to see the weights.~~ ** ~~As a solution to both, the overlay could be multiplied rather than alpha blended?~~

Added subscribers: @brecht, @JacquesLucke, @Hjalti

Added subscribers: @brecht, @JacquesLucke, @Hjalti
Brecht Van Lommel changed title from Weight paint issues to Spring weight paint bugs 2018-09-21 14:47:39 +02:00

The third issue is not related to bones.
It happens when you select the Vertex Group manually as well.

As soon as you start drawing the viewport will be updated.

vertex_group_update.blend

The third issue is not related to bones. It happens when you select the Vertex Group manually as well. As soon as you start drawing the viewport will be updated. [vertex_group_update.blend](https://archive.blender.org/developer/F4777104/vertex_group_update.blend)

Potential fix for the active-vertex-group-changed problem: D3716

Potential fix for the active-vertex-group-changed problem: [D3716](https://archive.blender.org/developer/D3716)

The front facing option works like that:
front facing option.gif

Looks like what @Hjalti needs is the "2D Falloff" option that is in the same menu. And "Front Facing Only" needs to be turned off.

I got some crashes when testing but could not figure out what causes them yet. Looks like the "Paint through the mesh is not working" does not actually exist. It's just a matter of using the right settings.

The front facing option works like that: ![front facing option.gif](https://archive.blender.org/developer/F4777774/front_facing_option.gif) Looks like what @Hjalti needs is the "2D Falloff" option that is in the same menu. And "Front Facing Only" needs to be turned off. I got some crashes when testing but could not figure out what causes them yet. Looks like the "Paint through the mesh is not working" does not actually exist. It's just a matter of using the right settings.

This issue was referenced by blender/blender@603774c1eb

This issue was referenced by blender/blender@603774c1eb8db827efc7a3bf9e81c230010eac8b

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Changed status from 'Resolved' to: 'Open'

Changed status from 'Resolved' to: 'Open'

Added subscriber: @ideasman42

Added subscriber: @ideasman42

"Combined weight paint + pose mode is not working well" could be it's own design task, since I'd like to know details of whats desired/expected.

It would be good to show an example that works well, what fails currently (is this working nicely in 2.7x? should we try bring back old behavior or solve differently)

Maybe only some small changes are needed too, for me this is too fuzzy still.

*"Combined weight paint + pose mode is not working well"* could be it's own design task, since I'd like to know details of whats desired/expected. It would be good to show an example that works well, what fails currently (is this working nicely in 2.7x? should we try bring back old behavior or solve differently) Maybe only some small changes are needed too, for me this is too fuzzy still.

@ideasman42, it appears you need to disable Lock Modes for this to work, and it's enabled by default. That for me is the main issue, it's difficult to discover.

D3890: Fix combined weight paint + pose mode not working well with Lock Object Modes. is intended to addresses that.

@ideasman42, it appears you need to disable Lock Modes for this to work, and it's enabled by default. That for me is the main issue, it's difficult to discover. [D3890: Fix combined weight paint + pose mode not working well with `Lock Object Modes`.](https://archive.blender.org/developer/D3890) is intended to addresses that.

Applied fixes to wpaint+pose mode.

So now it should be more or less usable.


Re: When clicking on the armature to pick a bone, the mesh does not stay in weight paint mode. - Not sure what is meant by this, was this ever the case or is it a suggestion for how it should work? In 2.7x this was also the case - when you don't lock modes selecting the object wont send it into pose mode in 2.7x or 2.8x. - It respects the mode the object already has.

I've noticed an issue that isn't mentioned here, that is the Z-key doesn't put bones in-front like it does in pose mode. Will look into this next.

Applied fixes to wpaint+pose mode. - blender/blender@7b4f545e28 - blender/blender@73547952a9 - blender/blender@60865ccefd So now it should be more or less usable. ---- Re: *When clicking on the armature to pick a bone, the mesh does not stay in weight paint mode.* - Not sure what is meant by this, was this ever the case or is it a suggestion for how it should work? In 2.7x this was also the case - when you don't lock modes selecting the object wont send it into pose mode in 2.7x or 2.8x. - It respects the mode the object already has. I've noticed an issue that isn't mentioned here, that is the Z-key doesn't put bones in-front like it does in pose mode. Will look into this next.

It seems to work well with the latest changes. You can select bone, paint, select bone, paint, ... without interruption.

It seems to work well with the latest changes. You can select bone, paint, select bone, paint, ... without interruption.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Campbell Barton self-assigned this 2018-11-23 01:58:17 +01:00

Good to hear, closing.

Good to hear, closing.
Sign in to join this conversation.
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: studio/blender-studio#56865
No description provided.