Weight paint fails the normalization tests in suite #41916

Closed
opened 2014-09-23 13:41:17 +02:00 by Antonis Ryakiotakis · 11 comments

System Information
Ubuntu 14.04
Intel Xeon E31280 @ 3.50GHz x 4
5,8 GB RAM
NVIDIA Quadro 2000

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
2ed1b67

Worked: (optional)

Short description of error
Test files with normalization in test suite fail

Exact steps for others to reproduce the error
Open autoNormalizeTest.blend and mutlipaintTest.blend in tests/paint and follow the instructions on the relevant .txt files. Results will be different. If results are the expected ones we should really change the files in the suite.
Also autoNormalizeTest.blend has some duplicate vertices and the description of the test is not very good/clear either.

**System Information** Ubuntu 14.04 Intel Xeon E31280 @ 3.50GHz x 4 5,8 GB RAM NVIDIA Quadro 2000 **Blender Version** Broken: (example: 2.69.7 4b206af, see splash screen) 2ed1b67 Worked: (optional) **Short description of error** Test files with normalization in test suite fail **Exact steps for others to reproduce the error** Open autoNormalizeTest.blend and mutlipaintTest.blend in tests/paint and follow the instructions on the relevant .txt files. Results will be different. If results are the expected ones we should really change the files in the suite. Also autoNormalizeTest.blend has some duplicate vertices and the description of the test is not very good/clear either.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Jason Hays was assigned by Antonis Ryakiotakis 2014-09-23 13:41:17 +02:00
Author
Member

Added subscriber: @Psy-Fi

Added subscriber: @Psy-Fi
Author
Member

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Jason Hays was unassigned by Antonis Ryakiotakis 2014-09-23 13:51:02 +02:00
Campbell Barton was assigned by Antonis Ryakiotakis 2014-09-23 13:51:02 +02:00
Author
Member

Added subscriber: @jason_hays22

Added subscriber: @jason_hays22

This is a regression, but its intentional and I rather not change this right before release.

The problem is limited to painting when normalize is enabled, but the current weights aren't normalized.

If all groups other groups besides active are 0.0 options are:

  • Set the active group to 1.0, leave other groups zero (old behavior)
  • Keep the active group weight as-is, and adjust other weights to compensate for that. (whats happening now).

The problem with the old behavior, is - if you enabled normalize - and all other groups were zero, painting 0.5 weight (for example), would always re-normalize to 1.0.

The way it works now, you always get the weight you paint on the active group and enabling the normalize option adjusts the others.

We could change how it works...

  • Detect if the weight is nearing the target weight or not (to make it possible to paint 0.5 weight onto a 1.0 weight), but think this may be over complicating things, it would need to switch behavior
  • Detect if the weights are already normalized, since this whole issue is mainly caused by having to handle the case where you start out non-normalized (think this could work quite well), since it means on first use - you have the active weight group initialized to a useful unit value, but afterwards - other groups compensate for changes to that active group.

Will have to update the regression instructions.

This is a regression, but its intentional and I rather not change this right before release. The problem is limited to painting when normalize is enabled, but the current weights aren't normalized. If all groups other groups besides active are 0.0 options are: - Set the active group to 1.0, leave other groups zero (old behavior) - Keep the active group weight as-is, and adjust other weights to compensate for that. (whats happening now). The problem with the old behavior, is - if you enabled normalize - and all other groups were zero, painting 0.5 weight (for example), would always re-normalize to 1.0. The way it works now, you always get the weight you paint on the active group and enabling the normalize option adjusts the others. We could change how it works... - Detect if the weight is nearing the target weight or not (to make it possible to paint 0.5 weight onto a 1.0 weight), *but think this may be over complicating things, it would need to switch behavior* - Detect if the weights are already normalized, since this whole issue is mainly caused by having to handle the case where you start out non-normalized (think this could work quite well), since it means on first use - you have the active weight group initialized to a useful unit value, but afterwards - other groups compensate for changes to that active group. Will have to update the regression instructions.
Author
Member

Agree, when I looked into the first file I also thought it worked correctly. I also think that it would be good to be able to paint what you have as a weight, not get something else as a result of normalization. This is what the test file suggested and I was slightly mystified by that.

Agree, when I looked into the first file I also thought it worked correctly. I also think that it would be good to be able to paint what you have as a weight, not get something else as a result of normalization. This is what the test file suggested and I was slightly mystified by that.

Added subscriber: @MarcClintDion

Added subscriber: @MarcClintDion

Reporting Bugs in Blender from Sebastian König http://vimeo.com/75649649

Reporting Bugs in Blender from Sebastian König http://vimeo.com/75649649

Moving to TODO, since this is working as intended for the most-part

Moving to TODO, since this is working as intended for the most-part

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Removed these tests r61600.

Removed these tests r61600.
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#41916
No description provided.