WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   double avatar faces in 2.53 (https://forum.worldviz.com/showthread.php?t=502)

Vbents 02-06-2006 09:13 PM

double avatar faces in 2.53
 
Hi,

A script which ran in 2.17 now adds two or more faces to any avatar--i.e. the original avatar head is still disturbingly visible through the new head. Has anyone else seen this problem?

Here is the error that occurs on loading:

Loading File: M-262.vzf
** WARNING: Could not find subchild with name: 'm_head.cmx'

Is this just an issue with old .vzf files, or should I be reexamine the code?

Thanks,
Ben

Vbents 02-07-2006 02:01 AM

amendment
 
It seems that this is a more generic and simpler problem: none of the .vzf heads work correctly with male2.cfg, leaving the original head in place--the heads do work with male.cfg. I am almost certain that this combination worked in 2.17, however.

Is there any way just to turn off the male2.cfg's default head?

-Ben

farshizzo 02-07-2006 09:57 AM

Hi,

When you attach a face to an avatar, by default it attempts to hide the head mesh named 'm_head.cmx'. If you are using a custom made avatar, which seems to be the case, then you need to manually hide the head yourself. Simply issue the command:
Code:

avatar.visible(0,'head mesh name')


All times are GMT -7. The time now is 12:51 PM.

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