Anim8or Community

General Category => General Anim8or Forum => Topic started by: Alpha2 on March 31, 2008, 03:35:18 am

Title: switch textures?
Post by: Alpha2 on March 31, 2008, 03:35:18 am
Is there a way to swap textures on a surface on the fly?

Like say you had a character who's face was just a texture showing a neutral face, is there a way to go from that to another texture showing an angry face?
Title: Re: switch textures?
Post by: hihosilver on March 31, 2008, 04:12:59 am
You could use Terranim8or (http://www.biederman.net/leslie/terranim8or/terranim8or.htm) which uses tricks to make animated textures possible.  If you're going for something more realistic though, you'll want to use morph targets to change the face from neutral.  This means though, that you'd have to actually model the mouth and face.
Title: Re: switch textures?
Post by: Alpha2 on March 31, 2008, 05:09:43 am
hmmm yeah I've always been kinda intimidated by Terranim8or so I never really looked into it. But maybe I'll give it a look later.

I was hoping for a low poly solution since I havent gotten a handle on morph targets yet. Realism wasnt much of a concern, I'll probably end up just doing something anime styled anyway starting out...(...again)



EDIT:
Just a thought that occured to me, if you had a mesh with a certain texture then made a duplicate of it in the same place with a different texture and then hid it wouldn't that achieve the same thing? I mean you'd have to make sure you grabbed each head when ever you moved the bone unless you can parent both simultaneously but in theory it would mean that every time you hid one head the other would show with a different texture.

Now all that remains is to test it!.... tomarrow thought since it's 3 am...
Title: Re: switch textures?
Post by: hihosilver on March 31, 2008, 05:39:32 pm
Your thought is correct, and I believe that's how terranim8or creates animated textures!  It just does the work for you so that you don't have to do it step by step :)