Forums > Jitter

jit.mgraphics – how to rotate an image_surface or the transform matrix?

February 25, 2012 | 10:26 am

How do i rotate an image_surface or the transform matrix?

– Pasted Max Patch, click to expand. –

March 16, 2012 | 10:10 am

bump


March 19, 2012 | 11:32 pm

The rotate message works when used with svg_render.

– Pasted Max Patch, click to expand. –

March 20, 2012 | 11:18 am

Thanks for this.

I’m wondering who is in charge for the jit.mgraphics object at cycling74. I posted a bug report when 6.0.3 was the current version. I didn’t get a reply and in 6.0.4 it’s still not working with image surfaces. Or do i miss something obvious?


March 20, 2012 | 1:27 pm

I recommend you check out the JSUI-MGraphics patch a day patches.

In particular, look at the15th November entry which says "image drawing doesn’t really survive the rotation process like you’d hope…" and the patch for 22nd November which says "..here is an example of using images with acceptable rotation. In order to do it, you have to actually create an image background for a surface, then use that as a rectangle fill. A little convoluted, but it allows you to use images in a warped environment…"

http://www.cycling74.com/forums/topic.php?id=36044

Hope this helps, and good luck.


March 20, 2012 | 4:07 pm

Hi Karl,

As Damien said, definitely check out the JSUI-MGraphics patch a day, lots of great tips and tricks in there. If you think you have found a bug, please contact Support by filling out the bug reporting form found here:

http://cycling74.com/max6-bug-form/

Thanks,
-Ben


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