文件名称:test3
介绍说明--下载内容均来自于网络,请自行研究使用
在Windows系统中,安装GLUT库:打开glut-3.7.6-bin.zip,取出glut.h,glut32.lib,glut32.dll,分别放置。
使用Visual Studio C++编译已有项目工程,并修改代码生成六角星图案。在此基础上,修改各顶点颜色,使得每个顶点颜色不一样,多边形内部颜色渐变。
-On Windows systems, install GLUT libraries: Open glut-3.7.6-bin.zip, remove glut.h, glut32.lib, glut32.dll, were placed.
Use Visual Studio C++ compiler has project and modify the code to generate the Star of David pattern. On this basis, modify the color of each vertex, such that each vertex is not the same color, a color gradient inside the polygon.
使用Visual Studio C++编译已有项目工程,并修改代码生成六角星图案。在此基础上,修改各顶点颜色,使得每个顶点颜色不一样,多边形内部颜色渐变。
-On Windows systems, install GLUT libraries: Open glut-3.7.6-bin.zip, remove glut.h, glut32.lib, glut32.dll, were placed.
Use Visual Studio C++ compiler has project and modify the code to generate the Star of David pattern. On this basis, modify the color of each vertex, such that each vertex is not the same color, a color gradient inside the polygon.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test3.cpp