会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
酷熊
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
21
22
23
24
25
26
27
28
29
···
40
下一页
2015年6月19日
NodeVisitor的使用-遍历Geode节点并在它与父节点之间添加一个LOD节点
摘要: #include #include #include #include #include #include //只能处理osgExp插件导出的单个ive文件class InsideLODVisitor : public osg::NodeVisitor{public: InsideLODVisito...
阅读全文
posted @ 2015-06-19 09:46 酷熊
阅读(1279)
评论(0)
推荐(0)
2015年6月8日
CString 操作
摘要: CStringLeft(intnCount)const;//从左边1开始获取前nCount个字符CStringMid(intnFirst)const;//从左边第nCount+1个字符开始,获取后面所有的字符CStringMid(intnFirst,intnCount)const;//从左边第nFi...
阅读全文
posted @ 2015-06-08 16:03 酷熊
阅读(159)
评论(0)
推荐(0)
2015年5月22日
OSG快速生成一个带有纹理的四边形Geometry
摘要: 可以使用Geometry头文件中的 Geometry* createTexturedQuadGeometry osg::ref_ptr<osg::Texture2D> texture = new osg::Texture2D; osg::ref_ptr<osg::Image> image = osg
阅读全文
posted @ 2015-05-22 15:26 酷熊
阅读(1151)
评论(0)
推荐(0)
2015年5月1日
Excel计算一列的和sum(A:A)
摘要: 在公式中输入=sum(A2:A6),计算的是A列2-6行的和=sum(A:A)计算的是A列全部的和
阅读全文
posted @ 2015-05-01 20:57 酷熊
阅读(1835)
评论(0)
推荐(0)
2015年4月21日
DX使用texconv工具批处理dds格式图片
摘要: texconv D:\png\*.* -o E:\dds -m 5 -f dxt3 -ft dds上述命令的意思是把D:\png目录下的全部文件(当然可以指定特定格式例如*.png)转换成dds格式,存储到E:dds目录(注意此目录一定要存在)-m表示mip级数,-f表示dds内部格式,一般常用的有...
阅读全文
posted @ 2015-04-21 16:04 酷熊
阅读(1400)
评论(0)
推荐(0)
osg设置相机参数,包括初始位置
摘要: 严重注意!!!以下设置必须在viewer.realize();之后,否则不起作用!!!!设置相机的位置,可以通过CameraManipulator(一般是osgGA::TrackballManipulator)设置,可以使用setTransformation设置设置相机的其他参数,ViewMatri...
阅读全文
posted @ 2015-04-21 12:08 酷熊
阅读(3432)
评论(0)
推荐(0)
2015年4月17日
单独编译osgQt模块 Qt moc
摘要: 从alphapixel网站下载了OSG3.0.1VS2010x64版本的库,但是里面不包括osgQt模块,于是得自己编译*************osgQtx64.zip工程文件可以去本博客园的“文件”中去下载************64位电脑,自己编译好64位Qt4.8.2,假设编译好的64位Qt...
阅读全文
posted @ 2015-04-17 14:03 酷熊
阅读(3906)
评论(0)
推荐(0)
2015年4月15日
VS2010编译Qt4.8.2的64版本库
摘要: 安装qt-win-opensource-4.8.2-vs2010.exe(从http://download.qt.io/archive/qt/4.8/4.8.2/下 载),这个是32位的,里面有编译好的库,可以直接用来开发,里面也有src源文件,现在要用源文件编译VS2010下使用的64位的库确定自...
阅读全文
posted @ 2015-04-15 17:29 酷熊
阅读(2645)
评论(0)
推荐(0)
2015年3月20日
osg osgDB::Options noTexturesInIVEFile ForceReadingImage dds_flip
摘要: osgDB::writeNodeFile(node, path, new osgDB::Options("noTexturesInIVEFile")); noTexturesInIVEFile:选项可以在写ive模型文件的时候只写纹理文件对应的路径,而不是默认的将纹理数据写入ive文件 更多参数,可
阅读全文
posted @ 2015-03-20 17:10 酷熊
阅读(1812)
评论(0)
推荐(0)
2015年2月6日
osg 纹理访问器
摘要: #include#include#include#include#include#include#include#include#include#include#includeclass TextureVisitor:public osg::NodeVisitor{public:TextureVis...
阅读全文
posted @ 2015-02-06 15:49 酷熊
阅读(1570)
评论(0)
推荐(0)
上一页
1
···
21
22
23
24
25
26
27
28
29
···
40
下一页
公告