Forums > Jitter

@capture seems to be halving my texture resolution

November 23, 2010 | 8:25 am

I’m using @capture to send a texture to a different context.

When I do this, it seems to diminish the quality of the texture (by like, about 1/2). Why is this?

Example patch below.

Also attaches is a screenshot, in which the top two are Jitter windows, the bottom is the texture as a quicktime, as I expect it to appear. The Jitter contexts are blurry, missing details.

– Pasted Max Patch, click to expand. –

[attachment=146880,1426]

Attachments:
  1. Screen_shot_2010-11-23_at_12.22.05_AM..png

November 23, 2010 | 6:31 pm

What you are seeing there is the default dims of the texture. You will need to specify the dims for the texture you are capturing to. For best results, you’ll probably want to match that to the size of your QT movie or something like that.


November 23, 2010 | 8:38 pm

you should also set gl.texture @adapt 0 i believe.


November 24, 2010 | 7:22 am

Thanks, setting the texture dims and using adapt 0 resolved the issue.


Viewing 4 posts - 1 through 4 (of 4 total)