Updating through custom properties very slow #31647

Closed
opened 2012-05-30 16:36:21 +02:00 by Tobias Oelgarte · 5 comments

%%%I know that this is on the edge to a feature request, but I'm puzzled what might be cause.

I have a character and i use shapekeys for facial animation. To make things easier i added some drivers to the shapekeys which use custom properties of the armature-object as the source. If i disable the drivers and change the sliders of the shapekeys manually everything is really fluid (updates quickly).

Mesh --> Shapekey --> Slider

But if i use the custom property then it gets really slow (below 1 FPS). I must wonder what is so different in this scenario:

Mesh -> Shapekey --> Slider with Driver --> Custom Property

I can only imagine that blender does some kind of extensive dependency checking or updating, which wouldn't be necessary.%%%

%%%I know that this is on the edge to a feature request, but I'm puzzled what might be cause. I have a character and i use shapekeys for facial animation. To make things easier i added some drivers to the shapekeys which use custom properties of the armature-object as the source. If i disable the drivers and change the sliders of the shapekeys manually everything is really fluid (updates quickly). Mesh --> Shapekey --> Slider But if i use the custom property then it gets really slow (below 1 FPS). I must wonder what is so different in this scenario: Mesh -> Shapekey --> Slider with Driver --> Custom Property I can only imagine that blender does some kind of extensive dependency checking or updating, which wouldn't be necessary.%%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%Please attach a .blend file, mention operating system and exact blender version used. You've reported so many bugs, this should be clear by now? :)%%%

%%%Please attach a .blend file, mention operating system and exact blender version used. You've reported so many bugs, this should be clear by now? :)%%%

%%%As usual. An not older then a weak build, build on Ubuntu 10.10. ;-)

I uploaded an example file to: http://www.file-upload.net/download-4404732/hinata-only-35.blend.html

I know that it is huge, ugly and complicated. But it is often very hard to reduce a problem without removing the problem or to create a new file to create the same problem.

In this case you would need to do the following steps to see the issue:

  1. The body-mesh (currently selected) has some shapekeys. One of them is named "voice_ai" with a driver shown in the bottom left window.
  2. You disable the driver (speaker icon) and change the value of the shapekey slider. It should update fluidly.
  3. Now enable the driver again, select the armature "armature" (some bone from the arm, hair has a separate armature), go to the object tab and then down to the custom properties. Now change the property "voice_ai" (the source of the driver). It should update much slower.

The reason for this slow update is the hair mesh from which i enabled the subsurf and edge-split modifiers. If you disable or remove this modifiers it will be much quicker. But at the same time it tells me that the hair mesh gets recomputed if the property is changed, even so it does not depend on it. It depends on the "armature-hair" which depends on the "armature", but not on the property itself.

%%%

%%%As usual. An not older then a weak build, build on Ubuntu 10.10. ;-) I uploaded an example file to: http://www.file-upload.net/download-4404732/hinata-only-35.blend.html I know that it is huge, ugly and complicated. But it is often very hard to reduce a problem without removing the problem or to create a new file to create the same problem. In this case you would need to do the following steps to see the issue: 1. The body-mesh (currently selected) has some shapekeys. One of them is named "voice_ai" with a driver shown in the bottom left window. 2. You disable the driver (speaker icon) and change the value of the shapekey slider. It should update fluidly. 3. Now enable the driver again, select the armature "armature" (some bone from the arm, hair has a separate armature), go to the object tab and then down to the custom properties. Now change the property "voice_ai" (the source of the driver). It should update much slower. The reason for this slow update is the hair mesh from which i enabled the subsurf and edge-split modifiers. If you disable or remove this modifiers it will be much quicker. But at the same time it tells me that the hair mesh gets recomputed if the property is changed, even so it does not depend on it. It depends on the "armature-hair" which depends on the "armature", but not on the property itself. %%%
Member

%%%All dependency graph issues are being collected now in wiki:

http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Animation#Dependency_Graph

I know it's lame, but we really want to solve this well. If quick fixes existed we'd have done this.%%%

%%%All dependency graph issues are being collected now in wiki: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Animation#Dependency_Graph I know it's lame, but we really want to solve this well. If quick fixes existed we'd have done this.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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#31647
No description provided.