WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-07-2010, 07:05 AM
Enlil Enlil is offline
Member
 
Join Date: May 2008
Posts: 61
Head mesh indirection

Hello,
I am trying to make an avatar head disappear. I would like to use the 'head_mesh' that is defined to allow setFace to make a head invisible, but an avatar.visible(viz.OFF, 'head_mesh') does not work. I also tried getting the meshes from getMeshList(), but that seems to return strings. How do I access the mesh to make it invisible?

Thanks,
Christian
Reply With Quote
  #2  
Old 07-08-2010, 04:57 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The following will hide the head mesh. The first name in the list is for the head mesh.
Code:
avatar = viz.add('vcc_male.cfg', pos=[0,0,5], euler=[180,0,0])

list = avatar.getMeshList()
avatar.visible(0,list[0])
Reply With Quote
  #3  
Old 07-08-2010, 08:11 AM
Enlil Enlil is offline
Member
 
Join Date: May 2008
Posts: 61
Thanks!

Christian
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
View attached to avatar head -> artifacts of head model! Josh Vizard 2 04-16-2010 06:35 AM
Problems with getting head bone rotation right Enlil Vizard 2 02-13-2009 10:24 AM
Awkward neck/shoulder connection when adding custom head to vcc model. vEsotu Vizard 5 10-09-2008 05:07 PM
problems adding a custom morph head to a custom body Greenwu Vizard 1 07-27-2006 10:32 AM
How to simply texture an avatar's head with a jpeg graphic? vr_boyko Vizard 3 10-26-2004 10:44 AM


All times are GMT -7. The time now is 03:07 AM.


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