Forums > Jitter

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


Aug 08 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

Aug 11 2014 | 12:12 pm

please post your patch

Aug 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 year by  petcode.
Aug 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.

Jan 09 2015 | 9:51 am

Petcode can this patch help you?


-- Pasted Max Patch, click to expand. --

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

Forums > Jitter