Combining paper head template and segmentation
Hi there :)
I am very new to this, but I am trying to combine the Paper Head Template along with the Segmentation Template. Essentially I am trying to put a background for the Paper Head.
I have tried to follow the steps on combing templates at https://lensstudio.snapchat.com/guides/face/combining-face-templates-with-world-templates/ and adjusting where needed, but unfortunately, I do not think I have the knowledge to do this correctly.
If someone could please outline step-by-step (idiot proof) how to do this that would be greatly appreciated! :)
Cheers
Hey Susan,
I made a project file for you which included Paper head with segmentation.
Here is the link to download the project file:
https://storage.googleapis.com/snapchat-lens-assets/f1a09194-f02d-43ed-92b8-62e843179ff0/lensStudio/Forum-Helpers/PaperHead_with_Segmentation_Example.zip
The way that it's working its working is little bit confusing but fairly simple.
We used two camera setup in the project file. One to capture paper-head images and another one for images on the background.
I applied two different render target to each camera so both of the camera will render the related layer.
Then we just applied the segmentation texture to the background camera and render it using Orthographic camera.
Hope this will make sense to you.
Don't hesitate if you have any other questions.
Cheers,
Amir.
Ok