Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: hologenicman on December 30, 2005, 08:25:18 pm

Title: Need explaination of Expressions
Post by: hologenicman on December 30, 2005, 08:25:18 pm
Hey there,

I am looking for an explaination of the facial expression switches and their displayed expressions. Most are pretty self explainatory, but the ones that confuse me are:

expEyesTrust
antiTrust
expEyesDistrust
antiDistrust

But I wouldn't mind a description of all the expressions...[:)]

Thanks

John L>
Title: Need explaination of Expressions
Post by: Dr.Benway on December 31, 2005, 06:13:17 am
Haptek's system for facial expressions is probably based on the work of the scientist Ekman who developed a Facial Action Coding System (FACS). The documents describing FACS are expensive so I think we have yet to find out by experimention.

http://www.paulekman.com/
Title: Need explaination of Expressions
Post by: Art on December 31, 2005, 09:41:29 am
John L,

I didn't do any captures to illustrate but you can experiment if you wish.

Here's what I've found from experimenting:

\SetSwitchIntensity [switch= expEyesTrust f0= 4.000000 t= 0.4]
The EyesTrust adjusts the upper eye lid DOWN. A leading integer increases the amount that the eye lid closes. In the example above, your character's eyes could indicate eyes that are very tired, intoxicated or under hypnosis. The leading 4 is normally a 0.

\SetSwitchIntensity [switch= antiTrust f0= 0.000000 t= 0.4]
The antiTrust adjusts the upper eye lid UP. Again a leading integer has dramatic and often exaggerated effects.

\SetSwitchIntensity [switch= expEyesDistrust f0= 0.000000 t= 0.4]
The EyesDistrust adjusts the bottom lid UP.

\SetSwitchIntensity [switch= antiDistrust f0= 0.000000 t= 0.4]
The antiDistrust adjusts the lower eye lid DOWN.

\SetSwitchIntensity [switch= blinks f0= 0.000000 t= 0.1]
The blinks switch adjusts how far the bottom lid will travel during a blink cycle.


Hope this gives you some inSIGHT!
Title: Need explaination of Expressions
Post by: hologenicman on December 31, 2005, 12:49:58 pm
Hey there,

Thanks to both of you.[:)]

I am a big fan of Ekman so I am pleased that the FACS system is being used.

I do have a continuation question, though.  In the body_femaleDef there are two references that I am not entirely shure about:

   StateProbability=            1.00

   ProximityDistance=           0.00

I suspect that StateProbability has to do with the gravity simulation and that ProximityDistance has to do with collision detection, but these are just guesses.[:I]

John L>
Title: Need explaination of Expressions
Post by: Dr.Benway on December 31, 2005, 01:20:16 pm
The parameter StateProbability has to do with the amount of chance that a certain state will be triggered as the next state within a switch when another state has finished. A state can be a pose or a face.

There are only two pages in the Haptek guide dealing with things like this and it will tell you all I know about it, which isn't that much:

Haptek Guide 1.016\MakinContent\advanced\figuremaker\wavetutorial\wavetutorial.html

Haptek Guide 1.016\MakinContent\advanced\switchengine\switchengine.html

I have no idea what ProximityDistance means. Do tell me/us when you discover how a certain parameter works.
Title: Need explaination of Expressions
Post by: hologenicman on December 31, 2005, 02:00:47 pm
Thanks a lot, I appreciate it.[8D]

John L>
Title: Need explaination of Expressions
Post by: Dr.Benway on December 31, 2005, 03:43:32 pm
You're welcome. I think a lot of Haptek parameters are hard to figure out. Haptek script doesn't seem to have a command or query dealing with them, which is strange.