Control Objects Using Face Expressions - Lens Studio Tutorial

  Рет қаралды 5,468

Michael Porter

Michael Porter

Күн бұрын

Пікірлер: 32
@Fam6j
@Fam6j 3 жыл бұрын
Thank you very much for sharing the tutorial
@DUMPLLC
@DUMPLLC 5 ай бұрын
wondering if these scripts still work in the most recent version. I can seem to get the jaw open data to print.
@seamooncosplay
@seamooncosplay Ай бұрын
were youb able to figure it out?I I can't seem to find the right script asset
@TheRandomTubeYT
@TheRandomTubeYT 2 жыл бұрын
Great tutorial thank you
@nandanasanthosh8562
@nandanasanthosh8562 Жыл бұрын
where did u download that skull from??
@ModelsbyMike3d
@ModelsbyMike3d Жыл бұрын
Either BlendSwap or TurboSquid
@eddfrutos
@eddfrutos 3 ай бұрын
Suscribe + like .. this tutorial is a life saver. Thanks for sharing
@iHeartDom
@iHeartDom 2 жыл бұрын
My blendshapes are present but have different names. How do I rename the blendshapes accordingly?
@ModelsbyMike3d
@ModelsbyMike3d 2 жыл бұрын
You can rename the blendshapes in your 3D software, or if you are writing a script you can get/set blendshapes by their name docs.snap.com/api/lens-studio/Classes/Components#BlendShapes
@thatOne873
@thatOne873 3 жыл бұрын
awesome tutorial! how could we add fire/gif/mp4 when mouth is opened? : )
@ModelsbyMike3d
@ModelsbyMike3d 3 жыл бұрын
The easiest way would be with the built-in behavior script.
@novalux-web
@novalux-web 2 жыл бұрын
hello, it is works with a jaw in 2D?
@SurvivalSanctuary
@SurvivalSanctuary 2 жыл бұрын
I have a 2d image of a hooded face, with mouth animations using the GIF format, Lens studio allows me to import it and use it but I do not know how to trigger the animation with facial expressions. Is there functionality for this?
@ModelsbyMike3d
@ModelsbyMike3d 2 жыл бұрын
To trigger based off the facial expressions as I used them in this tutorial you would need to script that. Here are the docs for playing animated textures: docs.snap.com/api/lens-studio/Classes/Providers#AnimatedTextureFileProvider An alternative would be to use the behavior script which has a few face events that might work for you: docs.snap.com/lens-studio/references/guides/lens-features/adding-interactivity/helper-scripts/behavior#face-event
@darkssektor8554
@darkssektor8554 2 жыл бұрын
tell me how to make the 3d model repeat the rotation of the head, but the angle of rotation of the 3d model should be 4 times less than the angle of rotation of the head
@darkssektor8554
@darkssektor8554 2 жыл бұрын
and how can I make the rotations be only on one axis, for example X
@ModelsbyMike3d
@ModelsbyMike3d 2 жыл бұрын
​@@darkssektor8554 that's not super easy to explain in a KZbin comment. I recommend you ask it on the official forum support.lensstudio.snapchat.com/hc/en-us/community/topics
@Swarley-ph1le
@Swarley-ph1le 3 жыл бұрын
Amazing tutorial!! Does this work with any 3D object?
@ModelsbyMike3d
@ModelsbyMike3d 3 жыл бұрын
It does!
@Swarley-ph1le
@Swarley-ph1le 3 жыл бұрын
Amazing have to try this!! Does the model have to have the open jaw rotation or will the script and face mesh do that automatically?
@ModelsbyMike3d
@ModelsbyMike3d 3 жыл бұрын
​@@Swarley-ph1le ​ There needs to be something there to rotate. With the skull model I had already rigged the lower jaw with a bone to control the rotation.
@Swarley-ph1le
@Swarley-ph1le 3 жыл бұрын
@@ModelsbyMike3d alright thank you!! 🥰 going to give it a try
@novalux-web
@novalux-web 2 жыл бұрын
it is works with a jaw in 2D?
@ModelsbyMike3d
@ModelsbyMike3d 2 жыл бұрын
It will indeed! You may need to modify the script a bit, but the overall method is the same.
@patrickmarr7076
@patrickmarr7076 2 жыл бұрын
awesome tutorial Mike... have you tried it in the most recent version of Lens Studio (3.161) ? I ask because I'm not getting the same results as in your video when you enter the first two lines of script: //@input Component.RenderMeshVisual faceMesh // @input SceneObject target In your video, as soon as you enter these lines, the inspector panel shows a new dialog box with fields for source and target. In the current version of Lens Studio I'm not getting that result. I can manually add component to get render mesh component, but I still don't have a way to enter the bone as target. Any thoughts? I'm wondering if ongoing development of Lens studio has broken your solution... which isn't all that old... its only been a few months since you posted this video.
@ModelsbyMike3d
@ModelsbyMike3d 2 жыл бұрын
Have you saved the script with ctrl-s? There’s a little dot that will show up next to the name of your script in the tab of the editor when your script has unsaved changes. Also make sure the script editor is active (blinking cursor) when you hit ctrl-s.
@patrickmarr7076
@patrickmarr7076 2 жыл бұрын
@@ModelsbyMike3d thanks for the quick reply Mike. I have no experience with scripting and just enough experience with Lens Studio to get totally frustrated, so I only did what you showed in the video. Any keystrokes or hotkeys that didn't get specifically mentioned didn't get done here. I treat tutorial videos like recipes, trying to repeat exactly what I see. But there's always stuff that the presenter takes for granted as being obvious that may not always get mentioned. Are you saying that once I save the script the dialog box I mentioned will appear? I'd really like to get this working because for my needs the ability to move a hinged mesh with a bone will be more useful than the full blown shape keys approach.
@ModelsbyMike3d
@ModelsbyMike3d 2 жыл бұрын
@@patrickmarr7076 yes, once you save the script the input boxes will appear.
@patrickmarr7076
@patrickmarr7076 2 жыл бұрын
@@ModelsbyMike3d I'm happy to report that it works after learning to save the script! (to be fair, you DID say to save it, and I remember wondering how, so I skipped that step hoping that maybe it would self-save at some point. This is awesome! Thank you! Now.. can I repeat the process in the same project to use a bone to generate an eye blink?
@ModelsbyMike3d
@ModelsbyMike3d 2 жыл бұрын
@@patrickmarr7076 Glad to hear! You can indeed extend the script. You’ll need to add additional inputs for the other objects you want to control, get the additional face expression weights, then set the corresponding rotations. Alternatively you can make copies of the script and just change the expression name in each copy of the script
@JoshuaV19
@JoshuaV19 2 жыл бұрын
A bit useless tutorial for people who don't have experiences with scripting.
@HaveANiceHairDay
@HaveANiceHairDay 2 жыл бұрын
I have no experience with scripting, and it works excellent
How to control materials with scripts in Lens Studio
9:16
Michael Porter
Рет қаралды 3,7 М.
Make Your Own Buttons in Lens Studio
6:15
Michael Porter
Рет қаралды 7 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Lens Studio Tutorial: Cloth Physics Import
6:36
Niko Hestia
Рет қаралды 7 М.
Lens Studio Tutorial: Make your objects follow the camera!
8:38
Lens Tutorials
Рет қаралды 6 М.
Face Texture in Lens Studio with the Reprojection Asset
6:09
Michael Porter
Рет қаралды 1,6 М.
Getting Started in Lens Studio 5
16:14
Michael Porter
Рет қаралды 1,1 М.
Fantastic Eyeballs in Lens Studio
6:41
Snap AR
Рет қаралды 11 М.
How to put someone's face on an image with Lens Studio
8:14
Michael Porter
Рет қаралды 7 М.
ZBrush to Houdini FAST
5:11
Arcanacom Studio
Рет қаралды 126
How To Wear Anyones face In Lens Studio
6:05
Dominique Garcia (Dominiqie)
Рет қаралды 16 М.
How to add a tap-to-change feature with Lens Studio
19:25
Michael Porter
Рет қаралды 4,5 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН