NeHe SDK是把Nehe的教程中所介绍的所有功能,以面向对象的形式,提供给编程人员快速开发的一套编程接口。在下面的教程中,我将按NeHe SDK源码的功能分类,一步一步把这套api介绍给大家。如果你觉得有更好的学习方法,或者有其他有益的建议,请联系我。zhouwei02@mails.tsinghua.edu.cn,zhouwei506@mails.gucas.ac.cn 我在第四课的基础上,把公共的功能提取出来,并删除了特定的绘制函数,就完成了这个空白的程序框架,它可以使用基本的OpenGL绘制命令,并提供视口,文本,纹理类的接口,实用他们可以快速创建你想要的效果。 这个框架分为两个部分,启用main.cpp文件完成创建窗口,提供必需的全局变量和执行程序循环等固定的功能。在以后的演示程序中一般不在改变。draw.cpp文件完成具体的绘制操作,它随你的应用而变化。 main.cpp的所有功能在前面的课程中都详细讲解过,这里只是把整个程序结构在说明一下,让你有一个清晰的认识。下面是它的七大结构 头文件和全局变量 Windows主函数 根据用户设置配置OpenGL的窗口 创建OpenGL运行的窗口,并返回窗口的句柄 设置绘制字体的参数 程序循环 退出程序 我们一一介绍如下: -Retrieved SDK is Nehe curricula introduced in all functions to the object-oriented form, available to the programmers a rapid development of the programming interface. In the following tutorial, I will be Retrieved SDK source of functional classification, step by step to bring this api introducing to you. If you think you have a better method of study, or for some other useful suggestions, please contact me. Zhouwei02@mails.tsinghua.edu.cn. I zhouwei506@mails.gucas.ac.cn in the fourth lesson on the basis of public function extracted, and the deletion of specific mapping function, it was completed in the blank procedural framework, It can use the OpenGL rendering basic order and inspection mouth, text, and texture type of interface, Practical fast they can create the effect you want. The fr 下载
icdiy c 执行dos命令 usb电压该多大 vc 如何隐藏鼠标 yaan protocol 汉诺塔 c 保护模式教程 数字签名算法源码 二级 导航 js 一个完整的函数包括 vml画图工具 arp 欺骗 源码 excel对比两表 729语音压缩算法 自制arm开发板 c 编译器 template richedit 颜色 128x64lcd dshow 显示图像 flash 调用 java 识别 源代码 plot graphic library 控件 visual c 界面编程技术 胡广书 数字信号处理 下载 spi通讯程序 vb 读取文件信息 keys.chm b-tree 数据结构 复矩阵求逆 .net时钟 文件拖放 vs2005 hex bin 转换 算法 牛人 ucos的具体应用 vc 例子 dialog 最小二乘法vc 代码 图象配准程序 java ftp 工具 汇编 socket hmac 源码 t9输入法 源代码 labview串口通讯程序 mmc 接口标准 tms2810程序 人工智能九宫图算法 军棋 源代码 如何使用dispatchmessage cad自定义实体 skype 二次开发 ns2结果分析