less tiny video?
I'm working from Andrew Benson's TinyVideo patch from Jitter Recipes Book 3.
I'm trying to make the videos display as a 5 x 5 grid instead of a 10 x 10 grid in a window 800x600.
I can't seem to figure out where the size of each grid cell is determined. I suspect it's in the jit.expr objects, but I'm too new to this to figure it out.
Help?
Eeep! I broke the first rule of forum posts (by not doing a thorough search for this question)... thanks Yair!
I sort of figured it out. I managed to get it to work how I'd like, but I'm not sure how.
Do you know how the last two parts of the jitter expression below map textures to the quad?
jit.expr @expr (cell[0]%4.>0.)*(cell[0]%4.0.6)*0.31875-0.1575 0. (cell[0]%4.>0.)*(cell[0]%4.0.6)*0.2
I get the fact that the first three parts assign the x,y & z vertex coordinates, and I understand that the last two parts are used to map the texture, but I'm not familiar enough with OpenGL to understand how these values work. Is it just a scaling value?
wow uts been so long, i thinnk the c74 crew answered this in one of the threads.
best thing is to pick it apart using jit cell block and a small 10x10 dim matrix