Of course, the answer is to use a Accumulator Patch. I had forgotten
about this. Thanks. I was reminded off list, and figured i should share.
On Jan 11, 2008, at 4:17 PM, vade wrote:
Hello.
I commonly use this GLSL shader in another environment that does
temporal averaging. Ive attempted to port it over to QC as an Core
Image Kernal. It works, however, over time my framerate drops, then
I have to force quit QC or my whole machine hangs.
Within the 'Send to Apple' crash log, I note what is basically an
infinite stack of texture requests, something like:
Thread id: 5da03c8
User stack:
32 _fe_tree_render_apply + 827 (in QuartzCore) [0x936abe99]
32 _fe_tree_create_texture + 1191 (in QuartzCore) [0x936ac745]
32 _fe_texture_new + 463 (in QuartzCore) [0x936ad948]
32 _texture_retain + 674 (in QuartzCore) [0x936add81]
32 _fe_tree_render_texture + 60 (in QuartzCore)
[0x936dfcdb]
32 _fe_tree_render_ + 1704 (in QuartzCore) [0x936ab599]
32 _fe_tree_render_apply + 827 (in QuartzCore)
[0x936abe99]
32 _fe_tree_create_texture + 1191 (in QuartzCore)
[0x936ac745]
32 _fe_texture_new + 463 (in QuartzCore)
[0x936ad948]
32 _texture_retain + 674 (in QuartzCore)
[0x936add81]
32 _fe_tree_render_texture + 60 (in
QuartzCore) [0x936dfcdb]
32 _fe_tree_render_ + 1704 (in QuartzCore)
[0x936ab599]
32 _fe_tree_render_apply + 827 (in
QuartzCore) [0x936abe99]
32 _fe_tree_create_texture + 1191 (in
QuartzCore) [0x936ac745]
32 _fe_texture_new + 463 (in
QuartzCore) [0x936ad948]
32 _texture_retain + 674 (in
QuartzCore) [0x936add81]
32 _fe_tree_render_texture + 60
(in QuartzCore) [0x936dfcdb]
32 _fe_tree_render_ + 1704 (in
QuartzCore) [0x936ab599]
32 _fe_tree_render_apply +
827 (in QuartzCore) [0x936abe99]
32 _fe_tree_create_texture
+ 1191 (in QuartzCore) [0x936ac745]
32 _fe_texture_new + 463
(in QuartzCore) [0x936ad948]
32 _texture_retain +
674 (in QuartzCore) [0x936add81]
32
_fe_tree_render_texture + 60 (in QuartzCore) [0x936dfcdb]
32 _fe_tree_render_
+ 1704 (in QuartzCore) [0x936ab599]
and on and on and on.
Now, the kernel I use requires feeding its output into one of its
sampler inputs. Suspecting some recursion in the Core Image
optimizing compiler runtime magic elves voodoo.. stuff.. , Ive tried
various methods to do this feedback copy stage. Ive tried an image
splitter, using a passthrough core image kernel, and a crop filter
without doing any cropping. None have had any effect, and I still
slow down over time.
<Slide.qtz>
Anyone care to take a look and explain where I am going wrong. In
Jitter, I can run this shader for days on end at a solid 60FPS.
For reference, I am running 10.5.1, Macbook Pro, QT 7.3 (not 7.3.1)
Thanks,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]