WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   LiveCharacter (

7up 08-03-2010 11:21 PM

I'd like to send the character changed in MotionBuilder to the real time in vizard using LiveCharacter.
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:

** WARNING: LiveCharacter has not received response from server at address localhost:8050
An IP address and the port number are displayed in a Clients column of MotionBuilder side then, but there is not reaction in vizard side.
How should I do?

Thanks for your help.


import viz


import vizmocap

avatar = viz.add('vcc_male.cfg',pos = [0,0,5], euler = [180,0,0])
lc1 = vizmocap.LiveCharacter('localhost',8050,model=avatar)

Jeff 08-04-2010 10:43 AM

When using localhost for the Motionbuilder server two ports need to be specified. Here's an example script to test with:

import viz

#Import the Vizard module
import vizmocap

# Load ground

#Set the window to stay on top

#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)

7up 08-04-2010 07:15 PM

Thank you for the quick reply.
My problem was solved!!

All times are GMT -7. The time now is 04:36 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC