Forums > Jitter

How to flip/mirror a Jitter matrix?

Mar 18 2011 | 11:47 pm

What’s a good way to flip (top to bottom) or mirror (left to right) a Jitter matrix?

I’ve grown used to using OpenGL for display, in which case I use a @scale -1 type construct, but in this particular case I am using all Jitter matrices.

Mar 19 2011 | 12:24 am

[jit.dimmap] should do what you need, with combinations of "invert" and "map" commands. the "map" commands will flip the X Y dimensions, so use the [fpsgui] and check the outcoming dimensions to be sure it’s doing what you want.

Mar 19 2011 | 6:19 am

FWIW it is also possible to flip a matrix with the srcdimstart, srcdimend and usedstdim attributes (or the destination equivalents). (see Jitter Tutorial 14 for clues)

Nov 05 2013 | 12:46 pm

can you flip it in openGL? Some shader maybe?

Oct 03 2015 | 6:07 pm

[ dimmap @0 1 ] to flip it like a mirror
you can add to inlet the object [ pak invert 0 0 ] with two toggles as well
as well

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

Forums > Jitter