ikSPline error with new depsgraph #45903

Closed
opened 2015-08-25 14:38:26 +02:00 by boris cohen · 9 comments

System Information
Mint 17
CG:GTX 560Ti

Blender Version
Broken: 2.75a Official, hash: c27589e
Worked: Never, should work with new depsgraph :)

Short description of error

There is still fake dependency cycle with ikspline.
Let's take 2 sets of bones A and B, with no relation beetween each other (except they live in the same armature)

  • Set A (4 parented bones) are ikSpline constrained on a curve
  • Set B (2 bones with no parent/ no constraint) hooked 2 points of the curve (with hooked modifier on curve)

When mooving set B bones, Set A bones are jumping all over the place and a cycle is detected in consol even if there is no direct relation beetween them (except the armature object)

Exact steps for others to reproduce the error

  • Open blender 2.75a or later with --enable-new-depsgraph argument
  • open attached .blend file
  • move set B bones (called hook1 and hook2)

depsgraph_ikspline.blend

Thanks a lot !

**System Information** Mint 17 CG:GTX 560Ti **Blender Version** Broken: 2.75a Official, hash: c27589e Worked: Never, should work with new depsgraph :) **Short description of error** There is still fake dependency cycle with ikspline. Let's take 2 sets of bones A and B, with no relation beetween each other (except they live in the same armature) - Set A (4 parented bones) are ikSpline constrained on a curve - Set B (2 bones with no parent/ no constraint) hooked 2 points of the curve (with hooked modifier on curve) When mooving set B bones, Set A bones are jumping all over the place and a cycle is detected in consol even if there is no direct relation beetween them (except the armature object) **Exact steps for others to reproduce the error** - Open blender 2.75a or later with --enable-new-depsgraph argument - open attached .blend file - move set B bones (called hook1 and hook2) [depsgraph_ikspline.blend](https://archive.blender.org/developer/F227780/depsgraph_ikspline.blend) Thanks a lot !
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @bobizib

Added subscriber: @bobizib
Author

Forgot to assign to depsgraph project

Forgot to assign to depsgraph project
Member

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung
Member

Console Output

Dependency cycle detected:

'Armature[Object].POSE_INIT()' depends on 'BezierCurve[Object].GEOMETRY_UBEREVAL()' through '[Curve.Path -> Spline IK] DepsRel'
'BezierCurve[Object].GEOMETRY_UBEREVAL()' depends on 'BezierCurve[Object].GEOMETRY_MODIFIER(Hook-Armature.001)' through 'Object Geometry UberEval'
'BezierCurve[Object].GEOMETRY_MODIFIER(Hook-Armature.001)' depends on 'Armature[Object].Bone.005.BONE_DONE()' through 'Hook Modifier'
'Armature[Object].Bone.005.BONE_DONE()' depends on 'Armature[Object].Bone.005.BONE_READY()' through 'Ready -> Done'
'Armature[Object].Bone.005.BONE_READY()' depends on 'Armature[Object].Bone.005.BONE_POSE_PARENT()' through 'Pose -> Ready'
'Armature[Object].Bone.005.BONE_POSE_PARENT()' depends on 'Armature[Object].Bone.005.BONE_LOCAL()' through 'Bone Local - PoseSpace Link'
'Armature[Object].Bone.005.BONE_LOCAL()' depends on 'Armature[Object].POSE_INIT()' through 'PoseEval Source-Bone Link'
## Console Output Dependency cycle detected: ``` 'Armature[Object].POSE_INIT()' depends on 'BezierCurve[Object].GEOMETRY_UBEREVAL()' through '[Curve.Path -> Spline IK] DepsRel' 'BezierCurve[Object].GEOMETRY_UBEREVAL()' depends on 'BezierCurve[Object].GEOMETRY_MODIFIER(Hook-Armature.001)' through 'Object Geometry UberEval' 'BezierCurve[Object].GEOMETRY_MODIFIER(Hook-Armature.001)' depends on 'Armature[Object].Bone.005.BONE_DONE()' through 'Hook Modifier' 'Armature[Object].Bone.005.BONE_DONE()' depends on 'Armature[Object].Bone.005.BONE_READY()' through 'Ready -> Done' 'Armature[Object].Bone.005.BONE_READY()' depends on 'Armature[Object].Bone.005.BONE_POSE_PARENT()' through 'Pose -> Ready' 'Armature[Object].Bone.005.BONE_POSE_PARENT()' depends on 'Armature[Object].Bone.005.BONE_LOCAL()' through 'Bone Local - PoseSpace Link' 'Armature[Object].Bone.005.BONE_LOCAL()' depends on 'Armature[Object].POSE_INIT()' through 'PoseEval Source-Bone Link'
Member

After mapping out these relationships, it looks like there is indeed a cycle still present, because the geometry evaluation hasn't been fully split up yet. Specifically:

t45903.png

Red lines indicate some of the main culprits of this problem

After mapping out these relationships, it looks like there is indeed a cycle still present, because the geometry evaluation hasn't been fully split up yet. Specifically: ![t45903.png](https://archive.blender.org/developer/F227783/t45903.png) Red lines indicate some of the main culprits of this problem

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-08-25 15:41:08 +02:00

Improving cycle solver in new dependency graph is still a todo. So thanks for the report, but closing it now.

P.S. Your setup wouldn't work reliably in old dependency graph either.

Improving cycle solver in new dependency graph is still a todo. So thanks for the report, but closing it now. P.S. Your setup wouldn't work reliably in old dependency graph either.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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#45903
No description provided.