2012年2月27日
摘要:
转自http://blog.csdn.net/chinacodec/article/details/3853473 引言 如果在您的开发过程中遇到了常见的错误,或许您的Release版本不能正常运行而Debug版本运行无误,那么我推荐您阅读本文:因为并非如您想象的那样,Release版本可以保证您...
阅读全文
posted @ 2012-02-27 16:46
sunliming
阅读(1450)
推荐(0)
2012年2月6日
摘要:
首先几个四元数相乘是几个旋转动作叠加 其次构造四元数方法osg::Quat quat(float radians, const Vec3f& axis),其中radians是旋转弧度, 后面的axis是旋转轴向量; osg::Quat rotation(osg::Quat(roll,osg::V...
阅读全文
posted @ 2012-02-06 13:14
sunliming
阅读(4646)
推荐(0)
摘要:
osgconv *in.osg -s 10,10,10 *out.osg
阅读全文
posted @ 2012-02-06 10:30
sunliming
阅读(1252)
推荐(0)
2012年1月11日
摘要:
本文仅仅是从QT帮助中全文取下来的,因为这一部分比较隐蔽. Qt Designer UI files represent the widget tree of the form in XML format. The forms can be processed: At compile time, ...
阅读全文
posted @ 2012-01-11 09:13
sunliming
阅读(3756)
推荐(1)
2011年12月12日
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include #include // 创建动画路径,参数有中心点,半径,以及循环...
阅读全文
posted @ 2011-12-12 16:29
sunliming
阅读(3258)
推荐(1)
摘要:
在读取xml文档报错时候,比如报错在0行0列,那么很可能是你的xml文件的编码为unicode,更改编码为utf-8就好了,仅仅限于osgearth中间的读取.
阅读全文
posted @ 2011-12-12 10:02
sunliming
阅读(543)
推荐(0)
2011年11月30日
摘要:
Software This is a list of public domain and commercial mesh generators (click here for other sources of interest). I have listened only programs for...
阅读全文
posted @ 2011-11-30 21:11
sunliming
阅读(3464)
推荐(0)
摘要:
www.emapzone.com,提供全国300多个城市的矢量样例数据免费下载。数据是高德软件提供的,现势性比较强。 国际科学数据服务平台(不用去NASA下载DEM数据了,这里就有,包括坡度数据等等) http://datamirror.csdb.cn/index.jsp NASA提供的DEM数据...
阅读全文
posted @ 2011-11-30 08:55
sunliming
阅读(4422)
推荐(0)
2011年11月19日
摘要:
转载,最初地址不详 先讲得是QVBoxLayout 和QHBoxLayout 今天来实现一个温度转换器的界面。如下图: (嘿嘿,这个图就是用之前写的那个linux下利用fb截图的程序截的,嘻嘻) 在QT下进行界面设计,可以使用水平、垂直和Grid布局管理器来进行。 水平布局管理器可以把它所管理的部...
阅读全文
posted @ 2011-11-19 18:55
sunliming
阅读(951)
推荐(0)
2011年11月17日
posted @ 2011-11-17 12:41
sunliming
阅读(415)
推荐(0)