1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Control Any Game With Your Webcam Using CamSpace

Discussion in 'DIY peripherals' started by tronicgr, Feb 4, 2009.

  1. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Hi,

    A webcam knows many uses. Obviously, it can be used for video conferencing, or recording your ambitious YouTube videos and responses. However, that’s not all.

    I'll show you how you can use your webcam for Wii-like gaming! :brows:

    Wait…..what? Using your webcam for Wii-like gaming? A Wii doesn’t even have a webcam!

    So How Does It Work?

    You’re completely right. However, we’re not at all planning on recording ourselves. It’s more like we’ll be recording objects and will be using the camera’s motion sensing ability to transform these into intuitive ‘controllers’.

    That’s right, using the CamSpace software, you can transform nearly any object to an input device! Just check out the video below to see it at work.

    http://www.youtube.com/watch?v=PuA1alBu3Do

    You can use cardboard steering wheels for racing games, playing swords for fighting games, and a chicken drumstick for flight simulators!

    The implementation also works a lot smoother than would be expected. You’ll need Windows for the software, and about any webcam can be used, though older webcams tend to work less well due to a lower frame-rate and problems with light adjustments.

    Installing The Software

    The software is currently Windows only and can be downloaded here. Also make sure you’ve properly installed your webcam. Its free! Try it!
    http://www.camspace.com

    You can test out CamSpace by playing one of the CamSpace games. These are small mini-games that accompanied CamSpace. You ought to be able to find them in a folder on your desktop as well.

    Item Recognition

    CamSpace recognizes specific items by their shape and color. In theory, you can use any object you want. However, you might want to avoid objects that have the color of your skin or clothes and use obvious colors - like bright green or pink - instead.

    31012009205633.jpg

    The program will ask you to specify what item you intend to use by holding it in a specific area of the screen. You can also trigger the lock-function by pressing ‘Shift + ~‘ .CamSpace will now track your object so you can use it for simple interaction. It will monitor the size and rotation and will hereby determine the exact location of the item.

    31012009210408.jpg

    Here is a small guide on how to make your own emulation controls:
    http://wiki.camspace.com/index.php/Emulation_Authoring

    You’ll also be able to find several steering wheel templates on the site, this’ll save you some work and give you a general idea of what’s needed.

    Playing Games

    You can play any game with CamSpace, but to do so you’ll need a controller.

    A controller specifies what in-game action is paired up with which motion. As you might have guessed, each controller is game specific.

    You can either download one of the controllers that are developed by other people, or make one yourself and upload it to the CamSpace developer site.
    http://developers.camspace.com/emulation/gamecontrollers


    Making a Controller

    Making a controller is relatively easy. You can start making one by opening CamSpace and selecting ‘Create New Controller’ under Developer Tools in the right-click menu.

    31012009211508.jpg

    If you then choose to edit your script (also located under Developer Tools), an editing window will pop up.

    31012009211641.jpg

    In this window you’ll be able to specify which action pairs up with which function easily. Scripting shouldn’t be necessary with basic controllers.


    Here some more videos about it:
    http://www.youtube.com/watch?v=v0srY37kkMw

    http://www.youtube.com/watch?v=9b1okTVn-Ow

    Thanos