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

Change the Sky with Sky Segmentation!

Featured
  • Adding non-segmented objects

    Now let’s say you want some things to NOT be segmented. To do this, we can add another camera which does not have a Mask Texture.

    In the Objects panel, press Add new > Camera.

    Select the new camera, then in its Inspector panel, in the Input field, choose Textures > camera_output.

    Then to have this camera’s result be the final image, in the Resources panel, click Add New > From Camera > then select your new camera. Select the new texture, and in its Inspector panel tick the box next to “Use as Output”.

    You’ll notice that your objects are now rendered twice. This is because both cameras are rendering the same layer. To fix this, select your new camera, and in the Inspector panel, under the Camera component, select the dropdown next to layers, and press “Add New”; then choose the new layer and untick “Default”.

    Now, to have an object appear unsegmented, we just have to change their layer to this new one! Select the object, and in the top right corner of the Inspector panel, press the dropdown next to Layers, and choose the one you just created.

    Finally, since our original camera was tracking the phone’s rotation, we can parent our new camera to it so that it tracks the phone’s rotation as well!

    And that’s it! Now you can have your Lens show objects that are close and are far from the user.

     

    Can’t wait to see what you come up with!

    Jon

    Comment actions Permalink
  • Hi Jon, 

     

    I think this tutorial isn't updated. I can't find the INPUT field, Camera Output, Add New From Camera. What could it be done? 

    Comment actions Permalink
  • Hi Johnatan,

    can you please update this tutorial for version 4.16. Some parts of the lens studio are completely changed :-)

    thnx.

    Comment actions Permalink
  • Hey Everyone!

    In case you're still looking for the answer indeed this has changed a bit. Now, Cameras can have a Render Target--which is like the paper that Cameras will print their images on. This is better because now, Multiple cameras can print to the same render target.  https://docs.snap.com/lens-studio/references/guides/lens-features/scene-set-up/camera#live-target-and-capture-target

    The main difference is now the output is set in the Scene Config. In other words, you want to set your Capture Target (shown in the final snap) or Live Target (shown only while Snapping), with the right Render Target. In other words, which "paper" do you want to show to the user. https://docs.snap.com/lens-studio/references/guides/lens-features/scene-set-up/camera#live-target-and-capture-target.

    Other than that, the steps should be the same! https://docs.snap.com/lens-studio/references/guides/lens-features/segmentation/fullscreen-segmentation/#using-the-segmentation-texture

    Let me know if you're still having trouble and I can write more!

     

    Thanks,

    Jonathan

    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!