Hello everyone,
Just wanted to update you guys on how I've been doing with the animation bit.
I think that I haven gotten most of the fucntionality that we had set out to get for this Independent Study. I have a project in a modified version of the SLProxy solution called AnimByFile. It is modelled after Analyst and ChatConsole( and by that I mean, I have copy/pasted a number of methods from both ). When you type "/startanim" in SecondLife chat, it begins to read in a <file> specified as an argument to the command. That file just contains a most current Animation number, and the LLUUID for the animation you want to play.
This file is produced by a second little app I wrote, to just randomly select an animation from a list of LLUUID's I found throuth Analyst. It writes out a new animation every four seconds. Obviously the two apps can conflict on opening the file, so I have some dumb synchronization on the file in question ( I just Sleep() at different intervals if an IOException is thrown ).
But the end result is, you type "/startanim", and your avatar starts animating on his own! "/endanim" stops him. I know random animations are far more easily accomplished through SL scripting, but the idea is that this animation data file will be eventually produced by an interpreter of the Mo-Cap data.
...asuming Physical Avatar doesn't replace all of this before it's ready =)
But I wanted to thank you guys so much for all your help on this project. If I hadn't run into this group, I don't know what I would have done. The tools you have written for libsecondlife and the SLProxy stuff are amazing. It took me a while to get the gist of what I needed, but once I did, I found everything very well abstracted and easy to use.
And John, your experimentation with Analyst on AvatarAnimation packets is really what put me in the right direction. I tried repeating that myself, and from there I was able to gather all the data I needed.
So I would like to know, how would you like me to acknowledge you in my report? I'll be writing it this weekend, so let me know if you get a chance.
Mike Kron
_______________________________________________ libsecondlife-dev mailing list libsecondlife-dev@gna.org https://mail.gna.org/listinfo/libsecondlife-dev