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

Jan 16, 2010 at 2:34am

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

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?

#47815
Jan 16, 2010 at 4:49am

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.

#171959
Jan 16, 2010 at 2:47pm

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?

#171960
Jan 16, 2010 at 2:50pm

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

http://gyazo.com/b7c8c36ecdd11175da7ee6a29fb2b8bd.png

#171961
Jan 17, 2010 at 12:56am

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

#171962
Jan 17, 2010 at 8:14pm

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. –
#171963
Jan 24, 2010 at 10:33pm

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?

#171964
Jan 24, 2010 at 11:08pm

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. –
#171965

You must be logged in to reply to this topic.