Texture for facial animation,how?

(Shadowkawaii) #1

I know I have already asked that,but how can I make in blender facial animation for my charater using only textures?There is a good tutorial for this?

0 Likes

(faust) #2

uhhrrr, um, animated textures? thats all i got. search for how to do them. also, try and see if you can apply different textures to different geometric faces, so as to animate eyes and mouth separately (i think multiple texture images are possible on one mesh, i just don’t know if they can be animated).

0 Likes

(black reaper) #3

you should ask to he- blend ! In his me and my airship demo the character can blink his eyes

0 Likes

(PapaSmurf) #4

You could film someone talking and then use that as an animated texture.

0 Likes

(black reaper) #5

you can use vertex animation if your character is high poly. there are some tuto on wiki

0 Likes

(Sim88) #6

there’s a script for animating textures, try that… I cannot remember who made it or where it is but a search at the forum should do the trick. When I tried it it worked well, was going to try it to animate a werewolf turning from man to wolf and back. Unfortunately my computer broke before I could try it out properly.

0 Likes

(Zoup) #7

true, but i’m pretty sure that the eyelids are actually textured meshes…

0 Likes

(jessegp) #8

if you wanted to do a simply expression swap. You could look to see if you are given access through python to the texture being displayed for a mesh and if you can change which is being used during game play. I think you could do this with glsl because I know from the example’s that I’ve seen that you have access to the textures of the model and can come up with a method to swap which one is being displayed. The problem with this is you’ll only get something like seven(can’t remember how many texture block) per mesh. But you could just create several of the same mesh and use object replacement to get some more.

0 Likes

(Shadowkawaii) #9

Man :eek:,there are some unknow knowledge for me here.I tried to use replace mesh to achieve this,like you have said,but when I typed the name of my second face(stored in layer 2),the name wasn´t accepted.What could I be doing wrong?

About my objective,the model is low-poly and anime style.

0 Likes

(James XVI) #10

I’ve been pondering over that one aswell, is the replace mesh broken or sometrhing?

0 Likes

(Shadowkawaii) #11

Are you having the same problem? I´m using the blender 2.44 release :confused:

0 Likes

(toonist) #12

Make sure that you wrote the name of the MESH, not the OBJECTs name.

0 Likes

(cthames) #13

If you don’t mind using python you can use instantReplaceMesh().

It replaces the mesh without activating the actuator. With instantReplaceMesh(), the mesh doesn’t have to be on a hidden layer. It can be but it doesn’t have to be.

Below is some code showing how instantReplaceMesh() is used. You’d have to add code to it to make ‘cycle’ through your animation.

Set it up correctly, you can create a ‘flip card’ or ‘animated gif’ type effect.

# get the controller[/COLOR]
controller = GameLogic.getCurrentController()
                        
# get the replace mesh actuator named armorClass
act = controller.getActuator("armorClass")
                        
# set the name of the mesh
act.setMesh("steelPlate")
                        
# replace it now
act.instantReplaceMesh()
0 Likes

(Shadowkawaii) #14

Nice hints guys :D,I´will experiment these sugestions soon.

0 Likes

(cthames) #15

Here’s a quick blend to show what I was talking about with instantReplaceMesh(). It flips through 5 face expressions. The girl’s face is from reference photos I downloaded from www.3d.sk

http://www.tutorialsforblender3d.com/blendFiles/MeshFlip.blend

0 Likes

(Shadowkawaii) #16

I got it to aparently work smooth into my game :cool:,thanks guys :smiley:

0 Likes

(Túrin Turambar) #17

Yup. In Me and My airship, there appears to be a separate “eyelids” mesh.

0 Likes

(Mico27) #18

lol it wasnt necessary to revive this tread lol

0 Likes