Why do we need perspective division?

后端 未结 4 1214
独厮守ぢ
独厮守ぢ 2021-02-04 10:33

I know perspective division is done by dividing x,y, and z by w, to get normalized device coordinates. But I am not able to understand the purpose of doing that. Also, does it h

4条回答
  •  梦毁少年i
    2021-02-04 10:58

    To really distill it to the basic concept, and why the op is division (instead of e.g. square root or some such), consider that an object twice as far should appear with dimensions exactly one half as large. Obtain 1/2 from 2 by... division.

    There are many geometric ways to arrive at the same conclusion. A diagram serves as visual proof for this, really.

提交回复
热议问题