搜索资源列表
扫描线算法生成多边形
- 扫描线算法填充多边形
Arbitrary-polygon-scan-line-filling
- 这是一个运用OpenGL编程的实例,是在VC++6.0中编写的一个控制台程序,能够实现任意多边形的填充,基于的算法是扫描线填充算法。-This is a use of OpenGL programming examples, is a console program written in VC++6.0, filling to achieve arbitrary polygon, the algorithm is based on scan line filling algorithm.
多边形扫描线填充原始算法
- 扫描线算法适合对矢量图形进行区域填充,只需要直到多边形区域的几何位置,不需要指定种子点,适合计算机自动进行图形处理的场合使用,比如电脑游戏和三维CAD软件的渲染等等。(The scan line algorithm for vector graphics regional filling, need only geometric position until the polygon, do not need to specify the seed point for automatic comp
计算机图形学
- 在vc++6.0环境下,基于OPENGL实现图形学设计内容。包括实现五边形到五角星的动态变换;利用DDA、中点画线法、Bresenham算法画直线;利用中点画圆法、Bresenham算法画圆;利用栅栏填充、扫描线填充实现多边形内部颜色填充;以及实现二维图形、三维图形的平移、放大、缩小、对称、旋转、错切等基本图形变换。(In vc++6.0 environment, we design content based on OPENGL. It includes the dynamic transfo