//#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);
编程环境为VC,结合OpenGL,实现了飞机在虚拟场景中的漫游。可以自动漫游,也可以键盘控制漫游方向。-Programming environment for the VC, combined with OpenGL, the realization of the plane in a virtual scene roaming. Automatic roaming, roaming can also control the direction of the keyboard.
< OpenGL基础图形编程>>是比较经典的编程书籍,简洁易懂,并附有大量的愿代码。我现特把它整理成Word文档格式,希望能和大家一起分享。-> is a more classic programming books, simple and easy to understand, along with a large number of ready code. I hereby put it together into a Word document format, hoping to share with everyone.
C++和opengl编写的楼梯程序,可以稍微将其修改加入你的三维程序。-C++ And opengl prepared staircase procedure could be modified slightly by adding your three-dimensional procedures.
德国Signsoft公司的用于Opengl编程的控件事列2,可直接调用.3ds文件创建虚拟仿真环境。
-Signsoft Opengl programming for the control out two things can be called directly .3 ds document creation of virtual simulation environment.
一个最基本的OpenGL程序框架。很多朋友在初学OpenGL时会很迷茫,无从下手,其实一个最简单的OpenGL程序框架对你来说可能是理解OpenGL原理的最好帮手。-a basic procedural framework of OpenGL. Many friends in a novice OpenGL will be very confused, no harm In fact, one of the most simple OpenGL procedural framework for you to understand is the principle of the best OpenGL helper .