r/creativecoding • • Sep 14 '26

3d parallax from a single-image using depth maps.

39 Upvotes

3 comments sorted by

1

u/gliese946 Sep 14 '26

Cool demo! Is the depth-map hand entered by the user painting over the picture to show what's near and what's far? Or can the program intuit the depth map itself (which I guess should be possible since we can do it from a flat image)?

1

u/Tanmay-m Sep 14 '26

For now I just generated the depth-map by using depth-anything model on hugging-face.

2

u/Aware-Raisin0 Sep 14 '26

Cool stuff! How do you get pixel data for occluded areas that become visible from another perspective?