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") How do I get the mouth morph to work with the vizact.speak function? Thank you! Kind regards, Jeroen Derks MPI for Psycholinguistics Nijmegen |
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 |
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 |
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. |
All times are GMT -7. The time now is 02:59 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC