搜索资源列表
test7
- 一个线段的裁减算法,具体实现在矩形区域内,对两条直线裁减。-a segment of the reduction algorithm, rectangular concrete realization in the region, the two straight cuts.
program
- Opengl:使用多边形区域,设计一个简单二维动画。其中的角色能按一定轨迹运动。本例中用小正方形在矩形框中移动,遇到边框则会弹回-Opengl:Design a simple 2 d animation.the role in the polygon could move according to a certain trajectory.the example describes a square moving in a rectangular box,which rebounds when
1
- 1、理解多边形裁剪的原理(Weiler-Atherton算法、Sutherland-Hodgeman栋算法)。 2、实现这两种多边形的裁剪算法,在屏幕上用一个封闭矩形裁剪任意多边形(凹多边形、凸多边形都要实验)。 3、编写上述算法程序,在工作区域当中运行并显示算法效果。 4、将多边形裁剪模块添加到设计的图形实验系统当中。 5、完成代码编写、调试。-1, understand the principles of polygon clipping (Weiler-Atherton