![]() |
|
#1
|
|||
|
|||
|
change the color of a specific part of an avatar?
Hi, I'm working on avatars. I want to change the color of a specific part of an avatar, like the trunk or the whole body except the head. Can anybody tell me how to achieve this? Thanks!
Xiaoli |
|
#2
|
|||
|
|||
|
You can change the color of an avatar mesh. The avatars included have a body mesh and head mesh. The following shows to change the color of those.
Code:
import viz
viz.go()
male = viz.add('vcc_male.cfg', pos = [0,0,5], euler = [180,0,0])
male.state(1)
meshes = male.getMeshList()
vizact.onkeydown('1', male.color, viz.BLUE, meshes[0])
vizact.onkeydown('2', male.color, viz.BLUE, meshes[1])
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change the size of different parts of an avatar? | llqqff | Vizard | 3 | 02-23-2010 05:16 PM |
| Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 01:14 PM |
| Looking through the eyes of an avatar | Frank Verberne | Vizard | 2 | 04-01-2008 06:52 AM |
| How to make avatar's eyes to blink when speaking | michelcm3 | Vizard | 12 | 01-15-2008 09:48 AM |
| Change Avatar Head | nickyee | Vizard | 1 | 06-30-2004 11:08 AM |