Description: Understanding of the principles of cutting two-dimensional graphics (point of cutting, cutting a straight line, polygon clipping), the use of VC+ OpenGL to achieve a straight line cutting algorithm. 2. Experimental contents: (1) understand the principles of cutting a straight line (Cohen-Surtherland algorithm, You-Xin Liang Dong algorithm) (2) the use of VC+ OpenGL to achieve a straight line cutting the coding algorithm, on the screen in a closed arbitrary rectangular cutting a straight line. (3) debug, compile, modify the program
File list (Check if you may need any files):
shiyan4
.......\Debug
.......\.....\shiyan4.exe
.......\.....\shiyan4.ilk
.......\.....\shiyan4.obj
.......\.....\shiyan4.pch
.......\.....\shiyan4.pdb
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\shiyan4.cpp
.......\shiyan4.dsp
.......\shiyan4.dsw
.......\shiyan4.ncb
.......\shiyan4.opt
.......\shiyan4.plg