Thread: avatars
View Single Post
  #5  
Old 09-20-2007, 03: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 04:29 PM.
Reply With Quote