-
-
fog.rar
在openGL的glEnable()函数中使用GL_FOG函数来启用雾效果。示例程序绘制了5个红色球体,每个球体和观察点的距离各不相同。
-
-
-
texture.zip
it is a simple texture implementation program in opengl that takes texture from TGA image
-
freefall_demonstration.rar
This is a complete visual studio project with exe file. It focuses on OpenGl. It simulates freefall of an egg and a ball bouncing inside a cube. To switch press "a, s, d" in program also use "r" to restart egg fall.
-
lighting.rar
This program demonstreatse how to use lights in opengl enviorment. It is a simple demonstration of a spotlight (car lights) on two cubes (cars) chasing each other. You can move light of the second cube with "awsd" keys.
-
textures.rar
This program demonstreatse how to use textures on opengl primitives. It is supposed to simulate a ball shoot into a gate. You can see how to read textures files and "stretch" them onto your opengl objects.
-
-
-
-