title: When does the transition from clip space to screen coordinates happen?
body: <p>I was studying the rendering pipeline and when I got to the clipping stage it was explained that <em>from the view (eye or camera) space we have to pass to the clip space</em>, also called <strong>normalized device space</strong> (NDC), that is a cubic space from -1 to 1. </p>
  
  <p>However, now I don't understand when the passage from this space to the screen coordinates space happens: </p>
  
  <ol>
  <li><p>Right after clipping and before rasterization? </p></li>
  <li><p>After rasterization and before scissor and z-test? </p></li>
  <li><p>At the end just before writing on the frame buffer?</p></li>
  </ol>