一、第一个OPENGL程序...................................................................................................................4
1.1、OPENGL的优点..........................................................................................................................4
1.2、OPENGL的安装..........................................................................................................................4
1.3、第一个OPENGL程序.................................................................................................................5
二、点、直线和多边形..........................................................................................................................8
2.1、点、直线和多边形.....................................................................................................................8
2.2、在OPENGL中指定顶点.............................................................................................................8
2.3、绘制曲线....................................................................................................................................9
三、绘制几何图形的细节....................................................................................................................14
3.1、关于点......................................................................................................................................14
3.2、关于直线..................................................................................................................................14
3.3、关于多边形...............................................................................................................................15
四、颜色的选择...................................................................................................................................20
4.1、RGBA颜色...............................................................................................................................20
4.2、索引颜色.........................................................................................
2021-08-17 09:58:00
920KB
OpenGL
1