摘要: [代码] 阅读全文
posted @ 2009-10-03 18:29 Revive and Strive 阅读(1940) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/snowclash/archive/2007/07/16/1693669.aspx规则:较短的单词可通过去掉“元音”形成缩写;较长的单词可取单词的头几个字母形成缩写;一些单词有大家公认的缩写。 完整单词 缩写 A average avg B back bk background bg break brk buffer buf C c... 阅读全文
posted @ 2009-09-20 09:40 Revive and Strive 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: From:http://www.morrowland.com/apron/tutorials/gl/gl_matrix.php The creators of OpenGL have made matrix handling like translation rotation and scaling very easy. This is one of the reasons why OpenGL ... 阅读全文
posted @ 2009-09-01 14:52 Revive and Strive 阅读(418) 评论(0) 推荐(0) 编辑
摘要: From:http://narita1982.bokee.com/6506125.html我觉得虽然高明理的《学OpenGL编3D游戏》虽然没有NeHe讲得那么细,甚至可以说只有源代码,原理少得可怜,比如摄像机,比如加载3D模型……什么原理都没有,但是我感觉却比NeHe明白,程序也简单明了,让人看了会比较有信心,NeHe实在把我吓了一跳,不知道看NeHe的教程什么时候才能编... 阅读全文
posted @ 2009-08-31 15:30 Revive and Strive 阅读(1975) 评论(0) 推荐(0) 编辑
摘要: http://hi.baidu.com/codefish/blog/item/438e2f6e0e0865d980cb4a4f.html还是那句老话,自己动手丰衣足食!SkyDome在许多的书中都有提及,有的还提供了源代码,可以我就是喜欢自己的东西。拿上手术刀,对其进行了一番改造! OpenGL中实现天空的方法不少,如直接的,背景涂成蓝色;好点的,使用天空盒,可是寻找合适的贴图会把你累坏;较好的,... 阅读全文
posted @ 2009-08-31 14:02 Revive and Strive 阅读(4001) 评论(0) 推荐(0) 编辑
摘要: From:http://www.c-cnc.com/dz/news/news.asp?id=18622在进行3D场景渲染时,天空是必不可少的因素。对于3D天空的模拟在视景仿真系统、计算机游戏、三维动画中有着广泛的应用。但是,目前对于天空的仿真还存在很多不足,一些模拟方法中存在实现复杂、计算耗时、图像分辨力不高,真实感不强且只能生成静态图像等问题。本文在研究了前人仿真天空算法的基础上,利用目前3D图... 阅读全文
posted @ 2009-08-31 13:28 Revive and Strive 阅读(2506) 评论(0) 推荐(1) 编辑
摘要: 出现问题当时的状况:我把jpg和bmp的文件都添加到了vs2005的当前项目的资源中。csgl中的GL.glTexImage2D()最后一个参数用的图像的bitmapData.Scan0。那么format应该使用GL.GL_BGR_EXT或GL.GL_BGR。GL.glTexImage2D(GL.GL_TEXTURE_2D, 0, 3, image.Width, image.Height, 0, ... 阅读全文
posted @ 2009-08-30 19:33 Revive and Strive 阅读(548) 评论(0) 推荐(0) 编辑
摘要: From:http://www.cnblogs.com/AnkrmiWong/激活OpenGL某一性能可以使用glEnable函数,函数定义:void glEnable(GLenum cap);抑制OpenGL某一性能可以使用glDisable函数,函数定义:void glDisable(GLenum cap);函数glIsEnabled用于获取指定性能是否激活;glGet函数有四个变体,void... 阅读全文
posted @ 2009-08-30 18:34 Revive and Strive 阅读(862) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-08-27 08:31 Revive and Strive 阅读(2012) 评论(0) 推荐(0) 编辑
摘要: 忘了在哪转了..... 改变 PropertyGrid 控件的编辑风格(1)——加入日期控件编辑日期类型数据步骤一:定义从UITypeEditor 派生的类,示例如下:using System;using System.Windows.Forms;using System.Drawing.Design;using System.Windows.Forms.Design;namespace blog... 阅读全文
posted @ 2009-05-06 15:49 Revive and Strive 阅读(1597) 评论(0) 推荐(0) 编辑