//#include"Qua.h";
#include
#include
using std::cout;
using std::endl;
void DrawCube( int * a, int * b, int * level )
{
glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );
glLineWidth(1.0f);
glEnable( GL_LINE_STIPPLE );
glLineStipple(1, 0x0F0F);
采用opengl和粒子系统做的一个烟火的动画!初学者或者有一定编程能力的人可以参考!-using opengl particle system and do a pyrotechnics animation! A beginner or a certain programming capabilities can reference!
opengl粒子系统开发的瀑布模型,在水的颜色方面做了从上到下颜色的过渡,以及pool中有水泡的冒上,程序中加了个图片,感觉不是很好,可以将它去掉,那样看起来就真实多了.-opengl particle systems development waterfall model, the water color has done a top to bottom color of the transition, and pool have blisters on the run, procedures were added to this picture, is not feeling well, it could be removed, it did seem more real.
在vc环境下显示二维飞机,可以实现旋转等操作,是学习opengl的一个基本程序构架。按键上、下、左、右可以实现功能。-Vc environment shown in the two-dimensional plane rotation operation can be achieved, is a basic program to learn opengl framework. Button up, down, left and right function can be achieved.