jit.videoplane scale proportional to the proportion from the texture

bart at max (previously BITter)'s icon

Hello
Searched on the forum but i haven't find a good way to change a jit.videoplane to the same proportions then the texture on that jit.videoplane.

example:

a texture is 4:3 then videoplane is 4:3
new texture is 16:9 then videoplane changes to 16:9
new texture is 12:4 then videoplane changes to 12:4
and so on ...

Now textures are stretched or compressed on jit.videoplanes.

Thanks.

Rob Ramirez's icon

check out gl.cornerpin @preserve_aspect 1

bart at max (previously BITter)'s icon

Meanwhile, i have wrote my own way to get this working, but is quite slow, so i will check that out.
Too many new externals and possibilities in Max 6 that i haven't yet explored.
Thanks.