realtime camera input for laser interactive game
by Rob McNaughton · in Torque 3D Beginner · 05/31/2014 (10:01 am) · 3 replies
Hi everybody,
Is there any example where someone has used a camera to generate a low latency user input? I was thinking like an interactive laser game like iMarksman
http://www.youtube.com/watch?v=7pS22lpka3c
I assume you would use a projector to display the game, and a camera mounted near it to register a laser "hit" as a mouse position and click. Anybody have suggestions in type of camera and camera input methods into T3d? Would a Kinect work?
Thanks for you time
-Rob
Is there any example where someone has used a camera to generate a low latency user input? I was thinking like an interactive laser game like iMarksman
http://www.youtube.com/watch?v=7pS22lpka3c
I assume you would use a projector to display the game, and a camera mounted near it to register a laser "hit" as a mouse position and click. Anybody have suggestions in type of camera and camera input methods into T3d? Would a Kinect work?
Thanks for you time
-Rob
About the author
Lead Technical Artist for Blizzard's "Team 1" working on StarCraft II. Rob has tinkered with torque for a long time and has yet to make something to show. Soon...
#2
06/01/2014 (7:22 pm)
Wow, great info NiN-NiN! The wiimote demo is pretty much what I was looking for. I will do a bit more research on the hydra gun demo as well. This actually got jumping for joy for real! Thanks again!
#3
06/04/2014 (12:58 am)
Do note that the hydra is end of life atm so it's costly to grab one atm but the company that made it is releasing a new better system but it's costly compared to the wiimote setup so i would stick to that as it's the easiest way to get up and running :)
NiN-NiN
You could use a Razer Hydra which can be used with T3D without issues and has a gun demo as well as this translates your real world moves to the gun in the game so if you point it sideways the gun is sideways etc.
You could also go the Wiimote route which would work with exactly what your trying to do with a projector.
You wouldn't need to modify anything in Torque you can setup a wiimote to be a mouse you just calibrate it to the size of the screen and it turns the projector into a touch screen.
It normally uses IR leds but you can get IR lasers so you can strap that to a gun and setup torque to take clicks on the screen as you are firing at that spot.
I did this years ago and it works well with arcade emulators as well for shooting games :)
I used a Flash game that was like missile command as a test years ago
https://www.youtube.com/watch?v=HzipgNEQ7ak
Here is all you need to know about using the wiimote as a mouse
http://www.wiimoteproject.com/