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

petcode's icon

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

Rob Ramirez's icon

please post your patch

petcode's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

anchor example:

Max Patch
Copy patch and select New From Clipboard in Max.

jit.anim.node example

scale_dummy.mp4_.zip
zip
Rob Ramirez's icon

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.

Rajan Craveri's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Petcode can this patch help you?