HElp. ImageGrid runs slow.

coyne's picture

Hi everyone!

Im trying to build a comp which loads pictures and displays them in a grid.

I just wondering if there a better way or any possibilities to make it run faster. The frame rate is horribly slow.

Any guidance appreciated

Niklas

PreviewAttachmentSize
help2.qtz32.55 KB

gtoledo3's picture
Re: HElp. ImageGrid runs slow.

My opinion is that this kind of activity is better dealt with in a custom patch (rendering many images as layers, and dealing with them in aggregate or independently) because you can remove cabling from the composition and possibly get something working faster than the QC Iterator does.

That said, how's about this workaround? +45 fps gained here; it was running at 15fps, now it's running at 60.

Inside of the "File List To Image Structure" macro, the problem is that the Image Importer is evaluating way more than it has to; once it's loaded the path can be bypassed and frame rate will increase significantly. You could, for example, theoretically be loading different filepaths for each iteration, and that's pricey. The fact that the update is False and the Queue isn't filling doesn't make a difference in regaining your framerate, only loading "nothing" will regain, as far as I am aware.

Is that an Apple suggested macro, out of curiosity? Looks kinda like one... Let me know if you get the same gain on your end.

PreviewAttachmentSize
help2_amended.qtz33.53 KB

gtoledo3's picture
Re: HElp. ImageGrid runs slow.

This is slightly better. Instead of arbitrarily bypassing, it does a loop, and turns off as soon as possible.

PreviewAttachmentSize
help2_amended2.qtz34.14 KB

coyne's picture
Re: HElp. ImageGrid runs slow.

Hi George!

Thanks for the help. Yeah from the start it was a apple comp. Take care.

Niklas