Page MenuHome

Dependency GraphProject
ActivePublic

Members (4)

Details

Description

System to evaluate and update objects for editing and animation.

Module Owners: @Sergey Sharybin (sergey), @Brecht Van Lommel (brecht)

Recent Activity

Yesterday

Richard Antalik (ISS) merged T70682: Video Editor/Sequencer Destroys Sound After Cut into T68946: VSE - Bad interpolation in exported audio.
Sun, Oct 13, 2:52 AM · Dependency Graph, Audio, Video Sequencer, BF Blender

Fri, Oct 4

hudson barkley (snuq) added a comment to T68946: VSE - Bad interpolation in exported audio.

Just wanted to chime in as a user who animates audio all the time.

Fri, Oct 4, 8:16 AM · Dependency Graph, Audio, Video Sequencer, BF Blender
Richard Antalik (ISS) updated subscribers of T68946: VSE - Bad interpolation in exported audio.

As I wrote in T59540#588156 doing a callback for every sound sample is way too slow. We could consider it for every buffer if it is fast enough and it is possible.

Fri, Oct 4, 3:38 AM · Dependency Graph, Audio, Video Sequencer, BF Blender

Thu, Oct 3

Joerg Mueller (nexyon) added a comment to T68946: VSE - Bad interpolation in exported audio.

As I wrote in T59540#588156 doing a callback for every sound sample is way too slow. We could consider it for every buffer if it is fast enough and it is possible. The issue here is that the depsgraph would need to provide the functionality to get the value of a single property for a specific time. I'm not sure if it can easily do that?

Thu, Oct 3, 11:39 PM · Dependency Graph, Audio, Video Sequencer, BF Blender
Richard Antalik (ISS) added a comment to T68946: VSE - Bad interpolation in exported audio.

Thanks for fix.
The animation cache stuff may explain T69167: VSE - "Render Audio" exports only one audio strip in some cases. I will look into this as well. I've got quite a few audio related bugs in tracker, so this may have to be resolved in some way.

Thu, Oct 3, 11:14 AM · Dependency Graph, Audio, Video Sequencer, BF Blender
Joerg Mueller (nexyon) added a comment to T68946: VSE - Bad interpolation in exported audio.

Let me revise what I wrote in my previous comment, my bad memory caused some wrong statements:

Thu, Oct 3, 10:48 AM · Dependency Graph, Audio, Video Sequencer, BF Blender

Tue, Oct 1

Bastien Montagne (mont29) raised the priority of T69727: Dependency Cycle Detected when copying objects with cloth and collision modifier from Needs Information from User to Waiting for Developer to Reproduce.
Tue, Oct 1, 9:21 PM · Dependency Graph, Physics, BF Blender
Richard Antalik (ISS) added a comment to T68946: VSE - Bad interpolation in exported audio.

I think having a general option in the render settings would be a good idea to mitigate the issue.

Tue, Oct 1, 1:51 PM · Dependency Graph, Audio, Video Sequencer, BF Blender
Joerg Mueller (nexyon) added a comment to T68946: VSE - Bad interpolation in exported audio.

The interpolation is not a bug per se. The audio animation system is evaluated once for every read, so you basically get nearest neighbor interpolation for your buffer size. The buffer size can be adjusted during audio export as you correctly noticed. When rendering a video though, the audio system is called once per (image) frame so you get this issue here. I think having a general option in the render settings would be a good idea to mitigate the issue.

Tue, Oct 1, 1:18 PM · Dependency Graph, Audio, Video Sequencer, BF Blender
Richard Antalik (ISS) added a comment to T68946: VSE - Bad interpolation in exported audio.

I haven't looked at audio handling in the VSE, so I wouldn't know by heart what could cause this.

Tue, Oct 1, 12:29 PM · Dependency Graph, Audio, Video Sequencer, BF Blender
Sybren A. Stüvel (sybren) added a comment to T68946: VSE - Bad interpolation in exported audio.

I haven't looked at audio handling in the VSE, so I wouldn't know by heart what could cause this.

Tue, Oct 1, 12:05 PM · Dependency Graph, Audio, Video Sequencer, BF Blender
Richard Antalik (ISS) updated subscribers of T68946: VSE - Bad interpolation in exported audio.

Perhaps I never noticed this effect, because I render 60FPS and rarely use fade-ins, but I always thought, that property animation was done in audaspace internally. @Joerg Mueller (nexyon), do you know how this was/should be implemented?

Tue, Oct 1, 6:06 AM · Dependency Graph, Audio, Video Sequencer, BF Blender

Sun, Sep 29

Richard Antalik (ISS) lowered the priority of T68946: VSE - Bad interpolation in exported audio from Needs Triage by Developer to Confirmed, Medium.
Sun, Sep 29, 5:26 PM · Dependency Graph, Audio, Video Sequencer, BF Blender
Richard Antalik (ISS) added a comment to T68946: VSE - Bad interpolation in exported audio.

I am testing this now, and I can reproduce this issue in 2.79 also.
I will have to ask more devs how/if this can be mitigated.

Sun, Sep 29, 5:26 PM · Dependency Graph, Audio, Video Sequencer, BF Blender

Fri, Sep 27

Philipp Oeser (lichtwerk) added a revision to T69000: Hair: changing children related settings not updating in particle editmode (also crash when deleting a particle, then undo): D5914: Fix T69000: Hair: changing children related settings not updating in particle editmode.
Fri, Sep 27, 3:40 PM · Dependency Graph, Physics, BF Blender

Wed, Sep 25

todd doehring (tcdabemis) added a comment to T68840: 2.8 Metaballs update 'NEVER' is not working, seems to *always* update even with NEVER selected.

Thank you again. I've tested and Never is working now. It's very weird if I add a scene (via python) everything speeds up again, then somehow 'always' turns itself back on and it gets super slow again... well that's just FYI in case anyone has similar issue.

Wed, Sep 25, 11:07 AM · Dependency Graph, Modeling, BF Blender

Mon, Sep 23

Joseph Brandenburg (TheAngerSpecialist) added a comment to T68979: Decouple physics and animation clock.

I think this could be a great feature for animation, too, if you have a part of a rig that depends on a simulation. The cloth in a character's clothing could simulate while the animator is moving things, and stop when there's no transform going on. This would only give an idea of what the position of the cloth will be when baked, but it would be useful since you'd catch a lot of mistakes before a lengthy baking process.

Mon, Sep 23, 10:50 PM · Dependency Graph, Animation, Physics, BF Blender
Philipp Oeser (lichtwerk) added a comment to T68840: 2.8 Metaballs update 'NEVER' is not working, seems to *always* update even with NEVER selected.

Hi @todd doehring (tcdabemis) : both Never and Fast seems to be working fine here.

Mon, Sep 23, 9:22 AM · Dependency Graph, Modeling, BF Blender
todd doehring (tcdabemis) added a comment to T68840: 2.8 Metaballs update 'NEVER' is not working, seems to *always* update even with NEVER selected.

EDIT: I may have made an error in last post. 'Never' seems to be working but not all the time. I can't figure it out, will keep testing.
Thank you.

Mon, Sep 23, 5:50 AM · Dependency Graph, Modeling, BF Blender
todd doehring (tcdabemis) added a comment to T68840: 2.8 Metaballs update 'NEVER' is not working, seems to *always* update even with NEVER selected.

Thanks!
I noticed that this task is now 'closed', but the original issue with 'never' is still not working and using 'fast' makes little difference.

Mon, Sep 23, 4:35 AM · Dependency Graph, Modeling, BF Blender

Fri, Sep 20

Philipp Oeser (lichtwerk) added projects to T63662: Python API: Huge performance degradation in Blender 2.8: Python, Dependency Graph.
Fri, Sep 20, 10:53 AM · Dependency Graph, Python, BF Blender
Philipp Oeser (lichtwerk) added projects to T62575: Curve with taper object updates vertex locations only once per session: Modeling, Dependency Graph.

This seems to be fixed in current master.
(Have not hunted down the exact commit, but there have been many changes in this area since...)

Fri, Sep 20, 10:49 AM · Dependency Graph, Modeling, BF Blender
Jacques Lucke (JacquesLucke) updated subscribers of T69727: Dependency Cycle Detected when copying objects with cloth and collision modifier.

@Sergey Sharybin (sergey) is this a limitation of the cloth simulation?

Fri, Sep 20, 9:09 AM · Dependency Graph, Physics, BF Blender

Thu, Sep 19

Matthias Dorfelt (mokafolio) added a comment to T69727: Dependency Cycle Detected when copying objects with cloth and collision modifier.

Did this work in older versions of Blender? I'm not entirely sure which kinds of interactions the current cloth system supports.

Thu, Sep 19, 7:30 PM · Dependency Graph, Physics, BF Blender
Jacques Lucke (JacquesLucke) added projects to T69727: Dependency Cycle Detected when copying objects with cloth and collision modifier: Physics, Dependency Graph.

Did this work in older versions of Blender? I'm not entirely sure which kinds of interactions the current cloth system supports.

Thu, Sep 19, 5:29 PM · Dependency Graph, Physics, BF Blender
Philipp Oeser (lichtwerk) closed T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change as Resolved by committing rB08b0c08577e6: Fix the rest of T68666: Animated mesh UVs, vertex colors don’t update on time….
Thu, Sep 19, 5:26 PM · BF Blender (2.81), Dependency Graph, Animation
Sergey Sharybin (sergey) added a comment to T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change.

@Philipp Oeser (lichtwerk), looks correct. Mind adding RNA_LatticePoint to the same exceptions and commit?

Thu, Sep 19, 5:14 PM · BF Blender (2.81), Dependency Graph, Animation
Philipp Oeser (lichtwerk) added a comment to T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change.

updated paste with vcol fix...

Thu, Sep 19, 5:02 PM · BF Blender (2.81), Dependency Graph, Animation
Philipp Oeser (lichtwerk) added a comment to T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change.

This seems to do it

1
2
3diff --git a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
4index 3620c82d4b3..e6938a8d303 100644
5--- a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
6+++ b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc
7@@ -282,7 +282,8 @@ RNANodeIdentifier RNANodeQuery::construct_node_identifier(const PointerRNA *ptr,
8 RNA_struct_is_a(ptr->type, &RNA_Spline) || RNA_struct_is_a(ptr->type, &RNA_TextBox) ||
9 RNA_struct_is_a(ptr->type, &RNA_GPencilLayer) ||
10 RNA_struct_is_a(ptr->type, &RNA_MeshUVLoop) ||
11- RNA_struct_is_a(ptr->type, &RNA_MeshLoopColorLayer)) {
12+ RNA_struct_is_a(ptr->type, &RNA_MeshLoopColor) ||
13+ RNA_struct_is_a(ptr->type, &RNA_VertexGroupElement)) {
14 /* When modifier is used as FROM operation this is likely referencing to
15 * the property (for example, modifier's influence).
16 * But when it's used as TO operation, this is geometry component. */
17diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
18index 61c8eec7a72..cefc5aded7c 100644
19--- a/source/blender/makesrna/RNA_access.h
20+++ b/source/blender/makesrna/RNA_access.h
21@@ -392,6 +392,7 @@ extern StructRNA RNA_Mesh;
22 extern StructRNA RNA_MeshCacheModifier;
23 extern StructRNA RNA_MeshColor;
24 extern StructRNA RNA_MeshColorLayer;
25+extern StructRNA RNA_MeshLoopColor;
26 extern StructRNA RNA_MeshDeformModifier;
27 extern StructRNA RNA_MeshEdge;
28 extern StructRNA RNA_MeshFloatProperty;

Thu, Sep 19, 4:50 PM · BF Blender (2.81), Dependency Graph, Animation
Damien Picard (pioverfour) added a comment to T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change.

Hi @Sergey Sharybin (sergey), thank you.
UVs appear fixed, but I’m not sure about the vertex colors. In the test file below, one vertex of the mesh labeled V-Cols is supposed to go from blue to white on playback.
The one labeled V-groups has one vertex shift to the right with a Displace modifier.
The lattice Points are also animated.

Thu, Sep 19, 4:49 PM · BF Blender (2.81), Dependency Graph, Animation
Philipp Oeser (lichtwerk) added a comment to T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change.

That enough?

Thu, Sep 19, 4:43 PM · BF Blender (2.81), Dependency Graph, Animation
Sergey Sharybin (sergey) added a comment to T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change.

UVs and vertex colors should now be fixed.
But in order to fix the vertex groups case I need to have a demo file.

Thu, Sep 19, 3:57 PM · BF Blender (2.81), Dependency Graph, Animation
Philipp Oeser (lichtwerk) added a comment to T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change.

quick note: works as soon as you insert a "regular" keyframe on the mesh datablock [e.g. a keyframe on mesh.texspace_location[0] or something totally unrelated as mesh.use_customdata_vertex_bevel]

Thu, Sep 19, 1:03 PM · BF Blender (2.81), Dependency Graph, Animation

Wed, Sep 18

Philipp Oeser (lichtwerk) added a comment to T69000: Hair: changing children related settings not updating in particle editmode (also crash when deleting a particle, then undo).

Note the crasher on delete, undo is also fixed by D5755: Fix T68645: Hair Particle Edit - Particle Mirror crash when children are visible in the viewport

Wed, Sep 18, 3:01 PM · Dependency Graph, Physics, BF Blender
Brecht Van Lommel (brecht) added projects to T64262: Performance: EditMesh to Mesh on every modifier run: Dependency Graph, Performance.
Wed, Sep 18, 1:03 PM · Performance, Dependency Graph, BF Blender

Tue, Sep 17

Brecht Van Lommel (brecht) edited projects for T58044: Issue with rigid body and modifiers dependent on transform, added: BF Blender; removed BF Blender (2.81).

This needs bigger design changes to the dependency graph and physics, and while it would be good if we can, it is not a requirement to be fixed for 2.81.

Tue, Sep 17, 3:30 PM · BF Blender, Dependency Graph, Physics

Sep 13 2019

Philipp Oeser (lichtwerk) added a project to T64896: Switching Grease Pencil material slot link to Object and back to Data corrupts material: Dependency Graph.
Sep 13 2019, 1:49 PM · Dependency Graph, Grease Pencil, BF Blender

Sep 12 2019

Brecht Van Lommel (brecht) added a comment to T69796: Deferred deletion of depsgraph copied data.

Deferring deletion of the scene is not practical, the depsgraph references the original scene. Even if it didn't then having multiple copies of the scene would use too much memory.

Sep 12 2019, 4:15 PM · Dependency Graph, BF Blender
Sergey Sharybin (sergey) added a comment to T69796: Deferred deletion of depsgraph copied data.

I am not sure what is "deferred" here means exactly. But technically there are only two things which needs locked interface:

Sep 12 2019, 4:10 PM · Dependency Graph, BF Blender
Sebastian Parborg (zeddb) updated subscribers of T69796: Deferred deletion of depsgraph copied data.

@Brecht Van Lommel (brecht) @Sergey Sharybin (sergey) any thoughts on this?

Sep 12 2019, 2:22 PM · Dependency Graph, BF Blender
YimingWu (NicksBest) created T69796: Deferred deletion of depsgraph copied data.
Sep 12 2019, 1:20 PM · Dependency Graph, BF Blender

Sep 11 2019

Sergey Sharybin (sergey) added a comment to T63548: animated custom property does not change value when animation is rendered.

What happens here is that you're accessing property from an original datablock, but it's actual value is only known at the evaluated version.

Sep 11 2019, 11:04 AM · Dependency Graph, BF Blender, Animation
Jeroen Bakker (jbakker) created D5750: DepsGraph: Query Local View.
Sep 11 2019, 8:16 AM · Dependency Graph

Sep 9 2019

Dalai Felinto (dfelinto) removed a project from T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change: BF Blender: Regressions.
Sep 9 2019, 9:24 PM · BF Blender (2.81), Dependency Graph, Animation
Dalai Felinto (dfelinto) removed a project from T65889: Hair Particles not updating in Viewport when using Textures to drive Hair Size: BF Blender: Regressions.
Sep 9 2019, 9:22 PM · Nodes & Physics, Dependency Graph, BF Blender
Dalai Felinto (dfelinto) removed a project from T58044: Issue with rigid body and modifiers dependent on transform: BF Blender: Regressions.
Sep 9 2019, 9:19 PM · BF Blender, Dependency Graph, Physics

Sep 6 2019

Lorenzo Celli (lorenzocelli) added a comment to T66392: Keyframes and animations on custom nodes properties seem not working.

Anything new? Maybe I'm missing another similar bug report

Sep 6 2019, 7:18 PM · Animation, Dependency Graph, BF Blender
Philipp Oeser (lichtwerk) added a comment to T58044: Issue with rigid body and modifiers dependent on transform.

@Sergey Sharybin (sergey) : I have added this to 2.81 milestone (since it was set to "High"), mind checking again?

Sep 6 2019, 12:48 PM · BF Blender, Dependency Graph, Physics
Philipp Oeser (lichtwerk) added a comment to T68666: Animated mesh UVs, vertex groups, vertex colors don’t update on time change.

@Sergey Sharybin (sergey) : I have added this to 2.81 milestone (since it was set to "High"), mind checking?

Sep 6 2019, 12:43 PM · BF Blender (2.81), Dependency Graph, Animation
Philipp Oeser (lichtwerk) edited projects for T58044: Issue with rigid body and modifiers dependent on transform, added: BF Blender (2.81); removed BF Blender.
Sep 6 2019, 12:26 PM · BF Blender, Dependency Graph, Physics