Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

3dsmax MoCap Xbox 360 Controller
show user profile  FuzzleMuttons
Hello Everybody,

I just finished writing a plugin to allow to drive animation using a xbox 360 controller.

It creates a node under the root Track in the TrackView called "xboxInputData"
Under that node there is a track for each input from the controller both analog and binary

you can wire anything you want to these tracks.

The control panel is in the utilities panel, Click on the maxscrip button and select the MaxInput plugin from the drop down
list.

There are two buttons, record and live.
Live starts the updates without setting animation keys, the record button sets the autokey on and starts playing.

You should Extract the content of the zip file into the scripts folder of your 3d studio max installations.

if you want it to start with 3dsmax move the "maxInputUtil.ms" file into the Startup folder.

I welcome any feedback, bug reports or critiques.
http://www.3dbuzz.com/vbforum/attachment.php?attachmentid=72136&d=1316412893

Thanks,
Sebastian
read 1491 times
9/20/2011 5:50:08 AM (last edit: 9/20/2011 5:51:00 AM)
show user profile  DannyMax
Sebastian I will give this a go later today and let you know how I get on :) thanks for posting




read 1456 times
9/20/2011 11:26:12 AM (last edit: 9/20/2011 11:26:12 AM)
show user profile  DannyMax
well it's not working for me , when I run the script I get a few errors, I'm running max 2012

here's the output from the Maxscript Listener

"C:\Program Files\Autodesk\3ds Max 2012\scripts\MaxInput\loadMaxInputAssembly.ms"
"C:\Program Files\Autodesk\3ds Max 2012\scripts\MaxInput\xboxDataCA.ms"
"C:\Program Files\Autodesk\3ds Max 2012\scripts\MaxInput\MaxInput.dll"
dotNetClass:System.Reflection.Assembly
dotNetObject:System.Reflection.RuntimeAssembly
undefined
-- Error occurred in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2012\Scripts\maxInputUtil.ms; position: 417; line: 9
-- Unknown property: "GetAvailableControllerIndices" in undefined
-- Error occurred in anonymous codeblock; filename: C:\Program Files\Autodesk\3ds Max 2012\Scripts\maxInputUtil.ms; position: 478; line: 10
-- No ""get"" function for undefined

undefined
Rollout:xboxUtil

the MaxInput folder only has one file in it MaxInput.dll , loadMaxInputAssembly.ms and xboxDataCA.ms are missing.

xboxDataCA.ms
loadMaxInputAssembly.ms




read 1450 times
9/20/2011 11:39:20 AM (last edit: 9/20/2011 11:39:20 AM)
show user profile  FuzzleMuttons
Those 2 other scripts arent needed anymore, I forgot to mention that the plugin uses SlimDX,

so if you dont have it installed you can get it from http://slimdx.org/
or direct link http://slimdx.googlecode.com/files/SlimDX%20SDK%20%28March%202011%29.exe

sorry about that, I need to put in some error messages.

read 1432 times
9/20/2011 1:07:10 PM (last edit: 9/20/2011 1:09:52 PM)
show user profile  DannyMax
ok thanks , I will let you know how I get on :)




read 1420 times
9/20/2011 2:03:45 PM (last edit: 9/20/2011 2:03:45 PM)
show user profile  DannyMax
ok I got it work as such , but I dont have a clue how to use it ? . I hit the record button and I can see the valuse change in the scripts panel but I cant get it to save any keys, when I look at the XboxInputData node in the track view window there are no keys set at all. could you give me a small run down ?. how would I go about using this plugin to control a camera and save that movment as an animation, can you show me if you got time thanks :)


edit;
just found out by reading a post from mrgrotey I had to change the mode to dope sheet :) think I should be on my way now :)




read 1414 times
9/20/2011 2:32:39 PM (last edit: 9/20/2011 2:35:23 PM)
show user profile  FuzzleMuttons
Thats Great...

I only tested it with the dope sheet...

My Design for the plugin was basically to expose the values as tracks to allow, more flexibility in how people use them, you can wire them directly to other tracks, use them to guide a pre-creared animation or use the reaction controller....

The values go from 0 - 100 percent, or -100 - 100 percent for the sticks

if you can I would love to see what you use it for

Thanks,
Sebastian
read 1403 times
9/20/2011 2:47:46 PM (last edit: 9/20/2011 2:47:46 PM)
show user profile  DannyMax
yeah I will give it a go and send you a link if things work out :)




read 1369 times
9/21/2011 12:10:00 AM (last edit: 9/21/2011 12:10:00 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org