WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-25-2012, 02:22 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
Solution to my problem

I've found a solution to my problem and I thought it would be nice to share it with you. The example that I give here is based on the avatar 'casual20_m_highpoly' from the complete character set. The steps are the same for all the other male avatars of the complete character set.

The solution in second steps:
- First, you need to follow the steps of the document 'Use Characters in Vizard.pdf' which is on DVD 1 of the complete character set. After those steps, you should have a folder (in this example the folder is: casual20_highpoly) with all the files for your avatar.
- Second, open 'casual20_m_highpoly.cfg' and add the line speak_morph=casual20_m_highpoly_talk.CMF at the end of the .cfg file.

Now, with this code, you can make your complete character move it's mouth in sync with a .wav file:
Code:
avatar = viz.add('casual20_highpoly/casual20_m_highpoly.cfg', pos = [0,.15,.5], euler = [180,0,0])
speech = vizact.speak('YOUR .WAV FILE HERE',1, sync = True)
avatar.addAction(speech, pool = 1)
I have not tested this solution for all the complete characters, but I assume it should work for all of them similarly.
Reply With Quote
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Complete character cfg file relative directories Enlil Vizard 2 10-02-2013 11:08 AM
VRay, and Complete Character animation questions Lithium Vizard 1 07-27-2011 01:21 PM
New Complete Character morph targets for facial animation? Deltcho Vizard 2 07-26-2010 05:26 PM
Making an avatar speak while performing an idling animation vr_boyko Vizard 1 10-05-2004 05:23 PM


All times are GMT -7. The time now is 07:46 PM.


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