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

3D renders behind facemask. BUG?

  • Can I have the download of this project so I can help you?  so I can help you out quick

     

    If not just somewhere on lens studio you can report a bug and Lens Studio Team looks at the project but that takes a bit of time to be looked at I just wanted to see what I can do.

    Comment actions Permalink
  • You can download it here: https://we.tl/t-wivACXmNoS

    And thanks for your effort. 

    Comment actions Permalink
  • So your problem was that the Box was showing up behind the face mask?

    Comment actions Permalink
  • Yes

    Comment actions Permalink
  • All I did was move the face Occluder a bit forward and increase the width of the Occular and the box wasn't showing up behind the mask ill link the video of it not showing behind the Mask

     

    https://drive.google.com/file/d/174NNQ8ThNt3Vez3jjYNsVyT53k6kzrQM/view?usp=sharing

    Comment actions Permalink
  • Tell me if that helps if you need anything or more help just comment ill help you out the most I can.

    Comment actions Permalink
  • Try to spawn it (by tapping). It still gets placed behind the mask....

    Comment actions Permalink
  • Ok gonna take another look at it.

    Comment actions Permalink
  • Ok, I figured it out so as the script it's supposed to spawn in an object but it doesn't know there is a render order so like it's just being told to spawn in.

     

    An alternative I did find for you was to copy and paste the component ill link a video down below.

     

    but if you do need another way is to find an expert at JS to fix the script.

     

    https://drive.google.com/file/d/1ERHXmbEJi4DDDkLlGnX65nYuHSeEutL7/view?usp=sharing

    Comment actions Permalink
  • OK. I looked at the video and couldn't quite figure out how that was a fix...?

    About the script; the sphere is spawned correctly via the same script but the cube (fbx) is not.

    That seems a bit strange to me....

    Comment actions Permalink
  • Adding more Components so that the cube doesn't show behind the Mask. 

     

    that's also probably an issue an imported animated cube.

     

    Comment actions Permalink
  • Try using the regular cube just use a tween transformation to move it 

    Comment actions Permalink
  • The point is I want to use a more advanced 3D animation in the end. The cube was just to illustrate the issue...

    Comment actions Permalink
  • Alright so the problem is the script simple as that

    Comment actions Permalink
  • If the script is the problem why is the instantiated sphere then on top of the face mask.

    It makes no sense.🤦‍♂️

    Comment actions Permalink
  • Actually can you show me the sphere working because when I spawned it in the mask wasn’t even close the the sphere so how would it show behind the mask

    the sphere wasn’t moving backwards so it wasn’t going through the mask while being spawned

    Comment actions Permalink
  • Try and watch this:

    https://we.tl/t-RGrL0zWspD

    Comment actions Permalink
  • weird so are you using the default cube that's already in lens studio for that?

     

    Comment actions Permalink
  • No.
    The cube is from Blender.
    The sphere is from Lens Studio

    Comment actions Permalink
  • So that might be the issue if you import something it's going to show behind the mask because it works with the inbuilt Lens Studio Models Just fine.

    Comment actions Permalink
  • Well....

     

    Why is that and how to fix it. Anybody?

    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!