On 6/17/2021 11:30 PM, Mike Horvath wrote:
> On Facebook you can create 3D posts using an image and a depth map.
> Described here:
> A couple of questions.
> Has anyone created a script to generate these?
> Does depth increase linearly? How deep are white and black supposed to
> be? Do these follow geometric rules?
Thinking about it, blackness should be the inverse tangent of the
distance of an object from the camera. But what about the scale? How
much is 1 unit? I'm guessing the scale should be somehow related to the
distance between the viewer's eyes. It's also possible that the Facebook
plugin fudges all these numbers somehow in completely arbitrary ways.
Post a reply to this message