PuppetPlay

From Moviesandbox

(Difference between revisions)
Jump to: navigation, search
Current revision (20:33, 29 March 2011) (edit) (undo)
 
(11 intermediate revisions not shown.)
Line 3: Line 3:
This is a repository of useful information on the performance <b>"ein kleines Puppenspiel"</b>.
This is a repository of useful information on the performance <b>"ein kleines Puppenspiel"</b>.
-
<h2>How to install and set up.</h2>
+
<h1>How to install and set up.</h1>
<h3>Requirements</h3>
<h3>Requirements</h3>
-
* 2 Gametrak Input devices (you can buy them from amazon[[http://www.amazon.co.uk/Real-World-Incl-GameTrak-controller/dp/B000HR83AA/ref=sr_1_2?ie=UTF8&s=videogames&qid=1209578183&sr=8-2]].)
+
* 2 Gametrak Input devices (you can buy them from amazon [http://www.amazon.co.uk/Real-World-Incl-GameTrak-controller/dp/B000HR83AA/ref=sr_1_2?ie=UTF8&s=videogames&qid=1209578183&sr=8-2] .)
-
* 1 WiiMote Input device (and you need to know how to successfully connect it to your computer - more info on that here [[http://www.wiiprojects.org/bluetooth.html]]and here [[http://www.wiili.org/index.php/Main_Page]] - i personally use a Dell bluetooth module).
+
* 1 WiiMote Input device (and you need to know how to successfully connect it to your computer - more info on that here [http://www.wiiprojects.org/bluetooth.html] and here [http://www.wiili.org/index.php/Main_Page] - i personally use a Dell bluetooth module).
* 1 additional GameTrak Input device for controlling the cameras (optional, see below).
* 1 additional GameTrak Input device for controlling the cameras (optional, see below).
Line 15: Line 15:
* the newest version of Moviesandbox V1390Beta.
* the newest version of Moviesandbox V1390Beta.
-
* the puppet play files - [[http://www.moviesandbox.net/puppetPlayMSB1390.zip | download here]].
+
* the puppet play files - [http://www.moviesandbox.net/puppetPlayMSB1390.zip download here].
<h3>Before starting Moviesandbox</h3>
<h3>Before starting Moviesandbox</h3>
-
Unzip the contents of the puppet play package into your UT2004 directory - it will install a couple of maps and textures in your game folders.
+
* Unzip the contents of the puppet play package into your UT2004 directory - it will install a couple of maps and textures in your game folders.
-
 
+
* Connect the Gametraks to your PC.
-
Connect the Gametraks to your PC. Hang them upside down as shown in this picture:
+
* Hang them upside down as shown in this picture:
[[Image:gameTrakUpDown.jpg]]
[[Image:gameTrakUpDown.jpg]]
-
 
+
* start three Multi-HID-Input tools from the Moviesandbox\MSBTools folder.
-
start three Multi-HID-Input tools from the Moviesandbox\MSBTools folder.
+
** Connect your first GameTrak to channel 6, this one will control the puppets' feet.
-
* Connect your first GameTrak to channel 6, this one will control the puppets' feet.
+
** Connect your second GameTrak to channel 2, this one will control the puppets' hands.
-
* Connect your second GameTrak to channel 2, this one will control the puppets' hands.
+
** Connect your third GameTrak to channel 5, this will control the variable cameras (optional)
-
* Connect your third GameTrak to channel 5, this will control the variable cameras (optional)
+
** Connect your WiiMote to channel 3, it will control the puppets' head.
-
* Connect your WiiMote to channel 3, it will control the puppets' head.
+
<h3>Start Moviesandbox</h3>
<h3>Start Moviesandbox</h3>
-
#In the Moviesandbox Main Menu, switch the map to MSB-smallRoom.
+
*In the Moviesandbox Main Menu, switch the map to MSB-smallRoom.
-
#Get into the Scene Editor.
+
*Get into the Scene Editor.
-
#Load the "PP-FirstScene" file from the System menu and wait until it has finished loading (it's best to not move the mouse or click at all during that time - it should take maybe 30 seconds to load).
+
*Load the "PP-FirstScene" file from the System menu and wait until it has finished loading (it's best to not move the mouse or click at all during that time - it should take maybe 30 seconds to load). You should see something like this:
-
#turn the camera around so you see the character and the scene, a bit like this:
+
[[Image:firstRoom.jpg]]
[[Image:firstRoom.jpg]]
-
 
+
*press space to start the scene
-
#press space to start the scene
+
<h3>Scene Functionality</h3>
<h3>Scene Functionality</h3>
The Keys F1 to F7 switch through the different cameras
The Keys F1 to F7 switch through the different cameras
F1 and F7 are variable cameras and can be controlled with the GameTrak connected to channel 5.
F1 and F7 are variable cameras and can be controlled with the GameTrak connected to channel 5.
 +
 +
The '''A''' and '''B''' buttons control the left and right hand grabbing stuff respectively. The one thing to grab in this scene is the spoon in the cereal bowl.
 +
You have to keep the button pressed to hold it, releasing it will teleport the spoon back to its initial position.
This is a sketch on how walking with the puppet works:
This is a sketch on how walking with the puppet works:
[[Image:walkingSketch.jpg]]
[[Image:walkingSketch.jpg]]
-
But you can also have a look at this youtube video:
+
But you can also have a look at [http://www.youtube.com/watch?v=xqcmhytclcc this youtube video].
-
<youtube v=xqcmhytclcc>
+
 +
<h1>The Puppeteer Jacket</h1>
 +
You can find information on the Puppeteer Motioncapture jacket and instructions on how to build your own on the [http://www.massage-me.at/puppeteer/index.php official project website].
 +
<h3>Installation</h3>
 +
For the Puppeteer Jacket to operate, a recent version of processing has to be installed - together with the processing UDP library available from here [http://www.ubaa.net/shared/processing/udp/].
-
<h2>general Screenshots and moodshots</h2>
+
You also need to download the [http://moviesandbox.net/Puppeteer_Multi_UDP.zip Puppeteer Controller Software].
-
Image:http://farm3.static.flickr.com/2177/2038935100_ba481d80a6.jpg
+
-
 
+
-
''this is inside the clock machine room. The image gets much clearer when you see it in motion''
+
-
 
+
-
http://farm3.static.flickr.com/2335/2038935006_2c91d03d7e.jpg
+
-
 
+
-
''the character inside the clock machine room''
+
-
 
+
-
http://farm3.static.flickr.com/2164/2040171298_b1c93d85e0.jpg
+
-
 
+
-
''the outside world - a marketplace''
+
-
 
+
-
 
+
-
<h2>MoCap-Jacket related</h2>
+
-
# '''Download the package''' - from http://www.moviesandbox.net/MovieSandboxV1385Beta.zip and be sure to install the update before unpacking this. This is a specialised package, it's not a standard release!
+
-
# '''place the puppet''' - in the Actor Menu, use the last icon with the page-symbol
+
-
# '''open UDP channel to port (3184)1''' - put a 1 on the orange marionette marker when right clicking on the puppet
+
-
# '''Save!''' - In the System menu, click on save game and scroll down until you see "create New". Be sure to erase the text "create New" after clicking on it to avoid naming your savegame as such! From now on, this savegame should be set up when loaded.
+
-
 
+
-
* Make Log appear: bring up the Console (tilde-Key) and type in ''showlog''. It should show "We receive Data!" when you're sending stuff!
+
-
* Navigation within Moviesandbox: W,A,S,D,Ctrl/Strg,C.
+
-
* Spacebar will start the Simulation.
+
-
* Other useful console commands:
+
-
** ''setspectatespeed 10'' makes you slow for easier navigation
+
-
** ''setspectatespeed 200'' makes you normal again
+
-
** ''F9'' makes a Screenshot and places it in the ''UT2004\Screenshots'' directory
+
-
** ''F4'' will bring up an option page (when you're in windowed=non-fullscreen mode) where you can have a look at the data that just came through under the MSBMoCapJacketInputControl tab.
+
 +
<h3>Processing to UT2k4 Data Flow</h3>
 +
This is old code and needs to be checked!
The flow of data is as follows:
The flow of data is as follows:
Line 100: Line 78:
Let me know if this works!
Let me know if this works!
--[[User:PersonTwoOneEightFour|fiezi]] 11:24, 17 November 2007 (MET)
--[[User:PersonTwoOneEightFour|fiezi]] 11:24, 17 November 2007 (MET)
 +
 +
[[Category:Projects]]

Current revision

Image:APuppetPlay.jpg

This is a repository of useful information on the performance "ein kleines Puppenspiel".

Contents

How to install and set up.

Requirements

  • 2 Gametrak Input devices (you can buy them from amazon [1] .)
  • 1 WiiMote Input device (and you need to know how to successfully connect it to your computer - more info on that here [2] and here [3] - i personally use a Dell bluetooth module).
  • 1 additional GameTrak Input device for controlling the cameras (optional, see below).
  • the newest version of Moviesandbox V1390Beta.

Before starting Moviesandbox

  • Unzip the contents of the puppet play package into your UT2004 directory - it will install a couple of maps and textures in your game folders.
  • Connect the Gametraks to your PC.
  • Hang them upside down as shown in this picture:

Image:GameTrakUpDown.jpg

  • start three Multi-HID-Input tools from the Moviesandbox\MSBTools folder.
    • Connect your first GameTrak to channel 6, this one will control the puppets' feet.
    • Connect your second GameTrak to channel 2, this one will control the puppets' hands.
    • Connect your third GameTrak to channel 5, this will control the variable cameras (optional)
    • Connect your WiiMote to channel 3, it will control the puppets' head.

Start Moviesandbox

  • In the Moviesandbox Main Menu, switch the map to MSB-smallRoom.
  • Get into the Scene Editor.
  • Load the "PP-FirstScene" file from the System menu and wait until it has finished loading (it's best to not move the mouse or click at all during that time - it should take maybe 30 seconds to load). You should see something like this:

Image:FirstRoom.jpg

  • press space to start the scene

Scene Functionality

The Keys F1 to F7 switch through the different cameras F1 and F7 are variable cameras and can be controlled with the GameTrak connected to channel 5.

The A and B buttons control the left and right hand grabbing stuff respectively. The one thing to grab in this scene is the spoon in the cereal bowl. You have to keep the button pressed to hold it, releasing it will teleport the spoon back to its initial position.

This is a sketch on how walking with the puppet works: Image:WalkingSketch.jpg

But you can also have a look at this youtube video.

The Puppeteer Jacket

You can find information on the Puppeteer Motioncapture jacket and instructions on how to build your own on the official project website.

Installation

For the Puppeteer Jacket to operate, a recent version of processing has to be installed - together with the processing UDP library available from here [4].

You also need to download the Puppeteer Controller Software.

Processing to UT2k4 Data Flow

This is old code and needs to be checked! The flow of data is as follows:

     myPuppet.leftElbowLoc.X=byte[0]-127;
     myPuppet.leftElbowLoc.Y=byte[1]-127;
     myPuppet.leftElbowLoc.Z=byte[2]-127;
     myPuppet.leftHandLoc.X=byte[3]-127;
     myPuppet.leftHandLoc.Y=byte[4]-127;
     myPuppet.leftHandLoc.Z=byte[5]-127;


     myPuppet.rightElbowLoc.X=byte[6]-127;
     myPuppet.rightElbowLoc.Y=byte[7]-127;
     myPuppet.rightElbowLoc.Z=byte[8]-127;
     myPuppet.rightHandLoc.X=byte[9]-127;
     myPuppet.rightHandLoc.Y=byte[10]-127;
     myPuppet.rightHandLoc.Z=byte[11]-127;

Let me know if this works! --fiezi 11:24, 17 November 2007 (MET)

Personal tools
Moviesandbox for UT2004