View Single Post
Old 09-14-2004, 02:03 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
Hi Jeremy,

Here's some sample code that will apply a texture to the male's torso. The problem is creating the shirt texture so that it aligns perfectly onto the avatar. If you just want to change the shirt to a solid color, then you can just create a texture of a solid color and apply it to the avatars torso.
shirt = viz.add('shirt.jpg')
To make this work for the female you will need to change m_torso_LS.cmx to m_torso.cmx.
Reply With Quote