WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Adding custom faces (https://forum.worldviz.com/showthread.php?t=1938)

mjabon 03-30-2009 08:02 PM

Adding custom faces
 
Hello. I am trying to add a custom .vzf face to my avatar, but the face simply does not show up. I have read the posts on adding custom heads and tried the tips in them to no avail. We are just using a stock avatar body, but want the face of the child (the new vzf) on the avatar. We tried the following:

Code:

## CHILD SETUP
child = viz.add("child/child.cfg")
# texture with children's clothes
child.texture(textures[gender], 'm_legs.cmx') 
child.texture(textures[gender], 'm_torso_LS.cmx')
child.texture(textures[gender], 'm_shoes.cmx')
# add custom head
childFace = viz.addFace(headFilename)
childFace.scale(.30, .30, .30)
child.setFace(childFace)

We also tried

Code:

## CHILD SETUP
child = viz.add("child/child.cfg")
# texture with children's clothes
child.texture(textures[gender], 'm_legs.cmx') 
child.texture(textures[gender], 'm_torso_LS.cmx')
child.texture(textures[gender], 'm_shoes.cmx')
# add custom head
childFace = viz.add(headFilename)
childFace.scale(.30, .30, .30)
child.face(childFace)

None work. We just get the default face showing up.

Any ideas?

Thank you.

Jeff 03-31-2009 11:55 PM

Are you getting any error when you try that? Have you tried specifying the head and neckbone?
Code:

childFace = viz.addFace(headFilename)
child.setFace( childFace, 'Bip01 Head', 'Bip01 Neck' )


Gladsomebeast 04-01-2009 08:34 PM

Perhaps the scale of the head is off?

The PeopleMaker app has that automatic scale to good size button.


All times are GMT -7. The time now is 12:11 AM.

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