//#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);
在MFC下,利用OpenGL实现了一个水坝坍塌的过程,对边界以及障碍物进行了物理的定义。-In MFC, the use of OpenGL to achieve a process of collapse of a dam on the border, as well as a physical barrier definition.
借助于VC 和OPENGL利用三角形和柱子形成的复杂建筑物(亭子)如论在显示还是在制作上都有一定的技巧,可以当作一个非常好的额例子进行参考,我还在努力的制作曲面形状的亭子,做好以后上传。-using VC and use OpenGL and columns triangle formation of complex structures (pavilion) on the show in production or have certain skills, be regarded as a very good reference for examples, I am still making efforts to shape the surface here, well after the upload.