Z Buffer

Creator
Creator
Seonglae Cho
Created
Created
2022 Oct 24 17:15
Editor
Edited
Edited
2022 Oct 28 17:40
Refs
같은 픽셀에서 여러 물체중 어떤걸 표출할지 정하기 위해
but not enough memory to store all object
ray tracing 에서는 그냥 제일 가까운 거 찾음
 
  1. camera to origin mem_e
    1. N=(uvw)N = \begin{pmatrix} u & v & w \end{pmatrix}
      matrix composed with unit axis vector
      (p11)=(NTNTe01)(p1)\begin{pmatrix} p^1 \\ 1 \end{pmatrix} = \begin{pmatrix} N^T && -N^Te \\ 0 & 1 \end{pmatrix} \begin{pmatrix} p \\ 1 \end{pmatrix}
  1. frustum to box mpm_p
    1. mp=(1000010000(n+f)/nf001/n0)(xyz1)m_p= \begin{pmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & (n+f)/n & -f \\ 0 & 0 & 1/n & 0 \\ \end{pmatrix} \begin{pmatrix} x \\ y \\ z \\ 1 \\ \end{pmatrix}
  1. box to unit box mom_o
 
 
 
 
 

Recommendations