The forum on this site is closed for new comments and posts. Continue the conversation in the new forum, and learn more here.

Why does snapchat show an impossible example?

  • The marker template only uses 90 mb of RAM on my phone

    Comment actions Permalink
  •  

    iphone x

    Comment actions Permalink
  • Hi Miguel,

    I’m excited to see your experience! Thanks for pointing this out, it’s good to always check the RAM usage of Lenses.

    The size of this lens is large because we provided high resolution textures for Mark and the City (for example the texture of the poster to print). We can reduce the RAM size without changing the functionality of the Lens by resizing the textures in the Lens. We agree that this is confusing and will update the template for our next release!

    If you delete all the Mark animation / content by deleting the “MyScene [REPLACE_ME]” in the Objects panel, you should free up some RAM for your content.

     

    If you still need more RAM, you can reduce the amount of crosses in the CrossController. To do this:

    Open CrossController.js and replace the initializeMesh function with the following to allow you to set a custom number of crosses:

    function initializeMesh() {
    var numCross = script.textures.length - 1;
    var w = script.markerComponent.marker.height * script.markerComponent.marker.getAspectRatio() * 1.01;
    var h = script.markerComponent.marker.height * 1.01;
    var r = script.fromCenter ? numCross/2 : numCross;
    var options = {
    radius: r,
    meshHalfSize: w / 50,
    dx: w / numCross,
    dy: h / numCross,
    animationFinishedCallback: onCrossAnimationFinished,
    }
    crossController = new CrossGenerator(options);
    }

    Then, select CrossController in the Objects panel, tick the box next to “Advanced” and press the trash can icon next to a couple of the Textures:



    Let me know if you need any clarification!

     

    Cheers,

    Jon

    Comment actions Permalink
  • thank you!!!

    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!