PuppetPlay

From Moviesandbox

(Difference between revisions)
Jump to: navigation, search
Current revision (20:33, 29 March 2011) (edit) (undo)
 
(23 intermediate revisions not shown.)
Line 1: Line 1:
 +
[[Image:aPuppetPlay.jpg]]
-
This is a repository of useful information on the performance "ein kleines Puppenspiel". Feel free to add to it at any time.
+
This is a repository of useful information on the performance <b>"ein kleines Puppenspiel"</b>.
-
<h2>general Screenshots and moodshots</h2>
+
<h1>How to install and set up.</h1>
-
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''
+
<h3>Requirements</h3>
-
http://farm3.static.flickr.com/2335/2038935006_2c91d03d7e.jpg
+
* 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] .)
-
''the character inside the clock machine room''
+
* 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).
-
http://farm3.static.flickr.com/2164/2040171298_b1c93d85e0.jpg
+
* 1 additional GameTrak Input device for controlling the cameras (optional, see below).
-
''the outside world - a marketplace''
+
* the newest version of Moviesandbox V1390Beta.
 +
* the puppet play files - [http://www.moviesandbox.net/puppetPlayMSB1390.zip download here].
-
<h2>MoCap-Jacket related</h2>
+
<h3>Before starting Moviesandbox</h3>
-
# '''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!
+
* 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.
-
# '''place the puppet''' - in the Actor Menu, use the last icon with the page-symbol
+
* Connect the Gametraks to your PC.
-
# '''open UDP channel to port (3184)1''' - put a 1 on the orange marionette marker when right clicking on the puppet
+
* Hang them upside down as shown in this picture:
-
# '''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.
+
[[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.
-
* Make Log appear: bring up the Console (ö-Key) and type in ''showlog''. It should show "We receive Data!" when you're sending stuff!
+
<h3>Start Moviesandbox</h3>
-
* Navigation within Moviesandbox: W,A,S,D,Ctrl/Strg,C.
+
*In the Moviesandbox Main Menu, switch the map to MSB-smallRoom.
-
* Spacebar will start the Simulation.
+
*Get into the Scene Editor.
-
* Other useful console commands:
+
*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:
-
** ''setspectatespeed 10'' makes you slow for easier navigation
+
[[Image:firstRoom.jpg]]
-
** ''setspectatespeed 200'' makes you normal again
+
*press space to start the scene
-
** ''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>Scene Functionality</h3>
 +
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 [http://www.youtube.com/watch?v=xqcmhytclcc this youtube video].
 +
 +
<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/].
 +
 +
You also need to download the [http://moviesandbox.net/Puppeteer_Multi_UDP.zip Puppeteer Controller Software].
 +
 +
<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 52: 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