WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 05-10-2017, 04:49 AM
Vaquero Vaquero is offline
Member
 
Join Date: Nov 2015
Posts: 62
I'm adding the live character in script with this line:
Code:
live_char = vizmocap.LiveCharacter('localhost', 8050, 8055, model=avatar)
I have to switch the avatar model in the experiment, so I didn't use vizconnect for that. I simply do this with
Code:
live_char.removeModel(avatar)
avatar.remove()
avatar = get_avatar_by_type(objective.avatar_type, participant.height) #own function
live_char.addModel(avatar)
But well, I guess, the switch wouldn't have anything to do with the synchronization problem between the 2 windows, because it's not working even before the switch.
When I get to book the lab again, I'll try the client on an extra laptop and change 'localhost' to the address of the machine where the live characters plugin is running.
Reply With Quote
 

Tags
hmd, nvidia, nvisor, stereo, stereoscopic


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:23 PM.


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