Mocap and Max
Hello everyone!
I'm very new to Max, so please bear with me. For reference, I have the latest version of Max, 5.0.7, and I'm running it on Windows XP Professional.
I'm working on a project where we want to use the data generated by a motion capture suit (a Moven/Xsens suit) to manipulate an image (probably a water simulation of some sort).
Initially I tried to use the suit's SDK. I combined the C code for an existing Max object and a working example provided with the suit SDK. Everything compiled, but when I tried to open the object in Max I would get this error (xme.dll is the dll needed for the suit SKD:
"This application has failed to start because xme.dll was not found. Re-installing the application may fix this problem."
And in the max window this error:
"Error 126 loading external name-of-our-object"
Any idea why max won't play nice with the dll? Do I need to put a copy of the dll in a certain place? if so, where?
Now I'm trying a different approach, udp.
Am I correct that udpreceive will only receive Max messages, so I wouldn't be able to receive suit data? Is this also the case with the mxj net.udp.recv object?
I was thinking of writing my own object. I'd prefer to do it in Java instead of C, because I'm much more familiar with Java. Does anybody have any examples I can work with? I found one on the forums in C but the sockets were designed for a Mac.
Any help at all getting either method working, suggestions on which method to go with, or a different method, would be greatly appreciated.
If I've left out any important information, let me know.
Thanks!
If you suits SDK used any dlls, and I am sure it did, you will
need to include those in you Max search directory.
Max is able to send and receive via UDP.