搜索资源列表
textureloader
- 这是个纹理导入的例子。导入纹理的函数封装在Texture.cpp和Texture.h中,使三维图形更具真实感。-This is a texture into the case. Introduction Texture Function Packaging and the Texture.cpp Texture.h, so 3D graphics more realistic.
Map
- 利用OpenGL根据.raw作为高度图文件绘制地形,按键f为GL_FILL模式,按键l为GL_LINE模式,m为纹理贴图的地形,c为自己设置颜色的地形,h和t切换不同的地形.-The use of OpenGL in accordance with. Raw height map as a document mapping the topography, key f for GL_FILL mode l for GL_LINE mode button, m for the texture map
REDBOOK
- OpenGL 程序指导红皮书,Color Plates Glossary (not included in this version) -OpenGL Programming Guide or The Red Book About This Guide Chapter 1: Introduction to OpenGL Chapter 2: Drawing Geometric Objects Chapter 3: Viewing Chapter 4: D
stars
- 模拟太阳系。 /* 说明: 1.运行环境: Microsoft Visual Studio 2008 2.包含文件:图片六张(*.bmp),两个外部文件Texture.h和Texture.cpp 3.照明GL_LIGHT1 4.运用glTranslatef和glRotatef设置星球位置、公转和自转 5.运用Texturing覆盖星球表面 6.运用glBlendFunc设置太阳的半透明光晕 7.键盘‘a/A’,‘d/D’,‘s/S’分别控制:环境光、漫反射、镜面反
HelloGL
- OpenGL 做的一个桌球游戏,实现了3D纹理贴图,逼真的碰撞效果,采用VS2012实现,如果不能打开,新建一个工程重新导入cpp文件和h文件就可以调试了,如果还出现其他问题,度娘可以帮你解决!-OpenGL do a table tennis game, realize the 3 d texture mapping, lifelike collision effect, use VS2012 realization, if you can t open, a new engineering
Particles
- 将会增加5行新的代码在我们程序的前面.第一行"stdio.h"允许我们读文件中的数据.它和我们以前用在纹理映射当中是一样的.第二行定义了一些我们要在屏幕上显示的粒子的数目.告诉程序MAX_PARTICLES在这里的数值为1000.第三条行将不断分离的彩色的粒子栓牢在一起,并设置为默认情况.sp和rp用来确定空格键和返回键是否有按住. -Will increase by 5 lines of code in front of our new program. First line of "st