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:
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?
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.
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?
Here are the inspector settings for my jit.dx.grab object:
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
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?
----------begin_max5_patcher---------- 492.3ocyV9saaBCFE+ZpTeGr70YH+YnDXW08bLUU4.tTWA1TvQgsp8tOrcnk tVPjxDI2fkN3+b7Oy2w7x0W4g2oZ4MXz2Q+D448RmhmUyn30K3gKYsoErFaG wR9A0tmvaN9NMuUa0qpER8qxx8kp85Bt1NHRu7CJoVxJ41Q7iZAq30QTwzoO Jj42WyS0NKEP.exFDrMzzDXeRI9Dzc8CRjYmoNC8M.vCWkFwusqBP8ICLkP1 6IvJ9mquxz10rYwD3Ig1ujoqEsB4CpQPAzK6zz+ph61rX7aaquFlBhMMauYZ LQtDvzAgLSc.cqY4QQgDTXLYDfQGEX6Xxb7lE.N3FvwJKxfvnIIWxZAtRdSC Km+QxkVnZ3q22Uzj.CPhbUeIVFEOBbhOM3P++CGUEWthrIXHa1NIahVK1nU4 4Em9GHlb62L9mUmDZO7oPe8wDUIg3UJF44RttV0E9cx6WatwWNyHzlxF4N9m NqktVG7SE0l05mWy10mxhfSNmsaVt2cu1xRacjC.2sUPxz2SsrzV2bhKDxO7 +MVqYdw+PzF095z987QKfFXtLdiVHYZgRNnSIuuSOJxx3x28OOkhrJUWM1Qe fta7i44aMxb7F.mGyMKuQNKdKdVd6rXsnKWqQubsV3brFcwVyHz07Wv5QkNb -----------end_max5_patcher-----------
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?
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.
----------begin_max5_patcher---------- 687.3ocyW10aaBCEF9ZpT+OXw0YQ9C9bWs86XZph.totBrYfSS1p1+8gMwMI MIKFULzKBjbrM9kGe7qy406uyyekXGs0G7UvO.ddu1EwSGSEwyDvyuJaWdYV qti9Uz11r0T+E6aTR2I0MTvp.QAPPPB7sF4apX7RpTOTrIJqPO.wpm+BJ339 J1HMcFYBW2PaobYljI3OzPyk8xkjBWBW.HQpqv8W.+zLpGEbYK6OT8iB2079 38yf720z9Giu+gwTmIyehwWe7rjDeXVh0eGk794gmUoeZ9eugkU5qa4u2em5 d2sEVSVNcaGRNGr0MLt7xHEcIjhtBRg2BNW..nn9W5nDMGBTWwvol.OyjKqx jMrcL9ihAfB3sxtFo7DClBH5Dkv4CSaY7BwVv2TuT.BFBvAP6AV5U3Edv7ZU Fes+haxsfjdTEziuH2Btq5ckWJZo16ZkLQoU3X0X6bU0a9Rcq8yUginlxsmM QSEaHjiXiislkh0qKo1uO5lmpc1Kqxh+FaUzq+XjYKhYixnai7qJprQ.HC3X b7nsnq8MrwyHpe4eFsZK1sbcS1JPBDBh59fFvASilOamPdn+nQqcaQHT+szY xs8kB5KrbJ.aeBFYhbUH8PIrOECMSNtF.QrGPgSEfHZqm3zYEPc0DHJ2nJIv r6ydREOQjJ.BOjJgfoyOpFd0Y3ohUnvCYUyGqTkvN37Izj4MAi9nEi12W+RF +rx90Snpg2QtVwllbi.MkrCNZVKnsRFWWe9w85zN8DqnfxOoJzJVQsn6u8zZ JnOZYnZwWetNJL9se8+9KN1qZhaTcWhqKUsMhNcnhd5jlp.7YPaINYsdTjVz mWog+7JMGs4Em3xMugtQzjTiLCOQzgihnichnCfoN0lzMotA3.WhZqNGEOOl 6Pq.5G2LPEn61+v1sKV. -----------end_max5_patcher-----------