Forums > Jitter

[Sharing is Fun] – GPU powered frame blending (working now… !)

January 10, 2008 | 11:04 pm

Hi.

Here is an updated frame blending patch for jit.qt.movie which
interpolates between frames when y… o…. u… a… r… e… g…
o… i….. n…….. g…… s……… l………. o………
w………………….

It has a weird issue where you MAY have to re-instantiate
jit.gl.render. Not sure why. This version now works in reverse, and is
smart enough to get out of the way if you set your rate above 0.9, so
you dont have the extra overhead of running the movie through a mixer
for no reason. Note I use my lumablend shader, which I think looks
better, but feel free to throw in what you want. Its also pretty close
to an abstraction already, so you can drop it in to existing stuff
without too much trouble.

http://abstrakt.vade.info/ILOVETHEMAXLIST/GPUFrameBlending.zip


January 10, 2008 | 11:24 pm

pretty nice , thanks :)

Quote: vade wrote on Fri, 11 January 2008 00:04
—————————————————-
> Hi.
>
> Here is an updated frame blending patch for jit.qt.movie which
> interpolates between frames when y… o…. u… a… r… e… g…
> o… i….. n…….. g…… s……… l………. o………
> w………………….
>
> It has a weird issue where you MAY have to re-instantiate
> jit.gl.render. Not sure why. This version now works in reverse, and is
> smart enough to get out of the way if you set your rate above 0.9, so
> you dont have the extra overhead of running the movie through a mixer
> for no reason. Note I use my lumablend shader, which I think looks
> better, but feel free to throw in what you want. Its also pretty close
> to an abstraction already, so you can drop it in to existing stuff
> without too much trouble.
>
> http://abstrakt.vade.info/ILOVETHEMAXLIST/GPUFrameBlending.zip
>
—————————————————-


January 12, 2008 | 6:00 am

thanks Vade, this is an area that could use a lot of development, loading textures onto the gpu at 30fps seems to be a challenge at this moment. Defineatly interested in finding methods to spatially interpolate frames of video using shaders….


July 6, 2013 | 2:07 pm

Hey Vade, I was doing some research on frame blending and came across this thread. I tried loading your example patch in Max 6.1.3 but it does not seem to work. Can you give me a hand in getting it working again? Many thanks.

EDIT: Got it working! Some strange initialization sequence is required.


August 10, 2013 | 6:02 pm

Hi,

I have tried every tutorial and sample patch posted that I can find yet I cannot get the jit.gl.render from this patch batch into a matrix. When I tell it to @drawto a matrix the matrix stays grey.

Thanks in advance.


August 12, 2013 | 3:30 pm

use jit.gl.asyncread, or post your patch.


Viewing 6 posts - 1 through 6 (of 6 total)