jit.gl.cornerpin stretches half of the image

Ricardo's icon

I have been trying to fix this for some time now, and I cannot understand what the issue is.
When I use jit.gl.cornerpin half of my image becomes stretched. The corner-pin object shows the video, but it compresses it into one half of the image and stretching the pixels out in the other half.

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

Can you confirm the issue or is this another retina problem ?

Rob Ramirez's icon

hi ricardo.

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

it looks l ike there's a bug with how gl.cornerpin handles textures in uyvy colormode.
solution is to not use uyvy colormode.

Ricardo's icon

Thank you Robert :)

diablodale's icon

Hahaha,
Patient: But doctor, it hurts when I bend my arm.
Doctor: Then don't bend your arm.

;-)

tada's icon

For enyone interested, a possible workaround is to use UYVY mode synced with jit.gl.slab.

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