#1
|
|||
|
|||
LiveCharacter
Hello,
I'd like to send the character changed in MotionBuilder to the real time in vizard using LiveCharacter. http://kb.worldviz.com/articles/160 I want to send a sample in LiveCharacter to vizard like this animation, but an error is reflected on vizard and fails even if I operate it in the same way as an animation. An error is as follows: Code:
** WARNING: LiveCharacter has not received response from server at address localhost:8050 How should I do? Thanks for your help. Code:
import viz viz.go() viz.add('tut_ground.wrl') import vizmocap avatar = viz.add('vcc_male.cfg',pos = [0,0,5], euler = [180,0,0]) lc1 = vizmocap.LiveCharacter('localhost',8050,model=avatar) |
#2
|
|||
|
|||
When using localhost for the Motionbuilder server two ports need to be specified. Here's an example script to test with:
Code:
import viz viz.go() #Import the Vizard module import vizmocap # Load ground viz.add('tut_ground.wrl') #Set the window to stay on top viz.window.setFloat() #Add an avatar to the scene male = viz.add('vcc_male.cfg',pos=(0,0,6),euler=(180,0,0)) #Connect to a Live Characters server at the specified address and port, attach the avatar lc1 = vizmocap.LiveCharacter('localhost',8050,8055,model=male) |
#3
|
|||
|
|||
Thank you for the quick reply.
My problem was solved!! |
Thread Tools | |
Display Modes | Rate This Thread |
|
|