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

Jan 10, 2008 at 11:04pm

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

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

#35308
Jan 10, 2008 at 11:24pm

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
>
—————————————————-

#120238
Jan 12, 2008 at 6:00am

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….

#120239
Jul 6, 2013 at 2:07pm

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.

#255104
Aug 10, 2013 at 6:02pm

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.

#258553
Aug 12, 2013 at 3:30pm

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

#258719

You must be logged in to reply to this topic.