Forums > Jitter

rotation with NSAffineTransform jit.gl.imageunit

March 5, 2011 | 4:18 pm

Hi,
I’m trying to rotate a movie with NSAffineTransform jit.gl.imageunit but without success. I get that m11 is xscale, m22 yscale, tx xtranslation and ty ytranslation. But I don’t know how to use m12 and m22…
I’ve checked apple docs but it seems that there is a rotation method I can’t access with jit.gl.imageunit
Any help would be much appreciated.
pierre


March 7, 2011 | 3:11 pm

Is there a reason you’re not using the td.rota shader with jit.gl.slab instead?


March 9, 2011 | 6:42 pm

No, I just forgot its existance…
Thank you !


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