Computer Graphics and Animation - Old Questions

11. Derive the formula for windows to viewport transformation. Given a window bordered by (0,0) at the lower left and (4,4) at

      the upper right. Similarly, a viewport bordered by (0,0) at the lower left and (2,2) at the upper right. If a window at position

      (2,4) is mapped into the viewport. What will be the position of viewport to maintain same relative placement as in window?         [5+5=10] 

10 marks | Asked in 2020