WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-06-2006, 09:13 PM
Vbents Vbents is offline
Member
 
Join Date: Sep 2005
Posts: 25
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
Reply With Quote
  #2  
Old 02-07-2006, 02:01 AM
Vbents Vbents is offline
Member
 
Join Date: Sep 2005
Posts: 25
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
Reply With Quote
  #3  
Old 02-07-2006, 09:57 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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')
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


All times are GMT -7. The time now is 06:34 AM.


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