摘要:
当前位置:osgViewer/Viewer.cpp 第 643行,osgViewer:: Viewer::advance() 好的,现在我们终于正式进入仿真循环当中了,之前的 realize 函数虽然十分重要,但它实际上是循环运行前的准备工作。而从这一日开始介绍的 advance,eventTrav
阅读全文
posted @ 2019-07-02 16:03
西北逍遥
阅读(1355)
推荐(1)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i...
阅读全文
posted @ 2019-07-02 11:06
西北逍遥
阅读(2045)
推荐(0)
摘要:
//获取系统分辨率 osg::GraphicsContext::WindowingSystemInterface *wsInterface = osg::GraphicsContext::getWindowingSystemInterface(); if (!wsInterface) { retur
阅读全文
posted @ 2019-07-02 10:12
西北逍遥
阅读(826)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #inc...
阅读全文
posted @ 2019-07-01 20:37
西北逍遥
阅读(422)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i...
阅读全文
posted @ 2019-07-01 20:13
西北逍遥
阅读(1033)
推荐(0)
摘要:
void ViewerBase::frame(double simulationTime) { if (_done) return; // OSG_NOTICE<<std::endl<<"CompositeViewer::frame()"<<std::endl<<std::endl; if (_fi
阅读全文
posted @ 2019-06-30 21:23
西北逍遥
阅读(1493)
推荐(0)
摘要:
setUpViewOnSingleScreen 和 setUpViewAcrossAllScreens 函数的实现流程与上一日介绍的 setUpViewInWindow 区别不是很大。值得注意的是,setUpViewAcrossAllScreens 函数中调用 GraphicsContext::ge
阅读全文
posted @ 2019-06-30 18:00
西北逍遥
阅读(629)
推荐(0)
摘要:
当前位置:osgViewer/View.cpp 第 575 行,osgViewer::View::setUpViewInWindow()这个函数有五个传入参数:窗口左上角坐标 x,y,宽度 width,高度 height,以及屏幕数 screenNum。它的作用顾名思义是根据给定的窗口参数来创建一个
阅读全文
posted @ 2019-06-30 17:37
西北逍遥
阅读(1431)
推荐(0)
摘要:
开始:osgViewer/ViewerBase.cpp 389行,startThreading()函数,启动线程 void ViewerBase::startThreading() { if (_threadsRunning) return; OSG_INFO<<"Viewer::startThre
阅读全文
posted @ 2019-06-29 21:37
西北逍遥
阅读(665)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i...
阅读全文
posted @ 2019-06-29 21:35
西北逍遥
阅读(1149)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i...
阅读全文
posted @ 2019-06-29 20:58
西北逍遥
阅读(1447)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i...
阅读全文
posted @ 2019-06-28 21:55
西北逍遥
阅读(1133)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i...
阅读全文
posted @ 2019-06-28 20:50
西北逍遥
阅读(939)
推荐(0)
摘要:
int main() { osg::ref_ptr viewer1 = new osgViewer::Viewer; osg::ref_ptr pageLdc1 = new osg::PagedLOD; pageLdc1->setFileName(0, "D:\\参考手册\\BIM\\osg\\library.OSGB"); pageLdc1-...
阅读全文
posted @ 2019-06-28 16:27
西北逍遥
阅读(1320)
推荐(0)
摘要:
[0]osg::Group [1]osg::MatrixTransform [1] osg::MatrixTransform [1]osg::MatrixTransform [2] osg::Geode [3]osg::Geometry [3]osg::Geometry [3] osg::Geome
阅读全文
posted @ 2019-06-27 20:41
西北逍遥
阅读(409)
推荐(0)
摘要:
[1]osg::Group [2]osg::PositionAttitudeTransform [2]osg::MatrixTransform [3]osg::Geode [2]osg::MatrixTransform [2]osg::MatrixTransform [2]osg::MatrixTr
阅读全文
posted @ 2019-06-27 20:36
西北逍遥
阅读(607)
推荐(0)
摘要:
x:-89.4588 y:-12.1245 z:-11.7807x:-89.4588 y:-6.44823 z:-11.7807x:-89.2164 y:-9.07239 z:-11.811x:-89.4588 y:-12.1245 z:-11.7807x:-89.2164 y:-9.07239 z
阅读全文
posted @ 2019-06-27 19:49
西北逍遥
阅读(449)
推荐(0)
摘要:
正在从以下位置加载符号:Microsoft符号服务器 尝试取消禁用后续符号加载 进入VS 工具 选项 调试 符号,看右边有个“Microsoft符号服务器”,将前面的勾去掉,(可能还有删除下面的那个缓存)。然后就不会在调试时加载了! Debug卡顿,可以尝试删除 C:\Users\<username
阅读全文
posted @ 2019-06-27 19:01
西北逍遥
阅读(11172)
推荐(2)
posted @ 2019-06-27 09:27
西北逍遥
阅读(1968)
推荐(0)
摘要:
如果你安装的是Autodesk Inventor Professional 2018,那么序列号为:666-69696969,产品密钥为:797J1, 如果你安装的是Autodesk Inventor 2018,那么序列号为:666-69696969,产品密钥为:208J1,输入完后点击下一步; 激
阅读全文
posted @ 2019-06-26 20:59
西北逍遥
阅读(3731)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #in...
阅读全文
posted @ 2019-06-26 16:53
西北逍遥
阅读(2342)
推荐(0)
摘要:
Civil 3D 2018百度云地址 https://pan.baidu.com/s/1edeVhG Civil 3D 2019注册机百度云地址 链接: https://pan.baidu.com/s/1KR6R43TXHzQ8tvmNFHWyrg 提取码: gg9w 输入序列号:666-69696
阅读全文
posted @ 2019-06-25 20:50
西北逍遥
阅读(1789)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #in...
阅读全文
posted @ 2019-06-25 20:20
西北逍遥
阅读(714)
推荐(0)
摘要:
#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #in...
阅读全文
posted @ 2019-06-25 20:13
西北逍遥
阅读(553)
推荐(0)
摘要:
#pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #...
阅读全文
posted @ 2019-06-25 20:00
西北逍遥
阅读(223)
推荐(0)
摘要:
<osgGA/MatrixManipulator>:No such file or directory 修改为 #include <osgGA/CameraManipulator> osgGA::GUIEventHandler osgGA::CameraManipulator osgGA::Stan
阅读全文
posted @ 2019-06-24 20:26
西北逍遥
阅读(1152)
推荐(0)
摘要:
VCNodeMatrix.h VCNodeMatrix.cpp
阅读全文
posted @ 2019-06-24 17:55
西北逍遥
阅读(1403)
推荐(0)
摘要:
osg::ref_ptr OSG_Qt_::operateMatrix() { osg::ref_ptr group = new osg::Group; osg::ref_ptr node1 = osgDB::readNodeFile("D:\\参考手册\\BIM\\osg\\tanker.OSGB"); osg::ref_ptr node2 = osgDB::readN...
阅读全文
posted @ 2019-06-23 21:20
西北逍遥
阅读(571)
推荐(0)
摘要:
osg::ref_ptr OSG_Qt_::operateMatrix() { osg::ref_ptr group = new osg::Group; osg::ref_ptr node = osgDB::readNodeFile("D:\\参考手册\\BIM\\osg\\tanker.OSGB"); //return node; group->addChild...
阅读全文
posted @ 2019-06-23 20:16
西北逍遥
阅读(1042)
推荐(0)
摘要:
osg::ref_ptr OSG_Qt_::createSimple() { osg::ref_ptr geode = new osg::Geode; osg::ref_ptr geometry = new osg::Geometry; //申请顶点 osg::ref_ptr coords = new osg::Vec3Array; //申请颜色 ...
阅读全文
posted @ 2019-06-23 19:48
西北逍遥
阅读(366)
推荐(0)