### Re: Lugaru Model Import / Export scripts for Blender

Posted:

**Thu Nov 12, 2009 12:10 pm**There's progress with skeletons.

What you see here is Bodylow.solid together with its associated Skeleton (Basic Figurelow).

The black thing is the solid mesh. The left purple thing is the skeleton of the mesh.

The right purple thing is the ragdoll structure.

Associating solid vertices with its skeleton edges is done via vertex groups in Blender.

So let's say a skeleton edge s_n is associated with vertices v_u1 ... v_un.

The result would be that the 2 vertices of s_n belong to vertex group sn, and v_u1 ... v_un belong to the same vertex group.

Some skeleton edges don't have associated vertices or weights; in Lugaru's shipping state, that would be the shoulders and the pelvis crossing of Basic Figurelow. Skeleton edges without associated vertices or weights don't get a vertex group.

Everything's done except for ragdoll weights. I don't quite understand how the values work, unfortunately. And I don't know how to represent them yet.

But my hope is that I'll figure that out eventually as well.

What you see here is Bodylow.solid together with its associated Skeleton (Basic Figurelow).

The black thing is the solid mesh. The left purple thing is the skeleton of the mesh.

The right purple thing is the ragdoll structure.

Associating solid vertices with its skeleton edges is done via vertex groups in Blender.

So let's say a skeleton edge s_n is associated with vertices v_u1 ... v_un.

The result would be that the 2 vertices of s_n belong to vertex group sn, and v_u1 ... v_un belong to the same vertex group.

Some skeleton edges don't have associated vertices or weights; in Lugaru's shipping state, that would be the shoulders and the pelvis crossing of Basic Figurelow. Skeleton edges without associated vertices or weights don't get a vertex group.

Everything's done except for ragdoll weights. I don't quite understand how the values work, unfortunately. And I don't know how to represent them yet.

But my hope is that I'll figure that out eventually as well.