Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Search found 11 matches

by sagesau
Mon Aug 06, 2012 5:41 pm
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

From the incomplete info we have I wrote this incomplete/unusable MOT importer for Blender. It creates Actions for each animations in the mot and names them "motname_animationindex". You can just go to edit mode, select all bones and press Alt+P to unparent bones and see that there's more ...
by sagesau
Sun Aug 05, 2012 1:21 pm
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

OK. I'm not sure why you say "location/rotation", seems only location to me. That rotation value might be for the bone roll ("rotation along itself"). Full rotation needs 3 (euler) or 4 (quaternion) values. Anyway, thanks! I'll make a test script and see how it goes. Right now I ...
by sagesau
Sun Aug 05, 2012 10:04 am
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

OK, I got Python 3 and tried your script. I still don't understand what I'm seeing. Can you explain what this means? fpalm: 1-14[13] 5(0.0333, 0.000010, 0.002602) [1.83°] 14-1f[b] 5(-0.0112, 0.002447, 0.003410) [-0.62°] 1f-24[5] 5(0.038, 0.003654, 0.009342) [2.09°] 24-29[5] 5(0.0633, 0.010217, 0.000...
by sagesau
Fri Aug 03, 2012 11:06 pm
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

Are you saying ik data is stored in the xprs/cats? Otherwise I'll suggest against creating ik constraints in the importer. I don't know of any importer that does that. That's something the users should set for their own specific needs, or as a separate addon. Either way, the matrix, or individual lo...
by sagesau
Fri Aug 03, 2012 3:00 pm
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

Children moving their parents or parents moving their children? Sorry, small typo can change it all.
by sagesau
Fri Aug 03, 2012 2:47 pm
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

sagesau ik = inverse kinematics (it's when you don't need to animate all bones because the pc will do this for you) PC does a lot of things for you. What do you mean exactly? Parent bones moving their children with them is not IK yet. IK is more complicated and is achieved in Blender with constrain...
by sagesau
Fri Aug 03, 2012 1:59 pm
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

I'm not sure if I got what the problem is. You say you have position for some bones and position+rotation for others. Cool. Assign them like this PoseBone.location = [x,y,z] PoseBone.rotation_euler = [h,p,r] Blender will update the PoseBone.matrix now. And you can do poseBone.matrix = poseBone.matri...
by sagesau
Fri Aug 03, 2012 11:29 am
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

sagesau i don't now what a matrix is, and i don't now how to make a poseBone.matrix having just the global xyz values. i've tried to set the xyz manually just to check if the data i've extracted is correct, but blender has disabled the xyz fields, and only allows me to edit some strange "vecto...
by sagesau
Thu Aug 02, 2012 9:44 pm
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

Nice :) This is going to be interesting... The Blender docs say PoseBone.matrix is in "world space", so its weird you say it is relative, but Blender docs have always had outdated/wrong info. If that's really the case, we need to multiply the bone's (PoseBone's) matrix with the inverse of ...
by sagesau
Wed Aug 01, 2012 12:10 am
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

I'm not sure how you can get poses from the first frame but have difficulty for the rest, but either way if you know something about the animation format, tell me. I might make it myself.
by sagesau
Thu Jul 26, 2012 2:06 pm
Forum: 3D/2D models
Topic: Dead or Alive series formats and tools
Replies: 2012
Views: 786015

Re: Dead or Alive series formats and tools

Has anyone deciphered the animation formats? If someone will do that, writing a Blender animation loader will take mere minutes. object = bpy.context.scene.objects.active if object.type != "ARMATURE": raise Exception("Please select an Armature Object.") return pose = object.pose ...