preserved aspect ratio and jit.gl.node

slx's icon

hi there,

I use a [jit.gl.videoplane] and display in in a [jit.gl.node] .

If I set the in the [jit.gl.videoplane] the attribute @preserve_aspect to 1 I cannot anymore re-position the everything with the [jit.gl.node] @postion attribute.

What does help here? I read sometimes something about the [jit.gl.cornerpin] but could not get it to work within an [jit.gl.node].

Thanks in advance,

Sebastian

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

slx's icon

the [jit.gl.cornerpin] did it. I might have overlooked to set @caputre of the [jit.gl.node] to active.

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

Good tutorial about this topic (not the aspect ratio thing) of several movies on videoplanes with node and cornerpin:

TFL's icon

No need for cornerpine to move a layer, the simpler [jit.gl.layer] does it already.

Also, when using [jit.movie] with gl object, always remember to @output_texture 1

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

But it still doesn't explain why using @preserve_aspect 1 prevents the jit.gl.node from being positioned directly. I don't see why capturing the node would be required with preserve_aspect is enabled. Probably if Rob or Mateo come across this thread they will have an explanation?

slx's icon

thank you TFL.

like it.

p.s. why is @output_texture 1 better?

p.p.s. how to do that text stylethat "text style"? I just copied from your txt.