The Tech Behind 3D Photos on Facebook
Subscribe:  iCal  |  Google Calendar
Kyiv UA   22, Sep — 23, Sep
Valletta MT   23, Sep — 29, Sep
24, Sep — 27, Sep
Tokyo JP   25, Sep — 27, Sep
San Diego US   27, Sep — 30, Sep
Latest comments

Could you explain how you made the custom grunge generator?

by Joaquín Otazu Zunzunegui
4 hours ago

Amazing work sir! Congratulations

by Артем Ангелов
6 hours ago

слишком офигенно

The Tech Behind 3D Photos on Facebook
21 October, 2018

Facebook recently rolled out their new feature called 3D Photos. Are you curious about the tech and the algorithms behind the feature? Let’s check out a post by a Medium user akella.

For users it’s quite simple: use portrait mode on iPhone and them post the photo to Facebook. How does it work? The enthusiast from Medium states that when new iPhone is taking a picture in portrait mode, the device also stores depth data along with usual .jpg. Check out a little video explanation on how gathering the data below:

It is worth noting that this data comes as a point cloud, not a mesh. Then, Facebook creates an actual 3D model out of it with a photo as a texture using some interpolation algorithm.

When a user loads a facebook page, it opens a scene and loads the created model with a texture.

Camera position is changing as you move your mouse, so you experience this 2.5D effect, which is actually a true 3D model as it turns out. Make sure to read the original article with more details here


Leave a Reply