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

Feb 25, 2012 at 10:26am

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

How do i rotate an image_surface or the transform matrix?

– Pasted Max Patch, click to expand. –
#61969
Mar 16, 2012 at 10:10am

bump

#223809
Mar 19, 2012 at 11:32pm

The rotate message works when used with svg_render.

– Pasted Max Patch, click to expand. –
#223810
Mar 20, 2012 at 11:18am

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?

#223811
Mar 20, 2012 at 1:27pm

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.

#223812
Mar 20, 2012 at 4:07pm

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

#223813

You must be logged in to reply to this topic.