Main > Lightguns |
A new lightgun? |
<< < (14/26) > >> |
MrLightgun:
The reason the Sinden Lightgun is being held like that is because I am using the button on the left hand side to reload. I've shot a new video with a more natural relaxed style: House Of The Dead |
Titchgamer:
--- Quote from: MrLightgun on June 26, 2018, 06:36:09 pm ---The reason the Sinden Lightgun is being held like that is because I am using the button on the left hand side to reload. I've shot a new video with a more natural relaxed style: House Of The Dead --- End quote --- Nice wave at the end there :lol :lol |
Titchgamer:
Just tested out my mod'd justifier, Works great! Dual wielding justifiers playing lethal enforcers!! Awhhhh yeah :D |
Ian:
--- Quote from: MrLightgun on June 26, 2018, 06:36:09 pm ---The reason the Sinden Lightgun is being held like that is because I am using the button on the left hand side to reload. I've shot a new video with a more natural relaxed style: House Of The Dead --- End quote --- It looks great! I wish you luck! |
XXVII:
This is pretty neat. I had a similar idea a couple months ago, but I have enough projects on my plate and knew I wouldn't have time to implement it any time soon. Here's the rundown on my version of the same idea: Instead of using a camera, it uses one IR LED at each corner of the monitor and the PixArt sensor harvested from a Wiimote. The PixArt sensor can track up to 4 points at a resolution of 1024x768 (inferred from 128x96 subpixels as the sensor moves) at a rate up to 100hz. The sensor very conveniently outputs the coordinates of the four points in a way that can be easily read by an Arduino. Here are some references: http://procrastineering.blogspot.com/2008/09/working-with-pixart-camera-directly.html http://www.stephenhobley.com/blog/2009/02/22/pixart-sensor-and-arduino/ http://www.stephenhobley.com/blog/2011/02/26/midi-camera-gesture-control-for-ableton-and-just-about-anything-else/ After this, the concept I assume is exactly the same. A four sided polygon is made of the four points and then a calculation is performed to determine where the gun is pointed based on the deviations of the points from the center of the sensor. I found a 1995 paper that has already solved the math problem of converting a 2D image of a rectangle and determining the 3D position of the camera here: http://www.bmva.org/bmvc/1995/bmvc-95-017.pdf My plan was to find the 3D position of the camera, then simply calculate rotating the camera back to front facing the rectangle and then seeing where the point it was aimed on the rectangle. After this, maybe if the distance of the gun was a problem (the gun would have to see all four points to work), I was thinking a lens could be placed on the gun to allow you to stand closer to the screen. The lens distortion could be removed using another algorithm, like this: http://vassg.hu/pdf/vass_gg_2003_lo.pdf A gun made like this would only have to be calibrated once: to compensate for the offset of the IR LEDs from the corners of the screen. After that, it wouldn't matter if you were close or far from the screen, standing much higher or lower from where the gun was originally calibrated, etc. |
Navigation |
Message Index |
Next page |
Previous page |