Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Where to find the rigging information?

LindaB Helendale
Registered User
Join date: 4 Jun 2008
Posts: 3
02-01-2010 02:27
Not sure if this should go to Technical talk or Animations or where...

I would need the avatar mesh vertex positions during an animation, and what i can find so far is: (and sorry if the terms are wrong, i'm not using any 3D programs, doing it all in matlab)

* SL avatar OBJ file defines the mesh, and the bones of the skeleton are connected graphs there, so easy to find the set of vertices for each bone

* from the bvh files i get the translation and rotation of the bones (though not sure where to find the origo of each bone in the vertex mesh)

* but, i can't find the info how the faces of each bone are stretched during animation, and if i don't stretch them the result is similar to Qavimator, with rigid meshes moving with each bone, and if i just stretch the nearest faces to the mesh boundary, to keep the bone meshes connected, you can guess how weird distortion it causes :(

In emerald viewer i can dump the custom avatar mesh as OBJ file (though it has connected graphs defined according to the UV map connected components but easy to match them to the mesh from SL site), but i found no way to dump the mesh during an animation.

So the question is

1) Is it possible to dump the vertex positions as OBJ file during an animation with some 3D programs like Blender?

If not, then

2) Would it be possible to dump the mesh during an animation in any viewer? Or would it be easy to add a hack to the viewer code to dump the mesh during an animation?

If not, then

3) Where could I find all the information to calculate the vertex positions during animation? (Missing info: bone origo with respect to the mesh, and the algorithm how the faces are stretched)
Abu Nasu
Code Monkey
Join date: 17 Jun 2006
Posts: 476
02-01-2010 05:50
The SL files for Poser.
SL_Female.obj / SL_Female.cr2
SL_Male.obj / SL_Male.cr2

Those files will give you the base mesh with bones and envelopes.

I think character/avatar_lad.xml has the rest of the info for scaling bones and mesh morph combos.

Heh.
Abu Nasu
Code Monkey
Join date: 17 Jun 2006
Posts: 476
02-01-2010 06:09
Animeeple... Animpeeple...?
Can't remember the exact name, but it is an animation prog that can import your SL avatar. I've heard that it can, but I can't test it because it uses things that my vid doesn't support.
Might be worth looking into.