[x3d-public] Adding Emotions was fairly simple!
    Joe D Williams 
    joedwil at earthlink.net
       
    Tue Jan 28 17:02:40 PST 2025
    
    
  
Thanks,John. That looks like a nice advance
Joe
. 
-----Original Message-----
From: John Carlson <yottzumm at gmail.com>
Sent: Jan 28, 2025 2:01 AM
To: Joe D Williams <joedwil at earthlink.net>, X3D Graphics public mailing list <x3d-public at web3d.org>, Don Brutzman <brutzman at nps.edu>
Subject: Adding Emotions was fairly simple!
https://github.com/coderextreme/ci2had/blob/main/resources/MultiFacialAnimationMenu.x3d 
Here's the chart I grabbed from Myeong's notes:
 
emotions = {
  'Happiness/Joy': ["CheekRaiser", "LipCornerPuller"],
  'Sadness': ["InnerBrowRaiser", "BrowLowerer", "LipCornerDepressor"],
  'Surprise': ["InnerBrowRaiser", "OuterBrowRaiser", "UpperLidRaiser", "JawDrop"],
  'Fear': ["InnerBrowRaiser", "OuterBrowRaiser", "BrowLowerer", "UpperLidRaiser", "LidTightener", "LipStretcher", "JawDrop"],
  'Anger': ["BrowLowerer", "UpperLidRaiser", "LidTightener", "LipTightener"],
  'Disgust': ["NoseWrinkler", "LipCornerDepressor", "LowerLipDepressor"],
  'Contempt': ["LipCornerPuller", "Dimpler"]
}
 
The main thing I did was pass an MFNode of ScalarInterpolators (adapters) to the Script instead of just one.
 
Emotions can be multi-selected, but I don't recommend it.
 
Perhaps we could add more displacers for better effect?
 
Enjoy!
 
This is tons more enjoyable than Blender!
 
Recommended name for archive is FacialEmotionMenu.x3d
 
Discuss whether we want individual action units menu or not.
 
Thanks to all who worked on Jin models.
 
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250129/4ce947ea/attachment.html>
    
    
More information about the x3d-public
mailing list