O'Reilly logo

jMonkeyEngine 3.0 Cookbook by Rickard Edén

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Lip syncing and facial expressions

This recipe handles two important parts of making characters seem alive and sentient. Technically, they can be handled using AnimChannel, but they still deserve their own mention as they have some special requirements.

Lip syncing revolves around something called Phoneme, which is the distinct shape the mouth takes when making certain sounds. The number of phonemes a character has varies according to different needs, but there is a basic set that is used to create believable mouth movements.

Finally, we'll use jMonkeyEngine's Cinematics system to apply them in sequence and have the character speak (mime) a word. Cinematics is jMonkeyEngine's scripting system, and it can be used both to create in-game-scripted events ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required