PuppetPlay

From Moviesandbox

Revision as of 19:09, 30 April 2008 by Fiezi (Talk | contribs)
Jump to: navigation, search

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:


MoCap-Jacket related

  1. 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!
  2. place the puppet - in the Actor Menu, use the last icon with the page-symbol
  3. open UDP channel to port (3184)1 - put a 1 on the orange marionette marker when right clicking on the puppet
  4. 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.

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)


general Screenshots and moodshots

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

Personal tools
Moviesandbox for UT2004