Jitter Recipe 36 Tiny Video

ATH's icon

Hi,
I've spent some time with this patch, but I can't understand it yet.
In which Matrix and plane are the Coordinates to pick Frames in the texture.
I also don't understand what the jit.expr objekt in the gen_quads subpatch does. I guess it also somehow generates the coordinates but I don't see how to read them.

jit.expr @expr "(cell[0]%4.>0.)*(cell[0]%4.0.6)*0.15-0.075" "0." "(cell[0]%4.>0.)*(cell[0]%4.0.6)*0.1"

Can anyone help me there?
kind regards
ath

Andrew Benson's icon

Check out the forum thread called "jit.expr and shatter". This thread
includes some pretty good explanations of what is going on the recipe.
Note that the jit.expr stuff is pretty much the same in the TinyVideo
and Shatter recipes.

Andrew B.

ATH wrote:
> Hi,
> I've spent some time with this patch, but I can't understand it yet.
> In which Matrix and plane are the Coordinates to pick Frames in the texture.
> I also don't understand what the jit.expr objekt in the gen_quads subpatch does. I guess it also somehow generates the coordinates but I don't see how to read them.
>
> jit.expr @expr "(cell[0]%4.>0.)*(cell[0]%4.0.6)*0.15-0.075" "0." "(cell[0]%4.>0.)*(cell[0]%4.0.6)*0.1"
>
> Can anyone help me there?
> kind regards
> ath
>

yair reshef's icon

THIS MOSTLY RELATES TO THE SHATTER EXAMPLE BUT THE IDEA IS THE SAME.
ITS A BIT HARD TO WARP YOUR HEAD AROUND THIS, BUT VERY REWARDING.
sorry for the caps, i am drunk

On 9/27/07, ATH wrote:
>
>
> Hi,
> I've spent some time with this patch, but I can't understand it yet.
> In which Matrix and plane are the Coordinates to pick Frames in the
> texture.
> I also don't understand what the jit.expr objekt in the gen_quads subpatch
> does. I guess it also somehow generates the coordinates but I don't see how
> to read them.
>
> jit.expr @expr "(cell[0]%4.>0.)*(cell[0]%4.
> 0.6)*0.15-0.075" "0." "(cell[0]%4.>0.)*(cell[0]%4.
> 0.5%2.>0.6)*0.1"
>
> Can anyone help me there?
> kind regards
> ath
>
>