-
-
-
-
-
-
-
-
-
DrawCurve.rar
OpenGL program that create B-spline, Bezier and Interpolation curve
-
openGL.rar
此程序的功能是实现基本的openGL中的画线算法,总共有四个算法。DDA画线算法,中点Bresenham算法画直线,改进Bresenham算法画直线以及 四分法绘制椭圆
-
py-opengl.rar
程序采用的算法是,最短距离法,源程序由三个文件组成。
CoordinateTransformation.py模块
主要负责将轮廓线进行处理,从而使他们在一个平面的单位正方形内。
PointPair.py模块
主在负责将接收经过CoordinateTransformation处理后两层轮廓线数据,对他们使用最短距离法从而将每个三角片的三个顶点确定下来,并返回其索引值
Main.py
主要负责调opengl以及组织和显示。
-