The forum on this site is closed for new comments and posts. Continue the conversation in our Snap AR Discord server.

Animate a 2D image in the way face mask does but without wrapping?

  • If I'm understanding correctly, I think you're looking for Face Image. This is a 2D image attached to the face but not actually warped by the face:

    https://lensstudio.snapchat.com/guides/face/face-effects/face-image/

     

     

    Comment actions Permalink
  • Travis, thanks for getting back to me. You have it half correct. Yes, I want an effect similar to face image. Currently, I can take an image of a face or drawing of one and anchor it to the users head like a 2d cardboard mask even with cutouts for eyes and mouth.

    I can also use the Face Mask object or the Photo template and put the same picture or drawing of a face on top of the users head. In these modes the picture or drawing tries to wrap around the users head to give the effect of a 3d mask or face replacement. 

    When using Face Mask or Photo template, the 2d image not only wraps around the sides of the face but also is rigged to the users facial movements. So, after lining up all the points on the mask, the mask (picture or drawing) is distorted to look like the 2d image is blinking, moving its eyebrows, mouth, facial features, etc.

    What I would like to do is have a 2d drawing or picture of a face that stays flat (does not wrap around the side of the face or head) but is still rigged to the users movements and distorts the face like in the Face Mask object but does not wrap it around. 

    I realize some extensive work is behind the Face Mask but is there a way using a script or something that would turn off the wrap around object function of the face mask? A number that would control or limit this "wrap" effect? Is there a mesh that can be edited to achieve this? Is there a way to manually map points to a face and then to a 2d face image and use a liquefy or distort filter animation?

    Is there any way and whats the simplest way to accomplish this task?

    Thanks again for the help.

    Comment actions Permalink
  • Got it, understood. So this is not something you can solve just with the Face Mask or Face Image objects. We are able to generally warp the scene with the user's face. And this could include a Face Image that is attached to the face. We actually just did a Twitch stream on this topic. Basically, it uses a combination of Face Mask to build a distortion texture and then feeds that distortion texture into the Distortion post effect. The this will now distort the feed with the face. This I think could get the result you are looking for. 

    Check out this vid from the stream around the 10 minute mark!

    https://www.twitch.tv/videos/432323573

    Comment actions Permalink
  • Travis,

      Thanks, that's awesome and looks very promising. Going to play around with it today. Three questions:

    1. Did you share the project yet and where can I get it (or at least the depth mask)?

    2. Can I use an opacity mask as a template for a depth mask?

    3. As requested on your stream, can you make it a weekly thing? I would be there every week and I am sure many others would be as well. Especially if it was mentioned somewhere prominent in the support section.

    Comment actions Permalink
  • 1) Video and projects here (in description):

    https://www.youtube.com/watch?v=daehwWYu-Us

    2) Any black and white texture can be used as a depth mask

    3) Appreciate the support for the stream! We're also actively working on some more tutorial videos for the community. And we'll talk about streaming more frequently. Great to know there's an audience!

    Comment actions Permalink
  • Hey, did you manage to achieve this? I would like to do this also

    Comment actions Permalink

We're here to help! We just need a little bit of information...

What system are you using?

Have you downloaded the latest version of Lens Studio?

Please download the latest version of Lens Studio. If you still run into this issue, please come back and report it!

Is this issue causing Lens Studio to crash?

What system do you run Lens Studio on?

Version

Graphics

Follow the next steps to help us solve your issue:

  • Copy and paste this text into your TerminalCommand Window
    open ~/Library/Preferences/Snap/Lens\ Studio/ %LOCALAPPDATA%\Snap\Lens Studio Copy Text
  • Press ReturnEnter to run the command. The Lens Studio folder will automatically open
  • Prepare to upload your files: zip the "Log" Folder by right-clicking and choosing "compress."
    Locate the Log.txt file right above it.

    Attach a screenshot of the issue:

Name:

Email:

What is this most relevant to?

Please enter a brief description of your issue:

Thanks for submitting this issue.

Unfortunately, it's likely due to the operating system or hardware you're using – since they don't meet the system requirements for Lens Studio.

Still, we hear you loud and clear, and are logging the issue in case there's ever a workaround we can provide!

Minimum Requirements

Operating System: Windows 10 (64 bit); MacOS 10.11+

Hardware: Minimum of Intel Core i3 2.5Ghz or AMD Phenom II 2.6Ghz with 4 GB RAM; Intel HD Graphics 4000 / Nvidia GeForce 710 / AMD Radeon HD 6450 or better; screen resolution of 1280x768 or higher

We'll try to resolve this issue as soon as possible. Thanks for letting us know about it!

Keep an eye out for a followup email from us. We may have a couple more questions for you, or we might already have a solution to offer.

Happy creating!