02 2012 档案

摘要:gedit:git config --global core.editor "gedit -s"the paramater "-s " means set the gedit mode to "standalone"Sublime Text 2git config --global core.editor "subl -w"the paramater "-w" means return until the file was closed. 阅读全文
posted @ 2012-02-27 15:35 maadiah 阅读(6492) 评论(0) 推荐(0)
摘要:http://zhangjunxin520.blog.163.com/blog/static/3050370320111018115611172/重启android机子,OK.神马bug都有 - . - 阅读全文
posted @ 2012-02-19 23:14 maadiah 阅读(3644) 评论(1) 推荐(0)
摘要:1 #include "stdafx.h" 2 typedef int (*PFUN)(int,int);//定义函数指针 3 void main() 4 { 5 HMODULE hModule = ::LoadLibrary("dlltest.dll");//加载dll模块 6 PFUN newfun = (PFUN)::GetProcAddress(hModule,"fun");//函数映射,newfun->fun 7 int i = newfun(1,2); 8 printf("The result is %d\ 阅读全文
posted @ 2012-02-10 14:02 maadiah 阅读(452) 评论(0) 推荐(0)
摘要:OGRE 1.杰出的设计模式应用,可拓展性非常强。二次开发的上好选择。Irrlicht 1.简单精悍,容易上手WildMagic5 1.注重数学原理、资源回收调度,学术气息浓厚。更新缓慢KlayGE 1.运用大量最先进的技术,boost库,...国内大牛作品,你可以在opengpu.org 上和他交流 阅读全文
posted @ 2012-02-09 22:15 maadiah 阅读(2697) 评论(0) 推荐(0)
摘要:http://www.saltycrane.com/blog/2008/04/how-to-install-mercurial-10-on-cygwin/ 阅读全文
posted @ 2012-02-09 15:40 maadiah 阅读(382) 评论(0) 推荐(0)
摘要:http://jerome.jouvie.free.fr/opengl-tutorials/Lesson5.php 阅读全文
posted @ 2012-02-06 19:06 maadiah 阅读(335) 评论(0) 推荐(0)
摘要:http://www.cppblog.com/dyj057/archive/2012/01/21/346.html逐渐优化的singleton模式:普通->自动垃圾回收->模板->线程安全 阅读全文
posted @ 2012-02-06 15:39 maadiah 阅读(129) 评论(0) 推荐(0)
摘要:http://www.windameister.org/blog/2009/05/08/ogre-source-insight-extensibility-and-plugin/ 阅读全文
posted @ 2012-02-04 12:55 maadiah 阅读(208) 评论(0) 推荐(0)
摘要:渲染队列:http://www.cnblogs.com/cppguru/archive/2009/11/19/1605970.htmlhttp://www.cnblogs.com/cppguru/archive/2009/11/25/1610626.htmlRendering system分为两部分:API无关的部分和API相关部分把Render System比喻成摄影机,View Port和Camera就是摄影机的摄像头,Render Target就是胶带,那么Render System就是一个光学系统,它把从摄像头进来的光进行处理变换,然后再把结果写到Render Target中,而Roo 阅读全文
posted @ 2012-02-04 11:58 maadiah 阅读(269) 评论(0) 推荐(0)
摘要:http://blog.sina.com.cn/s/blog_5e8facd20100qn20.html 阅读全文
posted @ 2012-02-02 17:07 maadiah 阅读(120) 评论(0) 推荐(0)
摘要:android:native_app_glue,EGLopenGL ES ,EGL 初始化:http://blog.sina.com.cn/s/blog_53761ba70100nklx.htmlhttp://developer.android.com/reference/android/app/NativeActivity.htmlmagicube :CPVRShellVideoContextCPVRShellVideoContext(irr::u32 width,irr::u32 height, bool stencilBufferEnable = false,ECOLOR_FORM... 阅读全文
posted @ 2012-02-02 17:06 maadiah 阅读(272) 评论(0) 推荐(0)
摘要:参考:http://www.gamedev.net/page/resources/_/technical/opengl/opengl-frame-buffer-object-101-r2331 http://www.zwqxin.com/archives/opengl/learn-fbo.html http://www.songho.ca/opengl/gl_fbo.html生成句柄GLuint fbo;生成带有句柄的FBOglGenFramebuffersEXT(1, &fbo);绑定glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbo)单独的FB 阅读全文
posted @ 2012-02-02 09:24 maadiah 阅读(1481) 评论(0) 推荐(0)
摘要:一:constructor 和 deconstructor的安插:前者在调用对象之前;后者在离开作用域之前{myClass myObject;//myObject.myClass::myClass()//do some thing ...//myObject.myClass::~myClass()}二:全局对象构造函数只有在程序运行的时候才会被调用三:局部静态对象 阅读全文
posted @ 2012-02-02 09:17 maadiah 阅读(256) 评论(1) 推荐(1)
摘要:右击“我的电脑” ->“高级系统设置” ->“环境变量”找到Path变量,选择“编辑”,添加路径以分号“;”分隔开C:\WorkPlace\android-ndk-r7;C:\Program Files\python以命令行形式设置,可能只对当前窗口有效,没试过 阅读全文
posted @ 2012-02-01 12:50 maadiah 阅读(195) 评论(0) 推荐(0)