WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Adding a face to an existing avatar (https://forum.worldviz.com/showthread.php?t=1322)

dan12345 01-29-2008 01:44 AM

Adding a face to an existing avatar
 
i tried running

female = viz.add('resources/AVATARS/F_business01_adult_highheels_Hi/business01_f_highpoly.cfg')
face = viz.addFace('resources/biohead_talk.vzf')
female.setFace( face, 'Bip01 Head', 'Bip01 Neck' )

the female added is one that comes with the Characters package.
the problem is that when executing this command the old face does not disappear, and instead there is a mess instead of a face. Isn't
setFace supposed to automatically disappear the old face? how can i fix this?

the following commands work just fine, with the default female
character, just for comparison.
female = viz.add('female.cfg')
face = viz.addFace('resources/biohead_talk.vzf')
female.setFace( face )

farshizzo 01-29-2008 07:26 PM

You need to add the following line in the avatar cfg file in order for the head mesh to disappear:
Code:

head_mesh = mesh.cmf
You will need to replace mesh.cmf with the actual filename of the head mesh.


All times are GMT -7. The time now is 09:57 PM.

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