hi all ,
i'll try to be clearer than last posts ...
i'm trying to process some anamorphose of a picture .
here is a patch , a heavy-CPU-loading one .
i' m unable to manage jit.expr (working on it but it's still too early) , gen codes or other GPU clever stuff , enough , to be fast and light .
so i'm going the bad way , but this is enough for what i want to do .
it doesn't work good ...
a picture , on a videoplane , is fullscreened in a jit.window .
a jit.gl.cornerpin is drawn on it (randomn points) , and the corner coordinates are being processed in order to produce a matrix that will be the "repos" matrix of a jit.repos .
jit.repos' output is going to the jit.gl.cornerpin , as its texture .
i should get a flat image , on all the jit.window ,
but it's not the case ,and i can't figure out why .
is the process good ( i mean "good") , but the use of the videoplane , not ?
the process consists of a series of scale boxes , and 2 counters generating each pixel of the "repos matrix" , using these scaled values .
any ideas why it's not working ?
.... render is on "ortho 2" , cornerpin is on "cornermode relative" ,i don't know what else to say ...
sorry for this quite messy patch , i have tried to make it the clearest i could .