Main > Lightguns |
Dpd mars gun is the next gen of light guns |
<< < (9/12) > >> |
thet0ast3r:
Thats a quite simple math & calibration problem. You just have to tell the algorithm where the corners of the screen are. The resolution on the farther side of the screen is going to be less, though (but that should have almost no effect on accuracy). |
Titchgamer:
--- Quote from: thet0ast3r on March 18, 2019, 05:16:23 pm ---Thats a quite simple math & calibration problem. You just have to tell the algorithm where the corners of the screen are. The resolution on the farther side of the screen is going to be less, though (but that should have almost no effect on accuracy). --- End quote --- But that in lies the problem. It will change with every screen/height/angle. In my mind you are going to have a parallax/depth perception problem at such a steep angle. Would love to see it working under a marquee and to be proved wrong though :) |
Howard_Casto:
Yes it will change with every display... that's why you calibrate it... once and only once. The only time you'd need to calibrate it again would be if, for some reason, you moved the camera. The parallax/ depth perception is what I'm referring to that could be compensated with software. It's not that hard really. Since we are dealing with flat screens and not curved crts, regardless of the angle, we are basically dealing with a trapezoid. If you know the location of the four corners of the screen, the border can be calculated and then it's a matter of calculating the percentage left and the percentage down in relation to the borders. It's much more difficult to explain than to do actually. The only issue I can see is diminished resolution on the short end of the trapezoid.... that's why I was saying 640x480 may not be sufficient. |
Titchgamer:
--- Quote from: Howard_Casto on March 18, 2019, 08:38:04 pm ---Yes it will change with every display... that's why you calibrate it... once and only once. The only time you'd need to calibrate it again would be if, for some reason, you moved the camera. The parallax/ depth perception is what I'm referring to that could be compensated with software. It's not that hard really. Since we are dealing with flat screens and not curved crts, regardless of the angle, we are basically dealing with a trapezoid. If you know the location of the four corners of the screen, the border can be calculated and then it's a matter of calculating the percentage left and the percentage down in relation to the borders. It's much more difficult to explain than to do actually. The only issue I can see is diminished resolution on the short end of the trapezoid.... that's why I was saying 640x480 may not be sufficient. --- End quote --- Yeah I get that. But how accurate is it going to be when you require accuracy to within a few mm? You are effectively taking a I dunno say 21” high square screen and turning it into a 15” trapezoid. I have no doubt you can write algorithms to compensate for this kind of think my doubt is with how accurate they will be when talking about the amount of variables. And thats not taking into account any other things like solar radiation etc. Dont get me wrong I dig the idea (and the suggested price point) but I would like to see more before getting on board with it. |
Howard_Casto:
I can't speak for ir lasers, but the visible ones project a very very tight point. It seems to look pretty uniform regardless of the viewing angle as well. You've also got to keep in mind that most light gun games (not all mind you) have a low gun resolution. All of the emulated stuff is basically 240p except for analogue joystick gun games and most of those boast a whopping 255x255 resolution. Even those that don't on the hardware side, the hit targets are frikkin huge on modern gun games. So take those two things into account and it's not that tough. We know that straight on, the webcam could be as low as 320x240 and still give good accuracy. So even if the distortion is so bad that the top side of the trapezoid is half the width of the bottom side a 640x480 camera would get you back up to the 320x240 resolution. I think maybe something a bit higher than that would be better just to be on the safe side, but that still shouldn't be unreasonable to process in a timely manner with a fairly accurate dot. I just think that finding the best camera and laser is the key..... it's not going to work well unless the hardware is well-suited. |
Navigation |
Message Index |
Next page |
Previous page |