tuxingxueshiyan1

所属分类:绘图程序
开发工具:Visual C++
文件大小:702KB
下载次数:137
上传日期:2007-05-15 18:08:40
上 传 者超哥XXX
说明:  《计算机图形学》 实验一 基本图形的生成 实验目的: 1、编写直线的DDA和Bresenham算法的实现程序,验证算法的正确性。 2、编写圆的Bresenham算法或中点算法的实现程序,验证算法的正确性。 3、用多边形的扫描线填充算法对一多边形进行填充,验证算法的正确性。 4、使用Cohen-Sutherland算法裁减二维线段或使用Sutherland-Hodgman算法对多边形进行裁减,验证算法的正确性。 5、通过算法的编写,切实掌握图形学中直线和圆生成的原理以及图形填充和裁减算法的原理和过程。 实验内容: 1、(必做)编写直线的DDA和Bresenham算法的实现程序。要求:直线的起点与终点坐标通过文本框中输入或添加鼠标程序,实现交互式画直线(用鼠标确定直线的起点和终点)。禁止使用画直线的系统函数。 2、(必做)编写圆的Bresenham算法或中点算法的实现程序。要求:圆的半径与圆心点坐标通过文本框中输入或添加鼠标程序,实现交互式画圆(用鼠标确定圆的圆心和半径)。禁止使用画圆的系统函数。
("Computer Graphics" experiment, a basic pattern formation of the experiment : 1. DDA prepared a straight line and the Bresenham algorithm procedures, verification algorithm is correct. 2, the preparation of a round of the Bresenham algorithm or midpoint algorithm implementation procedures, verification algorithm is correct. 3, using the polygon scan line algorithm to fill a polygon filling, the verification algorithm correctness. 4. Use Cohen-Sutherland algorithm line or two-dimensional reduction of the use of Sutherland- Hodgman algorithm for polygon reduction, the certification algorithm correctness. 5, algorithm development, really control the graphics linear and circular formation of principle and graphics filling algorithm and the reduction of the principles and processes. )

文件列表:
实验1\MainFrm.cpp (2973, 2007-03-27)
实验1\MainFrm.h (1561, 2007-03-27)
实验1\res\Toolbar.bmp (1078, 2007-03-26)
实验1\res\实验1.ico (1078, 2007-03-26)
实验1\res\实验1.rc2 (397, 2007-03-26)
实验1\res\实验1Doc.ico (1078, 2007-03-26)
实验1\Resource.h (733, 2007-03-27)
实验1\StdAfx.cpp (207, 2007-03-26)
实验1\StdAfx.h (1054, 2007-03-26)
实验1\实验1.aps (28132, 2007-05-05)
实验1\实验1.clw (1981, 2007-05-05)
实验1\实验1.cpp (4163, 2007-03-26)
实验1\实验1.dsp (4555, 2007-03-27)
实验1\实验1.dsw (535, 2007-03-26)
实验1\实验1.h (1323, 2007-03-26)
实验1\实验1.ncb (115712, 2007-05-05)
实验1\实验1.opt (54784, 2007-05-05)
实验1\实验1.plg (1244, 2007-04-28)
实验1\实验1.rc (10906, 2007-03-27)
实验1\实验1Doc.cpp (1688, 2007-03-26)
实验1\实验1Doc.h (1438, 2007-03-26)
实验1\实验1View.cpp (5658, 2007-03-27)
实验1\实验1View.h (2321, 2007-03-27)
实验1\Debug (0, 2007-04-30)
实验1\res (0, 2007-04-10)
实验1 (0, 2007-05-05)

近期下载者

相关文件


收藏者