WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

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:50 PM.


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