Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Prim Animator Now Available!

Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-03-2005 14:27
Please send me feedback on how well this works for you, either to my PM/in-world IM, or if all else fails, here. Thank you.

The simple version: Yes, this script animates prims using animation files from outside of Second Life. More specifically, the same ones that SL uses for avatar animations.

---

From the Linden Hotline:

From: Philip Linden
[Not-limited-to-the-human-avatar animation is] a great idea but lots of work! Hard to get a sense of priority on this one relative to other stuff. I'd love to see something that combined this (extended avatar skeletons) with the ability to animate non-avatar objects as well. Wouldn't that be cool!

Yep, it would be cool. And it's now available!

/15/da/37403/1.html

Before you open that though, a few things about it:
1) You'll need a text editor with macro support. I would suggest http://www.jedit.org if you don't have one.
2) You'll need a BioVision Heirarchial animation (.BVH - yes, same ones as Second Life) that you want to import.
3) Once you have your importer in-world, do NOT rez more than one unless you edit the code (listener channels).
4) You read that correctly. Listeners. 1 Listener per joint (firing every 0.35 seconds), folks, unless someone finds me a better way to send data in this manner. It wasn't so hard on the sims I tested it on, but be wary of performance. :D
5) You can import (at the time of this writing) roughly 50-71 frames with a few joints to 20-30 with several. Blender can be used to split Poser animations up as need be, as you can import different joints from separate files (for example, left arm, legs, right arm).
6) The easiest way to do multiple animations is to pair off two or more animations in the same imported file, then call them separately. You can do this by editing the "Base Code" I provided as an example that loops all frames.

Happy importing!
_____________________
---
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
03-03-2005 15:42
Jeffrey for president! :D
Catfart Grayson
Registered User
Join date: 16 May 2004
Posts: 264
03-03-2005 15:46
Kudos
_____________________
Cat
Ghoti Nyak
καλλιστι
Join date: 7 Aug 2004
Posts: 2,078
03-03-2005 15:49
awesome!!

-Ghoti
_____________________
"Sometimes I believe that this less material life is our truer life, and that our vain presence on the terraqueous globe is itself the secondary or merely virtual phenomenon." ~ H.P. Lovecraft
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-03-2005 23:56
Also, for those of you using the script, I direly need feedback on it. Specifically, how easy it's been for you to use, any actual bugs you run across, etc. A few people have had trouble getting it working, and I frankly didn't work day and night on this thing for nothing.

So, by all means spam away - either here, to my in-world IM, or my PM here on the forums. I need the feedback, people. It's the only way for me to make stuff for you! :D

Besides, if this turns too much into a tech debate, I'll ask Jeska or Robin to politely move this to the appropriate forum.
_____________________
---
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-04-2005 16:27
One last, shameless bump before I let this fade into obscurity. Argh! :rolleyes:
_____________________
---
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
03-04-2005 16:29
There is no shame in celebrating a good thing. *bumps* :)
_____________________
James Miller
Village Idiot
Join date: 9 Jan 2003
Posts: 1,500
03-04-2005 16:55
This sounds great! Took me a few minutes to realize what this actually does. Glad to see someone made this. :)
_____________________
George W. Bush hates America.
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-04-2005 18:28
I do wonder, though, how much utility people see themselves getting out of this.

First off, can anyone recommend some fairly good modellers that'll export BVH animations, in any form? I currently use Blender, Anim8or, and Milkshape for the most part - and I'd like to toy with others to see how different the syntax is and how fun it is to create models with them. And please, don't say Poser. I'd like something less.... "sugarcoated," and I've already tested imports from it.

Second, does anyone have problems with the documentation? Holes? Stuff that's difficult to read?

Finally, I forgot to add something. The easiest way to do multiple animations is to pair off two or more animations in the same imported file, then call them separately. You can do this by editing the "Base Code" I provided as an example that loops all frames.

And again, happy importing! And thanks for the positive comments. :)
_____________________
---
Nekokami Dragonfly
猫神
Join date: 29 Aug 2004
Posts: 638
03-04-2005 20:31
Jeffrey, you are so cool. Thank you for your tireless efforts to make SL more fascinating. :)

neko
Marilyn Murphy
Obeys Her Toaster
Join date: 23 Jul 2003
Posts: 361
03-04-2005 20:34
ok. *fluffs her hair and smiles sappily* uhmm... u guys are talking about something here...?? yes?? no?? uhmm... any chance this could be said in english so maybe then someone could explain to me what u r talking about?

i might like it. maybe not. dunno. kinda guessing i need to know what the hell it is first.

so then i can bug someone who does understand it to get me one or maybe keep it way away from me. if its a gun i dont want it. is it shoes?? i like shoes.

so sayeth:

marilyn
_____________________
>>Players issue 12 is now out and for sale<<
Sensual Casanova
Spoiled Brat
Join date: 28 Feb 2004
Posts: 4,807
03-04-2005 20:35
I think I am a dummy, I am not sure exactly what this does :( any pictures or something?
Sensual Casanova
Spoiled Brat
Join date: 28 Feb 2004
Posts: 4,807
03-04-2005 20:36
From: Marilyn Murphy
ok. *fluffs her hair and smiles sappily* uhmm... u guys are talking about something here...?? yes?? no?? uhmm... any chance this could be said in english so maybe then someone could explain to me what u r talking about?

i might like it. maybe not. dunno. kinda guessing i need to know what the hell it is first.

so then i can bug someone who does understand it to get me one or maybe keep it way away from me. if its a gun i dont want it. is it shoes?? i like shoes.

so sayeth:

marilyn


Lmao I was just thinking the same... scary
James Miller
Village Idiot
Join date: 9 Jan 2003
Posts: 1,500
03-04-2005 20:55
If I understand it correctly, it animates prims, as if they were an avatar. For example, you could build a human-like "avatar" out of prims, and use this thing to animate the prims to do something, like dance.

A good use of it that I can see is to create animals that walk fluidly, like a dog. We could recreate "There"-like dogs in SL.
_____________________
George W. Bush hates America.
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-04-2005 23:07
Heh, sorry. "Simplified explanation" added to the top for those of you that don't speak Lindenese. :p

Sensual: That's the thing - you can't really take a single "picture" of something like this, because it's an animator. However, Hamlet did a nice article on it here.
_____________________
---