Forums > Jitter

VPS2A matrix readback

February 25, 2009 | 10:12 pm

So, I’m finding Andrew Benson’s Video Processing patches to be extremely useful/helpful. I’m a little confused, however, on how to do matrix readback in this context. I suspect it has something to do with the "cc.uyvy2rgba.jxs @dimscale 2 1" voodoo, and essentially doing the inverse of that? You can see in the attached patch where I’m trying to do the readback, and how it obviously isn’t working. Suggestions / help are much appreciated! Thanks, Michael

– Pasted Max Patch, click to expand. –

February 26, 2009 | 4:50 am

michael,

What kind of problems are you experiencing? This seems to work as expected here. Maybe I am missing the intention of your patch?

-Ben


February 26, 2009 | 5:58 am

Hi Ben,
Thanks very much for your reply. This video shows http://psychoangelo.com/d/problempatch.mov

my problem. (There’s weird flipping stuff and flickering going on.) The video is made with the patch I included above.

Thanks!,
Michael


February 26, 2009 | 8:30 am

Hello,

I had the same problem until I discover the following:
put a [jit.matrix] instead of [jit.matrix 4 char 160 120].

It works for me.


February 26, 2009 | 5:14 pm

Kyred,
Thank you! This is really immediately useful for me. I don’t understand why this solution works (and the other doesn’t), but hey…

Thanks!,
Michael


February 26, 2009 | 6:59 pm

Michael,

There was a bit of an issue with all of this with jit.gl.slab several versions ago, but it has been fixed for some time. Sounds like you are using an old version of Max 5. I highly recommend updating to Max 5.0.6.

-Ben


February 26, 2009 | 7:04 pm

Hello,
What version of Max are you using? This sounds like a bug we fixed last year sometime. If you have updated to the latest version and are still getting the texture readback problems, let us know. In the meantime, a workaround I know of is to run the texture through a jit.gl.texture object before the matrix.
FWIW, I will also be including a record-to-disk section in the next installment of VPS tutorials.

Andrew B.


February 26, 2009 | 11:25 pm

Thanks, and my bad on the updates. I’m always nervous to update right before I’ve got a something coming up, and that state seems to keep occurring. Will do it, though. Thanks again, Michael


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