文件名称:glutEx1
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
在Windows系统中,安装GLUT库:打开glut-3.7.6-bin.zip,取出glut.h,glut32.lib,glut32.dll,分别放置。
使用Visual Studio C++编译已有项目工程,并修改代码生成以下图形:
“一个六角星”
在此基础上,修改各顶点颜色,使得每个顶点颜色不一样,多边形内部颜色渐变。-On Windows systems, the installation of GLUT library: Open glut-3.7.6-bin.zip, remove glut.h, glut32.lib, glut32.dll, were placed. Use Visual Studio C++ compile existing project, and modify the code to generate the following graphic: " A Star of David" On this basis, modify the color of each vertex, such that each vertex color is not the same color gradient inside the polygon.
使用Visual Studio C++编译已有项目工程,并修改代码生成以下图形:
“一个六角星”
在此基础上,修改各顶点颜色,使得每个顶点颜色不一样,多边形内部颜色渐变。-On Windows systems, the installation of GLUT library: Open glut-3.7.6-bin.zip, remove glut.h, glut32.lib, glut32.dll, were placed. Use Visual Studio C++ compile existing project, and modify the code to generate the following graphic: " A Star of David" On this basis, modify the color of each vertex, such that each vertex color is not the same color gradient inside the polygon.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
glutEx1.cpp