WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-10-2007, 04:13 AM
dig dig is offline
Member
 
Join Date: Apr 2006
Posts: 15
avatars

Hi there,
I'm a newbie in the world of avatars so my question might be really naive. I'm trying to add a couple of talking avatars in my scene (basically all I want is for the avatars to open and close their mouth while a wave file is playing). While I can do that easily with the male.cfg and female.cfg avatars using the speak command, this does not seem to work with the cooler vcc demo avatars included in vizard. I noticed however that there is a "talk1" animation that is built in for the vcc avatars. I'm not sure what that animation does and how to use it (I know how to use the rest of the animations but not the talk1). Any help?
Cheers,
marios
Reply With Quote
  #2  
Old 07-10-2007, 10:42 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Unfortunately, the new avatars do not contain a jaw bone, so there is no way to make the mouth open and close.
Reply With Quote
  #3  
Old 09-20-2007, 05:42 AM
carmoe carmoe is offline
Member
 
Join Date: Aug 2007
Posts: 4
Hello farshizzo,
I'm a newbie in Vizard too, but as marios highly interested in good looking avatars which can run the speach command.
My question is, do the avatars in the Complete Characters package come with a jaw bone, so the speach command can be used for them?
Regards,
tencars
Reply With Quote
  #4  
Old 09-20-2007, 10:54 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
No, the Complete Character avatars do not have a jaw bone.
Reply With Quote
  #5  
Old 09-20-2007, 04:29 PM
3 D 3 D is offline
Member
 
Join Date: Sep 2007
Location: virtual reality
Posts: 4
One option for simple lip-synching with the Complete Character Avatars is to attach a custom Vizard face object (.vzf file). See the Tutorial: Custom avatar heads in VizHelp for more information.

The following script quickly demonstrates this approach, combined with the new 'talk1' animation:
Code:
import viz

viz.go()

female = viz.add('vcc_female.cfg')
female.face('biohead_talk.vzf')
female.state(14)

female.translate(0,0.1,0.5)
female.rotate(0,1,0,180)

speech = vizact.speak('yourspeechfile.wav')

def mykey(key):
	if key == ' ':
		female.add(speech)
		
viz.callback(viz.KEYBOARD_EVENT,mykey)
Hope this helps!

Last edited by 3 D; 09-20-2007 at 05:29 PM.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 05:03 AM.


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