WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-31-2013, 04:11 AM
krimble krimble is offline
Member
 
Join Date: Nov 2006
Location: Nijmegen
Posts: 63
vizact speak

Hi all,
I'm trying to make one of the "Complete Character Pack" avatars to speak. The thing is I keep getting the same error message:

Loading File: avatar2\casual15_f_highpoly.cfg
** Load Time: 0.59 seconds
** ERROR: Bone with name '' does not exist
** WARNING: Cannot run speech action on avatar, no face or jaw bone was specified


Code:
female = viz.add("avatar2\\casual15_f_highpoly.cfg")
speech = vizact.speak('jfk.wav', threshold = .1, scale = 0.7, sync = True)
female.add(speech)
In the .cfg file I saw the 3 available morphs. The blinking and eyebrow morphs are working fine.
How do I get the mouth morph to work with the vizact.speak function?

Thank you!

Kind regards,
Jeroen Derks
MPI for Psycholinguistics Nijmegen
Reply With Quote
  #2  
Old 05-31-2013, 04:50 AM
krimble krimble is offline
Member
 
Join Date: Nov 2006
Location: Nijmegen
Posts: 63
Found the solution:

add to cfg file of the characterPack Avatar:

Under Material section:

head_bone = Bip01 Head
neck_bone = Bip01 Neck
head_mesh = casual15_f_highpoly.CMF
speak_morph = casual15_f_highpoly_talk.CMF
Reply With Quote
  #3  
Old 03-19-2015, 12:48 AM
TheSwaine TheSwaine is offline
Member
 
Join Date: Jan 2015
Posts: 4
hi,

can you give a full example with the

head_bone = Bip01 Head

in the cfg file and how to use it in Vizard?

I need to rotate the head_bone with a custom avatar and dont want to change the code.

cheers
Swaine
Reply With Quote
  #4  
Old 03-20-2015, 11:20 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
You can get a handle to an avatar bone in the Vizard script using the node3d:avatar.getBone command. Take a look at the animating bones tutorial for more on this.

The list of bones in the cfg file does not affect the getBone command.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
making a Complete Character Set character speak Frank Verberne Vizard 4 05-25-2012 08:47 PM
After a using speak, model returns to idle animation? Enlil Vizard 4 08-06-2010 12:42 PM
Strange Speak animation and VRML rendering zoltantoth Vizard 2 04-19-2007 10:24 AM
Making an avatar speak while performing an idling animation vr_boyko Vizard 1 10-05-2004 04:23 PM
Using the 'speak' command with non-vzf heads bailenson Vizard 4 09-21-2004 02:24 PM


All times are GMT -7. The time now is 09:24 AM.


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