Forums > Jitter

jit.gl.videoplane or texture not scaling from the center

August 8, 2014 | 12:45 pm

hi jitter fellows,

i feel a bit lost ….
i am trying to scale (zoom) a jit.gl.videoplane (or texture) on from and to its center …
i tryed to use the anchor message, but it only works with non center rotation not for scaling.

also had no luck with jit.anim.node.

perhaps someone has a hint for me.

all the best,
petcode


August 11, 2014 | 12:12 pm

please post your patch


August 12, 2014 | 2:24 am

hello rob,

thank you for the interest.
i have made 2 examples.

my goal is to define a point on a videoplane, which defines the center for rotation and scaling.
as i wrote i tryed the anchor message, which works for rotation but not scaling.

i had no luck using jit.anim.node ….

i also added a smal demo movie made in aftereffects, which shows, what i try to get.
scale_dummy.mp4

perhaps you have a hint for me …

thanks,
petcode

anchor example:

– Pasted Max Patch, click to expand. –

jit.anim.node example

– Pasted Max Patch, click to expand. –
  • This reply was modified 1 month by  petcode.

August 12, 2014 | 10:45 am

i see.
yeah, it doesn’t look like that type of scaling is supported with the anim.node objects or the anchor attribute.

sorry bout that. good luck finding a solution.


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