Main > Lightguns |
A BYOAC Lightgun, are we up to it? |
<< < (20/32) > >> |
ErikRuud:
--- Quote from: Silver on March 10, 2005, 04:54:35 am --- --- Quote from: Flinkly on March 09, 2005, 11:38:22 pm ---not to trample on the effort, but if andy is doing well on creating his own for the comunity, wouldn't it be kinda a waste to make our own? he would probably be done before we got too far anyways, just hate to see you guys waste your time. p.s. --- End quote --- --- End quote --- |
Lilwolf:
Well, if processing power is then the issue... heres a question.... Could we take that software and add it to a seperate computer.. Then pipe the output out and into another computer through another machanism? It seems like if we could find a dedicated computer solution... then it wouldn't effect the original computer... It might make this doable... Plus you wouldn't have to worry about the game being emulated to have it work well. I would try to find a 1+ghz machine for a dedicated solution if it worked well. Especially if it coudl be headless. And after writing the last message... I've now decided it needs to have speach recognition software installed... so that saying bang would be enough.... I really think telling someone "just point and say bang" would be by far the coolest thing! |
ErikRuud:
--- Quote from: Adam on March 10, 2005, 01:31:34 am ---I had a shot at a reverse webcam lightgun tracking system. I basicly threw together the webcam and squares detection components of opencv. http://users.tpg.com.au/mindle/camdemo.rar Point your webcam at the screen and hit a key to take a pic. Escape quits. You need the whole screen to be visible for it to work. If grabbing the picture with a decient webcam is fast enough i'll probably move to using a few LEDs around the screen. --- End quote --- Cool, I'll have to download it and try it at home tonight. I have also wondered about the possibility of turning it around like this. You can't go wireless this way, but it does make the positionong calculations a lot easier, just calculate the difference between the markers and the center of the camera image. |
u_rebelscum:
--- Quote from: Silver on March 10, 2005, 04:54:35 am ---I think some time and effort would be better spent improving the mame code for light guns or perhaps a driver that supports raw input and not mouse emulation. I think this is how dual lightguns are forced to work already. --- End quote --- I'm not sure what you mean by "raw (lightgun) input", but IMO it's the windows driver that should be doing any calibration, computation, and/or translation. To me, that would make the info not "raw" (but that's for a different thread ;) ). Mame excepts joystick or mouse inputs fine for lightgun games. The -lightgun option is just some special code to treat the mouse input as absolute, instead of the usually relative mouse info. Since joysticks are usually absolute, mame shouldn't have problems if the lightgun is joystick. (The reason the old-old actlab joystick lightguns don't work wel in mame is the same reason it doesn't work well for any game: calibration sucked.) I'm not saying mame's current "lightgun" code can't be improved: it can be. But mame doesn't need any new code to support joystick lightguns (except maybe a way to set mame's analog acceleration to 100% from the commandline, and maybe rename the "lightgun" option to "mouselightgun"). IMO, Mame shouldn't have to add code to fix bad device drivers. |
rdagger:
--- Quote from: Adam on March 10, 2005, 01:31:34 am ---I had a shot at a reverse webcam lightgun tracking system. I basically threw together the webcam and squares detection components of opencv. http://users.tpg.com.au/mindle/camdemo.rar Point your webcam at the screen and hit a key to take a pic. Escape quits. You need the whole screen to be visible for it to work. If grabbing the picture with a decent webcam is fast enough I'll probably move to using a few LEDs around the screen. --- End quote --- I too have started work on the reverse camera approach. |
Navigation |
Message Index |
Next page |
Previous page |