Forums > Jitter

slab version od jit.dimmap?


t
June 18, 2013 | 11:39 am

I would like to rotate a texture for 90 degrees in a slab chain in a way that can be done with jit.dimmap. So in a way that would be equal to "90 degrees rotation of jit.pwindow". Is there any slab appropriate for that job?

I tried already td.rota.jxs. It rotates texture but i get the blackness around, since I am not rotating a square image.

I also tried td.repos.jxs, but I have the same problem as with td.rota.jxs. My final image is pixelated since it is "rotated" and stretched…

"jit.dimmap @map 1 0" is actually "perfect" for the job, but I would like to stay on the GPU…

Thanks a lot for any hint!


June 18, 2013 | 1:57 pm

here’s a simple jit.gl.pix solution:
<code>

– Pasted Max Patch, click to expand. –

</code>



t
June 18, 2013 | 2:22 pm

Thank you for your answer LSKA but it unfortunately doesn’t solve my problem. I modified the patch so the problem will be more obvious. The "rotated" texture is pixelated when using your jit.gl.pix and as you can see the "rotated" image is not pixelated when using jit.dimmap…

<code>

– Pasted Max Patch, click to expand. –

</code>


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