using UnityEngine; namespace Normal.Realtime.Examples { public class VoiceMouthMove : MonoBehaviour { public SkinnedMeshRenderer[] skinned; private RealtimeAvatarVoice _voice; private float _mouthSize; void Awake() { _voice = GetComponent(); } void Update() { if (skinned != null) //not sure whether work or not { float targetMouthSize = Mathf.Lerp(0.1f, 1.0f, _voice.voiceVolume); _mouthSize = Mathf.Lerp(_mouthSize, targetMouthSize, 30.0f * Time.deltaTime); foreach (SkinnedMeshRenderer s in skinned)//not sure whether work or not { s.SetBlendShapeWeight(41, _mouthSize * 100); s.SetBlendShapeWeight(17, _mouthSize * 50); s.SetBlendShapeWeight(6, _mouthSize * 20); } } } } }
top of page

Wondering in the Garden, Waking from the Dream

Made With

Tilt_brush_by_google_logo_color.png

[Mixed Reality Mini Group Project]

Mixed Reality Assignment #3

at Goldsmiths University of London

2021 - 2022

Project Team Member: Yuke Pi​ , Zimu Cheng​ , Ju Zhang ​

This project was a tentative attempt at virtual production, completed in three days. I was in charge of the green screen and the setup of the technical part of the Virtual Production pipeline.

Developmen Artwork
  • Facebook
  • Twitter
  • LinkedIn

©2021 by Mianzi Ltd

bottom of page