rotation with NSAffineTransform jit.gl.imageunit

Mar 5, 2011 at 4:18pm

rotation with NSAffineTransform jit.gl.imageunit

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

#55348
Mar 7, 2011 at 3:11pm

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

#199198
Mar 9, 2011 at 6:42pm

No, I just forgot its existance…
Thank you !

#199199

You must be logged in to reply to this topic.