View Single Post
  #1  
Old 02-24-2016, 01:10 PM
Vaquero Vaquero is offline
Member
 
Join Date: Nov 2015
Posts: 62
Exclamation Problem (bones not found) with custom skeleton and Live Characters

Hey! I tried using the Live Characters Plugin for MotionBuilder to get a custom generated skeleton to animate inside Vizard. I followed the instructions in the help. I've got an fbx file that I used in 3DS Max to export to the cal3d format.
That fbx file I loaded in MotionBuilder and the cfg file added as an avatar to vizard.

The Skel1PlasticMan.cfg:
Code:
skeleton = Skel1.csf
mesh = Skel1_PlasticMan.cmf
material = plasticGreyMAT.xrf
The vizard script:
Code:
import viz
import vizmocap 
import vizfx

viz.setMultiSample(4)

avatar = vizfx.addAvatar('Skel1PlasticMan.cfg')
lc = vizmocap.LiveCharacter('localhost',8050,8055,model=avatar)

viz.go
But when starting the script and Motionbuilder with the LiveCharacters plugin running, I get error messages that bone "pelvis" couldn't be found, for example. I get this error for every bone. The avatar appears in its bind pose.
I exported the skeleton again as an xsf, so it's in readable form. You can see it in my answer below, because it exceeds the 10.000 characters limit.

As you can see, all the bones are in the namespace BVH:, but the prefix doesn't appear in the error messages before the name of the bone.
So I removed the namespace from the skeleton in Motionbuilder, but the error still occurs.
What is going wrong and how to fix it?
Help is appreciated.
Reply With Quote