3D objects exactly full screen
In the 2D area, Lens Studio offers great orthographic camera options to adapt objects to the screen sizes of different devices.
This is more difficult in the 3D area with the perspective camera
The goal is to align a 3D object so that it fills the entire screen on any device.
While trying to solve the problem, I found out that the width/height property of the camera texture differs from the actual data of the devices:
Here is a comparison of the data determined with the script with the original data of the devices:
Due to the deviation from the actual data of the devices, I am not able to align the 3D objects in such a way that they always fill the screen.
Since I use 3D objects as buttons in my lens, it can happen that the buttons fall into an unsuitable range on some devices. Again, I haven't found a way to optimize my lens.
https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=a12f8646eebc4fd19f86a913ed41110b&metadata=01
While browsing the templates to find a solution, I found an original Snap lens that has the same problem:
It would be great if someone could help me.
Hi Meshmaker ,
Have you tried to adjust screen region ??
Orthographic camera > Full frame region > screen transform > screen region
👉 select Safe Render
Let me know if this helps .
Cheers ,
Ghaith
Cheers,
Meshmaker
I have a small issue. Could you help me. As we have designed some lenses on mobile for breedium. But now I have you those lenses on desktop even I have copied the link and paste it but didn't work. Is there any other way to use the mobile lens on desktop?
Hello Ryker,
I think your request ended up in the wrong place.
Please create a new post for a new request.