jit.gl.cornerpin stretches half of the image

Dec 30, 2012 at 11:25am

jit.gl.cornerpin stretches half of the image

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.

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

– Pasted Max Patch, click to expand. –
#65856
Dec 30, 2012 at 9:19pm

hi ricardo.

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

– Pasted Max Patch, click to expand. –
#237172
Jan 2, 2013 at 1:01pm

Thank you Robert :)

#237173
Jan 11, 2013 at 2:36am

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

;-)

#237174

You must be logged in to reply to this topic.