Forums > Jitter

Can't get a resolution higher than 320×240 with jit.dx.grab

Jan 16 2010 | 2:34 am

No matter what dim I send to jit.dx.grab, it seems to use the same resolution. For instance if I use my PS3 Eye Cam’s test app, I can produce a picture at a resolution of 640×480 no problem:

But if I use jit.dx.grab, I can never produce an image with any higher resolution than this:

I’ve already set the size of the jit.window object to 640×480. Any help?

Jan 16 2010 | 4:49 am

the jit.window is only the viewer. set the dim in the jit.dx.grab, that’s what matters. for best viewing results keep them both the same (or scale the viewer by a power of 2), but whatever you set the jit.window to, it will scale what’s coming in to fit.

Click the left inlet on both the jit.dx.grab and the jit.window objects… notice that only the dx.grab has "dim" as an attribute.

Jan 16 2010 | 2:47 pm

sorry, maybe my post wasn’t clear enough, but I am setting the dim of jit.dx.grab to 640×480 and seeing the results posted above.

Any other suggestions?

Jan 16 2010 | 2:50 pm

Here are the inspector settings for my jit.dx.grab object:

Jan 17 2010 | 12:56 am

What dim is reported coming directly out or the jit.dx.grab object via jit.matrixinfo of the jit.fpsgui? And posting a patch is going to get you the quickest help…we can only guess what might be wrong with your patch.


EDIT: changed "of" to "or" in first sentence above

Jan 17 2010 | 8:14 pm

jit.matrixinfo is showing "dim 640 480"

Here is a test patch. It’s a very basic patch, I don’t think anything is necessarily wrong with it (although it’s possible). I’m thinking maybe there are DirectX settings somewhere within Windows that would force the resolution?

-- Pasted Max Patch, click to expand. --

Jan 24 2010 | 10:33 pm

any ideas of anything I can try differently? Has any one been able to get a higher resolution with Windows? How about a PS3 Eye Cam?

Jan 24 2010 | 11:08 pm


It seems i can have a resolution of 800-600 with dx.grab but the funny thing is the max-window prints 800-600 but when i check the inspector it doesn’t show any resolution at all (resolution-field is blank). The inspector does say that the dim is 800-600 so i guess it works? I’ve also tested it with two webcams (1 cheap+ 1 slightly more expensive) it seems the expensive one works, the cheap one does to a certain extent but the pixels are scaled instead of really displaying 800-600 so it doesn’t really count. Hope this is useful.


— Pasted Max Patch, click to expand. —
Viewing 8 posts - 1 through 8 (of 8 total)

Forums > Jitter