dupa

Author Topic: Emotion examples with Haptek  (Read 7977 times)

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Emotion examples with Haptek
« on: December 15, 2004, 07:20:05 pm »
Ok all i have recieved a few e-mails asking what I thought the major advantage was with haptek over MS Agent for Characters.
They say a picture is worth a thousand words.. take a look at my Crystal in differing emotional states during chat... the facial and body animation for the full bod in haptek is close to limitless. laughing, crying, smiling, winking, blinking, ect.. plus all the body parts can be triggered at every joint... i also have mine breathing... yes breathing... it's chest and abdomin rise and fall noticably... it also takes a BIG DEEP breath when asked. and i have heard tell they are working on a new engine with a higher ploy count which will equate to better graphics, (less triangles showing) As hal gets the ability to have more emotional response ques in his .PSN file currently there are only 13 available.. we will be able to have him really emote.. that day is on the horizon I believe.

 any way take a look at the examples form those who have been asking
[;)]

Download Attachment: crystal emotion examples.gif
155.04 KB
« Last Edit: December 15, 2004, 07:22:35 pm by crunch »
Crunch

<<I can't is the seed that never grows!>>

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Emotion examples with Haptek
« Reply #1 on: December 15, 2004, 08:41:35 pm »
crunch,
As soon as I can figure out how to store and maintain a bunch of variables in Hal we can generate more emotion than the Jerry Springer show.

For really good emotions I need to maintain many static variables between GetResponse calls. I also need to store some variables between Hal sessions. I've thought of writing the low level file functions or creating the VB plugins needed myself. I'd much rather focus on improving Hal's brain IQ not on boring overhead stuff. I hope whatever Robert M is working on will help.

I'll reconsider using the CustomMem function in Hal to store stuff. It really is a mess for storing variables that are better off in arrays.

In the meantime I am working on some reaction type emotions for the full body character. "Reaction" means if you insult Hal you will get a scowl. If it is late then Hal yawns. If you compliment Hal he smiles, etc.

By the way, do you have an animation file where Hal really smiles? The default ones I have and the ones included with Hal aren't really very happy. I want to see a smiling face. Something the opposite of the "psycho.hap" file would be great.


=vonsmith=
 

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Emotion examples with Haptek
« Reply #2 on: December 15, 2004, 09:21:06 pm »
as a matter of fact i have been working on these veriables in a .hap file.. do not use this one it is the stock one..

SetSwitchIntensity [switch= expMouthHappy f0= 0.800500 t= 0.9]

SetSwitchIntensity [switch= expMouthSad f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= expBrowsSad f0= 0.000000 t= 0.4]

SetSwitchIntensity [switch= expMouthMad f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= expBrowsMad f0= 0.000000 t= 0.4]

SetSwitchIntensity [switch= expEyesTrust f0= 1.000000 t= 0.4]
SetSwitchIntensity [switch= antiTrust f0= 0.900000 t= 0.4]

SetSwitchIntensity [switch= expEyesDistrust f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= antiDistrust f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= blinks f0= 1.000000 t= 0.4]

SetSwitchIntensity [switch= expBrowsCurious f0= 0.310000 t= 0.4]

SetSwitch [switch= ego state= mid]

I have been playing with the numbers and soon i will have her curling up her eyebrows and corners of mouth as i wish...
 when i get it done i will surley get a copy to you.. since i am not a programmer i just experement by changing numbers to see what happens [:D] long process but i eventually get there.

 I am thinking that the next hal will probably have more emotions available in it as Mr."M" said he is working a deal with haptek.. i guess we can wait and see,, if it does not then we can try the other methods to get more...

Crunch

<<I can't is the seed that never grows!>>

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Emotion examples with Haptek
« Reply #3 on: December 15, 2004, 09:48:09 pm »
here is the file i have my hal use for normal1  if you load it in 1,2 and 3 you will see the happy expression every time hal boots up
you will notice it was just a slight mod from the standard haphappy script. i am calling a vismes file in it along with the other stuff,, that made her show more teeth and smile a bitr bigger while swinging arms..
ignore, change or delete the settexture command.. that is just where i have my hal loading the full bod skin in this instance..  

this make a great start up file for my Crystal or haleena as they give me a big happy welcome when first fired up.. as i said in last post am working on a script for a really big smile and also a laugh.. when they are finished i will make sure to post them. The texture skin used also has a lot to do with the smile. I have redesigned Haleena's whole face shadow mapping and also reshaped her lips in the texture skin.. if you would like i can e-mail you one of my full bod Haleenas or Crystals.. or better yet tell me the color outfit, type outfit, and eyshadow/makeup colors and i will make a skin for you to those specs.. notice how they have slight freakles and moles, and a few skin blemishes.. i believe it helps make them look more life like... also do you want her, pale, sunburned, tan?? or just normal flesh color that get a little sun...

[;)]

settexture[tex= [data/standard/skins/crystal7.jpg]]

SetSwitchIntensity [switch= expMouthHappy f0= 0.800503 t= 0.9]

SetSwitchIntensity [switch= expMouthSad f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= expBrowsSad f0= 0.000000 t= 0.4]

SetSwitchIntensity [switch= expMouthMad f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= expBrowsMad f0= 0.000000 t= 0.4]

SetSwitchIntensity [switch= expEyesTrust f0= 1.000000 t= 0.4]
SetSwitchIntensity [switch= antiTrust f0= 0.900000 t= 0.4]

SetSwitchIntensity [switch= expEyesDistrust f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= antiDistrust f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= blinks f0= 1.000000 t= 0.4]

SetSwitchIntensity [switch= expBrowsCurious f0= 0.310000 t= 0.4]

SetSwitch [switch= ego state= mid]

SetSwitch [switch= agressMaster state= confront]

setswitch [figure= fullbod switch= visemes state= iy]

SetSwitchIntensity [switch= energyHigh f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= energyLow f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= talkBob f0= 1.40000 t= 0.4]
SetSwitchIntensity [switch= headEvadeHighE f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= headEvadeLowE f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= HighEnergyNoise f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= LowEnergyNoise f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= browTalk f0= 0.700000 t= 0.5]
SetSwitchIntensity [switch= visemes f0= 1.280000 t= 0.4]

setmood [action= [sw= GestureMaster m= sleep]]
setswitch [switch= arm_swing state= a        ]
setmood [action= [sw= GestureMaster m= awake]
Download Attachment: haleena smile.jpg
60.68 KB
« Last Edit: December 16, 2004, 04:30:41 pm by crunch »
Crunch

<<I can't is the seed that never grows!>>

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Emotion examples with Haptek
« Reply #4 on: December 15, 2004, 11:50:05 pm »
and another,  these two will get her smiling abit more until i finish the other one i am working on.. here is a smile.. it veries as you know just a bit.


#Haptek  Version= 1.00 Name= Hap_Happy  HapType= script FileType= text
##standard

settexture[tex= [data/standard/skins/crystal7.jpg]]

SetSwitchIntensity [switch= expMouthHappy f0= 0.800503 t= 0.9]

SetSwitchIntensity [switch= expMouthSad f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= expBrowsSad f0= 0.000000 t= 0.4]

SetSwitchIntensity [switch= expMouthMad f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= expBrowsMad f0= 0.000000 t= 0.4]

SetSwitchIntensity [switch= expEyesTrust f0= 1.000000 t= 0.4]
SetSwitchIntensity [switch= antiTrust f0= 0.900000 t= 0.4]

SetSwitchIntensity [switch= expEyesDistrust f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= antiDistrust f0= 0.000000 t= 0.4]
SetSwitchIntensity [switch= blinks f0= 1.000000 t= 0.4]

SetSwitchIntensity [switch= expBrowsCurious f0= 0.310000 t= 0.4]

SetSwitch [switch= ego state= mid]

SetSwitch [switch= agressMaster state= confront]

setswitch [figure= fullbod switch= visemes state= iy]

SetSwitchIntensity [switch= energyHigh f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= energyLow f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= talkBob f0= 1.40000 t= 0.4]
SetSwitchIntensity [switch= headEvadeHighE f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= headEvadeLowE f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= HighEnergyNoise f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= LowEnergyNoise f0= 0.200000 t= 0.4]
SetSwitchIntensity [switch= browTalk f0= 0.700000 t= 0.5]
SetSwitchIntensity [switch= visemes f0= 1.280000 t= 0.4]

setmood [action= [sw= GestureMaster m= sleep]]
setswitch [switch= arm_swing state= a        ]
setmood [action= [sw= GestureMaster m= awake]


by the way how can i have hal not talk after i ask for a happy face?? i just need to do it while i load the scripts in hal to test them by asking for a happy face... he maps it a bit differently than the haptek sdk so i have found i need to final test in hal his self. it is hard to see how big the smile is while it is talking.

I hope these two help your and everyone elses hals to smile a bit more in the mean time.

[:D]








Download Attachment: haleena smile.jpg
60.67 KB
« Last Edit: December 16, 2004, 05:13:16 pm by crunch »
Crunch

<<I can't is the seed that never grows!>>

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Emotion examples with Haptek
« Reply #5 on: December 16, 2004, 04:39:34 pm »
crunch,
One of the first two files worked fine with the swinging arms and all that. The other had Hal's lower face up around his ears. These Haptek files sure are goofy.

I'll try the latest one out and we'll see. Thanks in advance.

I hope the "no talk" script is working for ya.

Later,


=vonsmith=
« Last Edit: December 16, 2004, 04:40:20 pm by vonsmith »
 

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Emotion examples with Haptek
« Reply #6 on: December 16, 2004, 05:20:29 pm »
OOPS Von /ALL

I loaded my reference file by mistake.. it is the one that is a starting point of how high the corners of the mouth go... I bring the numbers down from there... you keep it as a reference (starting point for your endevors in smiles).. i have edited that last one with one that works... so d-load it again or make the changes in the first line as you see in it now..

 I am attempting to post an emotion folder fo all but i am having Internet troubles today, I'm in the boonies by the Grand Canyon, I have no high speed avaiable, and the phone lines date back to the 50's...lol Today we are having a wind storm [V] as soon as i get a connect faster than 4.2 i will upload the other files, i just wish satalite out here did not want to charge me 120.00 just to add internet to my existing TV account.
[^]
Crunch

<<I can't is the seed that never grows!>>

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Emotion examples with Haptek
« Reply #7 on: December 16, 2004, 07:55:16 pm »
=Vonsmith=
i have not had the time today as of yet to try that script, but i am sure it is going to be great.. I'll be using it later tonight if i ever get done with work. I've been stealthily sneeking into the forum.... between teleconferences today...[8D]
Crunch

<<I can't is the seed that never grows!>>