摘要: Collada Step by Step教程http://www.wazim.com各种XML库比较(C/C++)http://www.ibm.com/developerworks/xml/library/x-ctlbx.html#table2Libxml2库http://xmlsoft.org/Libmxl++库(Libxml2库的C++绑定)官网:http://libxmlplusplus.s... 阅读全文
posted @ 2010-09-14 08:36 lilei9110 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 方法一:1. 在Cg安装目录下找到 msdev_syntax_highlighting 目录,并在该目录中找到名为usertype.dat的文件。把这个文件复制到 Microsoft Visual Studio 8\Common7\IDE 下。如果该目录下存在同名文件,则将两个文件的内容进行合并。2. 启动Visual Studio 2008。选择 Tools->Options->Te... 阅读全文
posted @ 2010-09-14 08:36 lilei9110 阅读(1140) 评论(0) 推荐(0) 编辑
摘要: 最近在研究地形渲染算法的时候,遇到了分页的问题。于是,在网上搜索找到了一个叫做Scalable VisualizationToolkits的软件。这个软件实现了分页数组等功能。这个软件是开源的,希望从中可以找到一些线索。网址:http://visservices.sdsc.edu/vistools 阅读全文
posted @ 2010-09-14 08:35 lilei9110 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 最近在研究数值分析和LCP问题,于是在网上搜索相关的开源项目。结果如下:数值分析:Numerical Analysis Algorithms in Chttp://www.toomey.org/naa/index.htmlNumerical Recipes 3rd Edition (C++, Fortran)本地下载LCP问题:Siconos(C)网址:http://siconos.gforge.... 阅读全文
posted @ 2010-09-14 08:35 lilei9110 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 此文摘自http://en.wikipedia.org/wiki/X86_calling_conventions。In these conventions the caller cleans the arguments from the stack, which allows for variable argument lists, eg. printf().cdeclThecdeclcallin... 阅读全文
posted @ 2010-09-14 08:32 lilei9110 阅读(733) 评论(0) 推荐(0) 编辑
摘要: 在C++中,如果一个类的成员函数不会改变这个类的成员变量的值,我们通常将这样的函数声明称const成员函数。例如,[代码]在编写和使用const成员函数的时候需要知道几点规则:a.const对象只能访问const成员函数,不能访问非const函数。b. const对象的成员是不可修改的,然而const对象通过非const指针维护时,就变成可以修改的了。c.const成员函数不可以修改对象的数据,不... 阅读全文
posted @ 2010-09-14 08:32 lilei9110 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 今天调查了一下生成地形顶点法线的算法。以下是几篇比较有帮助的文章链接。http://www.flipcode.com/archives/Vertex_Normals.shtmlhttp://www.gamedev.net/reference/programming/features/normalheightfield/page4.asphttp://www.gamedev.net/communit... 阅读全文
posted @ 2010-09-14 08:31 lilei9110 阅读(380) 评论(0) 推荐(0) 编辑
摘要: [代码]从这个短小而恶心的程序中,我们可以看到以下几个容易被忽视的知识点:1. 要想只声明变量而不进行初始化,最好追加无参数构造函数。(如果程序中,已经添加了其他形式的构造函数,就必须添加无参数构造函数。)2. C++中,变量的初始化和赋值两种操作是具有明显区别的。在变量声明的时候,直接进行赋值的操作算作初始化。例如:Ptr p = &i;此时,C++将自动调用参数匹配的构造函数或拷贝构造... 阅读全文
posted @ 2010-09-14 08:30 lilei9110 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: http://rhyous.com/2009/12/16/how-to-compile-a-wxwidgets-application-in-visual-studio-2008/http://wxwidgets.info/wxwidgets_and_vc2005_video/官方教程http://www.wxwidgets.org/docs/tutorials.htm 阅读全文
posted @ 2010-09-14 08:30 lilei9110 阅读(172) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2010-09-14 08:27 lilei9110 阅读(161) 评论(0) 推荐(0) 编辑