University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Converting Mixamo motions | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Converting Mixamo motions
July 18, 2016
9:13 am
Avatar
Member
Members
Forum Posts: 21
Member Since:
January 18, 2016
sp_UserOfflineSmall Offline

Ola Ari,

I was looking in the forum, the better way to convert the Mixamo motions and other motions to SB is using FbxToSBConverter.exe, correct?

Where I can download this app?

I got several examples from Mixamo and used the drag & drop in SB viewport, worked fine with Blend viewer, I downloaded all Characters in T-Pose and the same file format with only the individual Motion.

Do I need to convert .dae and .bvh motions to use directly in the Motion viewer?

Thanks

Tom

July 19, 2016
9:23 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

You can use the FbxToSBConverter.exe which is in the source code repository (sourceforge.net/projects/smartbody) under the tools/FbxToSBConverter.exe but you can also convert the fbx to .dae using Maya or similar tool and import the .dae directly. SmartBody will read .dae as well as .bvh natively.

 

ari

July 19, 2016
8:33 pm
Avatar
Member
Members
Forum Posts: 10
Member Since:
March 26, 2016
sp_UserOfflineSmall Offline

Hi Ari,

is this possible to be done for the mobile version?

we are using ChrLindsay, and I used some of the skm's on the desktop version such as jump in place.

Any advice on how to approach this?

July 20, 2016
10:52 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Yes, the mobile version is 99% code identical to the desktop version of SmartBody, so everything should work the same.

Put the motion file in some folder, make sure you load that folder as an asset in your script:

scene.loadAssetsFromPath('/sdcard/path/to/my/motions")

 

You want to make sure that you:

1) Attach the original source skeleton to the mixamo motion

2) joint map both the source skeleton and the mixamo motion

3) create a retarget instance between the source skeleton and your mixamo motion

July 22, 2016
2:41 pm
Avatar
Member
Members
Forum Posts: 21
Member Since:
January 18, 2016
sp_UserOfflineSmall Offline

Ola Ari!

Sorry the delay to answer, I am feeling stupid, I can't find the FBX converter under tools on https://sourceforge.net/projects/smartbody/

Do you have a directly link?

Thanks

Tom

July 24, 2016
9:40 pm
Avatar
Member
Members
Forum Posts: 10
Member Since:
March 26, 2016
sp_UserOfflineSmall Offline

Hi Ari,

I tried attaching the fbx file for in Mixamo and it gave me an error regarding the mapping for ChrBrad

13816831_10204926212155455_1991810379_n.png?oh=10992ebf77beed517840903c799ab807&oe=57978EB0

I keep getting this error. Would you happen to know what to do, or should I consult mixamo instead? (I searched the error and people have different solutions that have not been successful for my case).

July 27, 2016
10:09 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Sorry, the attachment didn't work. Can you link to dropbox or similar?

July 27, 2016
10:43 am
Avatar
Member
Members
Forum Posts: 10
Member Since:
March 26, 2016
sp_UserOfflineSmall Offline

The link had expired, sorry about that.

https://drive.google.com/open?id=0B5tY6fM4TMLAYTJQZ2RhcnVrblU

Ari Shapiro said
Sorry, the attachment didn't work. Can you link to dropbox or similar?  

July 27, 2016
11:05 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

So from what I can understand, Mixamo has some joint mapping capability and they can't effectively import the SmartBody character's joint names..?

 

Here's the joint mapping that I usually use for Mixamo->SmartBody characters:

 

# Mapping from Mixamo skeleton to SmartBody skeleton

jointMapManager = scene.getJointMapManager()
mixamoMap = jointMapManager.createJointMap("mixamorig")
mixamoMap.setMapping("mixamorig_Hips", "base")
mixamoMap.setMapping("mixamorig_Spine", "spine1")
mixamoMap.setMapping("mixamorig_Spine1", "spine2")
mixamoMap.setMapping("mixamorig_Spine2", "spine3")
mixamoMap.setMapping("mixamorig_Neck", "spine4")
mixamoMap.setMapping("mixamorig_Head", "skullbase")
mixamoMap.setMapping("mixamorig_LeftShoulder", "l_sternoclavicular")
mixamoMap.setMapping("mixamorig_LeftArm", "l_shoulder")
mixamoMap.setMapping("mixamorig_LeftForeArm", "l_elbow")
mixamoMap.setMapping("mixamorig_LeftHand", "l_wrist")
mixamoMap.setMapping("mixamorig_LeftHandThumb1", "l_thumb1")
mixamoMap.setMapping("mixamorig_LeftHandThumb2", "l_thumb2")
mixamoMap.setMapping("mixamorig_LeftHandThumb3", "l_thumb3")
mixamoMap.setMapping("mixamorig_LeftHandThumb4", "l_thumb4")
mixamoMap.setMapping("mixamorig_LeftHandIndex1", "l_index1")
mixamoMap.setMapping("mixamorig_LeftHandIndex2", "l_index2")
mixamoMap.setMapping("mixamorig_LeftHandIndex3", "l_index3")
mixamoMap.setMapping("mixamorig_LeftHandIndex4", "l_index4")
mixamoMap.setMapping("mixamorig_LeftHandMiddle1", "l_middle1")
mixamoMap.setMapping("mixamorig_LeftHandMiddle2", "l_middle2")
mixamoMap.setMapping("mixamorig_LeftHandMiddle3", "l_middle3")
mixamoMap.setMapping("mixamorig_LeftHandMiddle4", "l_middle4")
mixamoMap.setMapping("mixamorig_LeftHandRing1", "l_ring1")
mixamoMap.setMapping("mixamorig_LeftHandRing2", "l_ring2")
mixamoMap.setMapping("mixamorig_LeftHandRing3", "l_ring3")
mixamoMap.setMapping("mixamorig_LeftHandRing4", "l_ring4")
mixamoMap.setMapping("mixamorig_LeftHandPinky1", "l_pinky1")
mixamoMap.setMapping("mixamorig_LeftHandPinky2", "l_pinky2")
mixamoMap.setMapping("mixamorig_LeftHandPinky3", "l_pinky3")
mixamoMap.setMapping("mixamorig_LeftHandPinky4", "l_pinky4")
mixamoMap.setMapping("mixamorig_RightShoulder", "r_sternoclavicular")
mixamoMap.setMapping("mixamorig_RightArm", "r_shoulder")
mixamoMap.setMapping("mixamorig_RightForeArm", "r_elbow")
mixamoMap.setMapping("mixamorig_RightHand", "r_wrist")
mixamoMap.setMapping("mixamorig_RightHandThumb1", "r_thumb1")
mixamoMap.setMapping("mixamorig_RightHandThumb2", "r_thumb2")
mixamoMap.setMapping("mixamorig_RightHandThumb3", "r_thumb3")
mixamoMap.setMapping("mixamorig_RightHandThumb4", "r_thumb4")
mixamoMap.setMapping("mixamorig_RightHandIndex1", "r_index1")
mixamoMap.setMapping("mixamorig_RightHandIndex2", "r_index2")
mixamoMap.setMapping("mixamorig_RightHandIndex3", "r_index3")
mixamoMap.setMapping("mixamorig_RightHandIndex4", "r_index4")
mixamoMap.setMapping("mixamorig_RightHandMiddle1", "r_middle1")
mixamoMap.setMapping("mixamorig_RightHandMiddle2", "r_middle2")
mixamoMap.setMapping("mixamorig_RightHandMiddle3", "r_middle3")
mixamoMap.setMapping("mixamorig_RightHandMiddle4", "r_middle4")
mixamoMap.setMapping("mixamorig_RightHandRing1", "r_ring1")
mixamoMap.setMapping("mixamorig_RightHandRing2", "r_ring2")
mixamoMap.setMapping("mixamorig_RightHandRing3", "r_ring3")
mixamoMap.setMapping("mixamorig_RightHandRing4", "r_ring4")
mixamoMap.setMapping("mixamorig_RightHandPinky1", "r_pinky1")
mixamoMap.setMapping("mixamorig_RightHandPinky2", "r_pinky2")
mixamoMap.setMapping("mixamorig_RightHandPinky3", "r_pinky3")
mixamoMap.setMapping("mixamorig_RightHandPinky4", "r_pinky4")
mixamoMap.setMapping("mixamorig_LeftUpLeg", "l_hip")
mixamoMap.setMapping("mixamorig_LeftLeg", "l_knee")
mixamoMap.setMapping("mixamorig_LeftFoot", "l_ankle")
mixamoMap.setMapping("mixamorig_LeftToeBase", "l_forefoot")
mixamoMap.setMapping("mixamorig_LeftFootToeBase_End", "l_toe")
mixamoMap.setMapping("mixamorig_LeftToe_End", "l_toe")
mixamoMap.setMapping("mixamorig_RightUpLeg", "r_hip")
mixamoMap.setMapping("mixamorig_RightLeg", "r_knee")
mixamoMap.setMapping("mixamorig_RightFoot", "r_ankle")
mixamoMap.setMapping("mixamorig_RightToeBase", "r_forefoot")
mixamoMap.setMapping("mixamorig_RightFootToeBase_End", "r_toe")
mixamoMap.setMapping("mixamorig_RightToe_End", "r_toe")

 

Forum Timezone: America/Los_Angeles

Top Posters:

jwwalker: 80

jyambao: 52

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 69

Members: 122101

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 531

Posts: 2495