Sync problems when changing GEO instances

Hi everyone,

I have a question and was wondering if anyone could help.

I’m creating a TouchDesigner patch with a grid that I use for rectangle instancing and applying offset textures to them. Nothing particularly complex. I’ve created several CHOPs that update their parameters based on the new number of grid elements so that the GEO doesn’t throw an error saying the number of elements doesn’t match the number of instances.

The problem is that when I change the grid size dynamically, the CHOP parameters update with a slight delay. For a frame or two, the GEO reports a mismatch, goes black, and then recovers. The flicker only lasts 1–2 frames, but I’d like to know if there’s a way to keep all these changes synchronized.

I’ve also tried introducing a Delay CHOP, but the results are inconsistent because, I assume, not every process updates with exactly the same timing. If one process takes slightly longer than expected, the delay isn’t enough and the brief flicker happens again.

Has anyone run into this issue or found a reliable way to synchronize these updates?

Hi @genzo3

can you share a little example illustrating your issue? The cookchain in TouchDesigner usually prevents this from happening, meaning something changes that other things depend on, then all of the chain is cooked in the same frame.

cheers
Markus