View Full Version : Facial animation with using Textures

03 March 2007, 04:01 PM
I've modeled a simple 3d character: it's a Star, very simple. And then I've skinned it with few joints.

I'd like to know if there's a way to animate his facial expressions (just up eyebrows.. smile.. open\close eyes... not complex), using textures.

Maybe painting different textures accordly with expressions.. or maybe I just animate the UV.. I don't know...

I'd like just some advice :)

Thanks a lot.

03 March 2007, 07:26 PM
u need to create a sequance of images that represent each facial part .. for example :

mouth.0.tga mouth closed happy
mouth.1.tga mouth opened happy
mouth.2.tga mouth small O
mouth.3.tga mouth big O
mouth.4.tga mouth sad

and another seq for each eye brow side, for example :

Leye.0.tga left eye brow up
Leye.1.tga left eye brow down

Reye.0.tga right eye brow up
Reye.1.tga right eye brow down

(all textures are black & white, so its easier to combine)

now all u have to do is create nice shader network that combine (mouth,Leye,Reye) tga seq.

last step is keyframe the texture index to choose which facial u want. (its easer if u create custom attributes on the face and those will drive the texutre index.)

good luck :)

03 March 2007, 07:34 PM
oh i forget to give u totally another solution :

1. u can use basic geomatry for eyes , eyeborws & mouth.
2. make those objects primary visible OFF, cost shadow & recive shadow OFF.
3. use mental ray mib_amb_occlusion : spread=0, max_distance=3(or higher)
4. connect mib_amb_occlusion to color

render :)

03 March 2007, 12:57 PM
Ehi Firas! Thank you very much for your advices.

But I haven't understood what you mean with "a nice network shader". Maybe I just use e "Layer Shader"?
If you could be a little more explicit I'll appreciate very much.

Thanks again!

CGTalk Moderation
03 March 2007, 12:57 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.