CGGO Q24

0. Perform window to viewport transformation for the point (20, 15). Assume that (Xwmin, Ywmin) is (0, 0) (Xwmax, Ywmax) is (100, 100); (Xvmin, Yvmin) is (5, 5); (Xvmax ,Yvmax) is (20, 20). The value of x and y in viewport is

CGGO Q

  • Option : C
  • Explanation :
    x(view port) = (XV max - XV min) (XW - XW min) / (XW max - XW min) + XVmin 
     y(viewport) = (YVmax - YVmin)( YW - YWmin) / (YWmax- YWmin ) + YVmin
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *