View Single Post
  #1  
Old 11-04-2007, 04:16 AM
v-jbinney v-jbinney is offline
Member
 
Join Date: Oct 2007
Location: Stanford, CA
Posts: 7
Question Multiple Mesh Avatar Texturing

Hi Farshizzo,

I'm using several complete-character avatars that comprise multiple meshes. When using the avatar.texture command, I should be able to select which mesh I want to change. However, when I choose the body mesh, both the body and the hair meshes receive the new texture. When I choose the hair mesh, nothing happens. Here is the code I am using:

Code:
blink = viz.add('blink.tga')
body = 'mesh_01.CMF'
avatar.texture(blink, body)
I have also tried
Code:
avatar.visible(0, body)
but neither mesh disappears.

What do I need to do to make the texture only apply to one mesh?

Thank you so much,
Joseph
Reply With Quote