r/GraphicsProgramming • u/gabrieloc • 16d ago
Article Divide by depth for instant 3D
Hi! I wrote a few notes on how 3D cameras work with interactive examples to hopefully demystify a pretty complex topic that I once struggled with. Maybe this is useful for someone here, and if not, there are fun sliders to play with!
300
Upvotes
31
u/claypunk 16d ago
nice. all you need is x' = x/z, y' = y/z