AECSoft

专注于AEC行业软件开发15年

导航

2013年5月30日 #

OGRE中Query Mask

摘要: Query MasksAssuming we have two kinds of objects which are Robots and Ninjas.Notice that no matter what mode we are in we can select either object. Our RaySceneQuery will return either Robots or Ninjas, whichever is in front. It doesn't have to be this way though. All MovableObjects allow you to 阅读全文

posted @ 2013-05-30 14:47 zuoc 阅读(438) 评论(0) 推荐(0) 编辑

2013年5月9日 #

网格划分软件大全-总有一款适合你

摘要: 来源: http://www.robertschneiders.de/meshgeneration/software.html非结构化三角网格划分,非结构化四边形网格划分,非结构化四面体网格划分,非结构化六面体,2D结构化网格划分,3D结构化网格划分,三维曲面网格划分SoftwareThis is a list of public domain and commercial mesh generators (click here for other sources of interest). I have listened only programs for which online info 阅读全文

posted @ 2013-05-09 14:58 zuoc 阅读(4307) 评论(0) 推荐(0) 编辑

2013年4月3日 #

Very useful discussion on 3D Geometry Library

摘要: http://stackoverflow.com/questions/3837947/cad-like-3d-geometry-c-c-library 阅读全文

posted @ 2013-04-03 15:51 zuoc 阅读(219) 评论(0) 推荐(0) 编辑

2013年3月31日 #

QtCreator编译release with debug info (mingw版)

摘要: 有的bug只在release版本中出现,此时需要编译带有debug信息的release版本。在pro文件中,添加如下行即可为release版本生成debug信息。QMAKE_CXXFLAGS_RELEASE += -gQMAKE_CFLAGS_RELEASE += -gQMAKE_LFLAGS_RELEASE =在目标机器上调试可使用gdb:运行cmd.exe.运行C:\mingw\bin\gdb.exe abc.exe即可在控制台输出详细exception信息。 阅读全文

posted @ 2013-03-31 21:05 zuoc 阅读(1030) 评论(0) 推荐(0) 编辑

2013年3月30日 #

QtCreator的项目组织真心强大

摘要: 假如说你的代码组织结构是这样的:project_dir/-project.pro-common.pri-logic/----logic.pro----some logic files-gui/----gui.pro----gui files-main/----main.pro----main.cppproject.pro:TEMPLATE = subdirsSUBDIRS = logic \ gui# build must be last:CONFIG += orderedSUBDIRS += buildcommon.pri:#Includes common configur... 阅读全文

posted @ 2013-03-30 17:58 zuoc 阅读(568) 评论(0) 推荐(0) 编辑

解决failed to load plaform plugin "windows"

摘要: 使用QT5.0.1+QtCreator+MinGW编译自己项目的release版本后,在其他机器上发布时,遇到如下错误:failed to load plaform plugin "windows"warning: invalid parameter passed to C runtime functionqt网站上对在windows上部署有专门的说明:http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html需要在与exe平行目录中部署platforms\qwindows.dll.The Qt Window 阅读全文

posted @ 2013-03-30 00:50 zuoc 阅读(1356) 评论(0) 推荐(0) 编辑

2013年3月27日 #

MinGW 4.4下载

摘要: QT4的最后一个版本4.8.4的官方下载地址:Qt libraries 4.8.4 for Windows (minGW 4.4, 317 MB)是使用GCC4.4编译出来的,所以要想使用这个版本的libraries,最好也是用minGW 4.4来编译你的project,否则可能会有兼容性问题。但是MinGW官网http://sourceforge.net/projects/mingwbuilds/已经不再提供4.6之前的下载。所以在这里backup一下,需要的朋友请下载。MinGW 4.4下载:http://download.csdn.net/download/zuochaw/5186532 阅读全文

posted @ 2013-03-27 13:00 zuoc 阅读(753) 评论(0) 推荐(0) 编辑

2013年3月25日 #

方便快捷地使用QDialog显示小对话框

摘要: QDialog dlg(this); QLabel *label = new QLabel("名称:"); QLineEdit *lineEdit = new QLineEdit(); label->setBuddy(lineEdit); QDialogButtonBox *buttonBox = new QDialogButtonBox( QDialogButtonBox::Ok | QDialogButtonBox::Cancel); connect(buttonBox, SIGNAL(accepted()), &dlg, ... 阅读全文

posted @ 2013-03-25 22:18 zuoc 阅读(541) 评论(0) 推荐(0) 编辑

2013年3月22日 #

windows下编译QT5.0.1(MinGW篇)

摘要: 不解释,只罗列步骤。求解释者直接跳到最后“引用”节。1, 需要安装的程序: ActivePerl -- 必须安装 且版本>=5.14 地址:http://www.activestate.com/activeperl/downloads DirectX SDK 9 以上-- 如果使用ANGLE Python -- 如果编译WebKit >=2.6.x 地址: http://www.python.org/download/releases/ Rubby --如果编译 WebKit 地址: http://www.rubyinstaller.org/ Bison, Flex, Gperf 阅读全文

posted @ 2013-03-22 23:00 zuoc 阅读(4396) 评论(0) 推荐(0) 编辑

满血复活

摘要: 几年过去了,一直没有心情更新博客。现满血复活,哈哈哈。。。话说还是博客园专业,百度空间一改版把我几年前博客都给删掉了,以后就这儿了。 阅读全文

posted @ 2013-03-22 17:35 zuoc 阅读(347) 评论(0) 推荐(0) 编辑