摘要
介绍了在VC++中读取文本文件中数据的方法,实现了在OpenGL下应用所读取数据点作为控制顶点坐标,绘制Bezier曲线和B-Spline曲线的算法,并搭建了一个小型三维绘图软件环境框架。
This paper introduces the method of reading data from text file. The algorithm of drawing Bezier and B Spline curves by using the read data point as coordinates is implemented and a simplified framework of 3D software is built up at last.