Forums > Jitter

Rotate Videoplane from Corners

July 8, 2012 | 5:15 pm

The title says it all. I’m having trouble rotating from the corners (or from any user specified point).

There is one alternative using jit.gl.sketch, but I would like to know if it is possible or not with jit.gl.videoplane.

Thanks!

Stav.



dtr
July 8, 2012 | 7:57 pm

Not sure what you mean exactly but can’t it be solved by a translation-rotation-translation combo?


July 9, 2012 | 8:21 pm

check out the new @anchor attribute in jit.gl objects.
setting @anchor to 1, -1, 0 will allow you to rotate around the upper-left corner of the videoplane.



dtr
July 9, 2012 | 8:43 pm

neat!


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