‹ BackHN Continuity

Thread

Divide by depth for instant 3D

219 points · 39 comments · gabrieloc

  1. gabrieloc · · focus · HN ↗
    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!
    1. dyarosla · · focus · HN ↗
      The visuals and sliders are great!

      Maybe consider clipping the ball properly on the edges of the sides of the view frustum ?

      Similarly the near and far could also be clipped; i know this is not true of the math necessarily but is the expected result in 3d graphics applications.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.