Armature modifier - Preserve volume + scale = incorrect result #43188

Closed
opened 2015-01-09 19:42:23 +01:00 by lucas veber · 15 comments

Win7 64, gtx 580

Blender 2.73 official

The preserve volume feature of the armature modifier gives incorrect results when scaling a bone.

See the blend file: a cylinder is rigged with 2 bones. When rotating the second bone, the deformation is not the same, depending on the scale of the first bone. I've duplicated the armature and the mesh on the right, and scaled the first bone, so that you can state it clearly.preserve_volume_scale.blend

Win7 64, gtx 580 Blender 2.73 official The preserve volume feature of the armature modifier gives incorrect results when scaling a bone. See the blend file: a cylinder is rigged with 2 bones. When rotating the second bone, the deformation is not the same, depending on the scale of the first bone. I've duplicated the armature and the mesh on the right, and scaled the first bone, so that you can state it clearly.[preserve_volume_scale.blend](https://archive.blender.org/developer/F136478/preserve_volume_scale.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @LucasVeber

Added subscriber: @LucasVeber

#100373 was marked as duplicate of this issue

#100373 was marked as duplicate of this issue

Added subscribers: @JoshuaLeung, @LukasTonne, @mont29

Added subscribers: @JoshuaLeung, @LukasTonne, @mont29

I'm quite sure there is no bug here… Volume does not evolve the same as scaling (scaling by 2 will result in 8 times initial volume), so imho it is to be expected that 'preserve' volume also gives different results here?

Maybe others (Lukas? Aligorith?) know better.

I'm quite sure there is no bug here… Volume does not evolve the same as scaling (scaling by 2 will result in 8 times initial volume), so imho it is to be expected that 'preserve' volume also gives different results here? Maybe others (Lukas? Aligorith?) know better.
Author

This comment was removed by @LucasVeber

*This comment was removed by @LucasVeber*
Member

Closed as duplicate of #32022

Closed as duplicate of #32022
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

As stated in #32022, I did some research on the "Quaternion Deform Interpolation" algorithm we use for the "Preserve Volume" feature, and it seems that this is a known limitation of it. It was solved in a later version of the algorithm but we still use the old one.

As stated in #32022, I did some research on the "Quaternion Deform Interpolation" algorithm we use for the "Preserve Volume" feature, and it seems that this is a known limitation of it. It was solved in a later version of the algorithm but we still use the old one.

Added subscriber: @Harvester

Added subscriber: @Harvester

Just a simple question Julian. Shouldn't this (or #32022) be classified as a "To Do" up for grab instead of simply closing it, considering that you stated that a later version of the algorithm exists that solves the problem, but it has not been implemented yet? Thank you.

Just a simple question Julian. Shouldn't this (or #32022) be classified as a "To Do" up for grab instead of simply closing it, considering that you stated that a later version of the algorithm exists that solves the problem, but it has not been implemented yet? Thank you.

I possibly found the papers that refers to this problem and, despite not being a matematician, I now probably understand why an alternate solution hasn't been implemented: it is very complex and requires an high degree of knowledge in matematics, not to speak about its implementation. It seems to be more appropriate for a GSOC submission than a To Do that nobody would do. Sorry for my ignorance and for opening my mouth without knowing what I was talking about.

I possibly found the papers that refers to this problem and, despite not being a matematician, I now probably understand why an alternate solution hasn't been implemented: it is very complex and requires an high degree of knowledge in matematics, not to speak about its implementation. It seems to be more appropriate for a GSOC submission than a To Do that nobody would do. Sorry for my ignorance and for opening my mouth without knowing what I was talking about.
Member

Nah, no need to excuse, you didn't get rude or so ;)
Of course this isn't a project for a boring evening, but I'm also afraid this is a bit too much for most GSOC students. There have been many discussions about the scope or the size of our GSOC projects lately, because in the past, most of the big projects have failed, ending up in more organization work than benefit (from our and the student's side). People tend to forget that most of the GSOC students are completely new to Blender development and aren't rocket scientists as well. It's no surprise that this approach has failed many times. Anyway, that doesn't mean we are completely rejecting this. In fact it's also on our GSOC 2015 ideas site , but still, I think it's much more likely that this will be tackled by a more experienced developer, hopefully in the near future.

That said, you see we are aware of this, we just need a dev who has the time to implement it, and maybe it's an GSOC student.
Although our Todo isn't the best maintained part of Blender's development environment, I added a note to it , but think that's a rather formal step ;)

Nah, no need to excuse, you didn't get rude or so ;) Of course this isn't a project for a boring evening, but I'm also afraid this is a bit too much for most GSOC students. There have been many discussions about the scope or the size of our GSOC projects lately, because in the past, most of the big projects have failed, ending up in more organization work than benefit (from our and the student's side). People tend to forget that most of the GSOC students are completely new to Blender development and aren't rocket scientists as well. It's no surprise that this approach has failed many times. Anyway, that doesn't mean we are completely rejecting this. In fact it's also on our [GSOC 2015 ideas site ](http://wiki.blender.org/index.php/Dev:Ref/GoogleSummerOfCode/2015/Ideas#Modifiers), but still, I think it's much more likely that this will be tackled by a more experienced developer, hopefully in the near future. That said, you see we are aware of this, we just need a dev who has the time to implement it, and maybe it's an GSOC student. Although our Todo isn't the best maintained part of Blender's development environment, I [added a note to it ](http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Animation#Armature), but think that's a rather formal step ;)

Thank you Julian for your reply and I appreciate it very much the explanation. You're doing a very good job.

About the failing of GSOC projects, perhaps they should be included in a more defined development process where a follow-up path is coordinated and agreed upon within the development of Blender. It seems like (but this is only my feeling) that many of the GSOC projects are an end in themselves, I mean like a good "exercise" but nothing more. Anyway, I understand that the students might lack the needed experience and time to dedicate on further development of their GSOC project after they have come to the end (with success or not). Best regards.

Thank you Julian for your reply and I appreciate it very much the explanation. You're doing a very good job. About the failing of GSOC projects, perhaps they should be included in a more defined development process where a follow-up path is coordinated and agreed upon within the development of Blender. It seems like (but this is only my feeling) that many of the GSOC projects are an end in themselves, I mean like a good "exercise" but nothing more. Anyway, I understand that the students might lack the needed experience and time to dedicate on further development of their GSOC project after they have come to the end (with success or not). Best regards.
Member

Added subscribers: @Munkle_Mark, @OmarEmaraDev

Added subscribers: @Munkle_Mark, @OmarEmaraDev
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
6 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#43188
No description provided.