Forums > Jitter

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

January 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:

http://gyazo.com/72a88d603376ee3de3d5dd3553e3e692.png

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

http://gyazo.com/1b5fee76cd9002fe11d3a3f2010204e1.png

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


January 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.


January 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?


January 16, 2010 | 2:50 pm

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

http://gyazo.com/b7c8c36ecdd11175da7ee6a29fb2b8bd.png


January 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.

db

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


January 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. –

January 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?


January 24, 2010 | 11:08 pm

Hello,

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.

FRid

– Pasted Max Patch, click to expand. –

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