随笔分类 -  openscenegraph(osg)

上一页 1 ··· 4 5 6 7 8 9 下一页
摘要:#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 西北逍遥 阅读(2339) 评论(0) 推荐(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 西北逍遥 阅读(712) 评论(0) 推荐(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 西北逍遥 阅读(552) 评论(0) 推荐(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 西北逍遥 阅读(222) 评论(0) 推荐(0)
摘要:<osgGA/MatrixManipulator>:No such file or directory 修改为 #include <osgGA/CameraManipulator> osgGA::GUIEventHandler osgGA::CameraManipulator osgGA::Stan 阅读全文
posted @ 2019-06-24 20:26 西北逍遥 阅读(1145) 评论(0) 推荐(0)
摘要:VCNodeMatrix.h VCNodeMatrix.cpp 阅读全文
posted @ 2019-06-24 17:55 西北逍遥 阅读(1400) 评论(0) 推荐(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) 推荐(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 西北逍遥 阅读(1039) 评论(0) 推荐(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 西北逍遥 阅读(364) 评论(0) 推荐(0)
摘要:osg::ref_ptr OSG_Qt_::createBox() { osg::ref_ptr osg_geode = new osg::Geode; osg::ref_ptr osg_hints = new osg::TessellationHints; osg::ref_ptr osg_box = new osg::Box(osg::Vec3(0.0, 0.0, 0... 阅读全文
posted @ 2019-06-22 21:39 西北逍遥 阅读(315) 评论(0) 推荐(0)
摘要:osg::ref_ptr MyOSGLoadEarth::CreateNode() { osg::ref_ptr _root = new osg::Group; //定义并读取高程文件 //真实高程文件名称为:ASTGTM2_N34E110_dem.tif //属于特殊的tiff格式,GEOTiff //读取的时候使用osg的gdal插件进行读取,所以... 阅读全文
posted @ 2019-06-22 19:23 西北逍遥 阅读(457) 评论(0) 推荐(0)
摘要:graphicswindowqt.h graphicswindowqt.cpp vcqtosgwidget.h vcqtosgwidget.cpp main.cpp 阅读全文
posted @ 2019-06-16 20:11 西北逍遥 阅读(1857) 评论(0) 推荐(0)
摘要:osgViewer::Viewer* _viewer = nullptr; _viewer = new osgViewer::Viewer;osg::ref_ptr<osg::Group> root = new osg::Group;//注意:这两句话的先后顺序 先添加模型在添加相机//root-> 阅读全文
posted @ 2019-06-15 20:27 西北逍遥 阅读(1330) 评论(0) 推荐(0)
摘要:#ifdef _WIN32#include <Windows.h>#endif // _WIN32 #include <osgViewer/Viewer>#include <osgDB/ReadFile>#include <osgGA/GUIEventAdapter>#include <osgVie 阅读全文
posted @ 2019-06-14 20:41 西北逍遥 阅读(224) 评论(0) 推荐(0)
摘要:openscenegraph 3.6.3 链接:https://pan.baidu.com/s/1CyhGsS4qVckQq29eel3DvQ 提取码:mnqt --来自百度网盘超级会员的分享 openscenegraph 3.4 链接:https://pan.baidu.com/s/1CDZj4C 阅读全文
posted @ 2019-05-16 19:55 西北逍遥 阅读(3039) 评论(3) 推荐(4)
摘要: 阅读全文
posted @ 2019-05-13 21:23 西北逍遥 阅读(326) 评论(0) 推荐(0)
摘要:#ifdef _WIN32#include <windows.h>#endif#include <osgViewer/Viewer>#include <osgDB/ReadFile> int main(){ osgViewer::Viewer viewer; osg::Node *node = ne 阅读全文
posted @ 2019-05-12 16:07 西北逍遥 阅读(470) 评论(0) 推荐(0)
摘要:1> 已启动生成: 项目: OSG_3_1_osgViewer应用基础, 配置: Debug x64 1>cl : 命令行 warning D9002: 忽略未知选项“/SAFESEH:NO”1> osgViewer应用基础1.cpp1>e:\opensourcegraph\openscenegra 阅读全文
posted @ 2019-05-12 16:04 西北逍遥 阅读(2887) 评论(0) 推荐(0)
摘要:include E:\OpenSourceGraph\OSG_install2\include E:\Qt\Qt5.11.1\5.11.1\msvc2015_64\include E:\IFC\Carve\include\2019 E:\IFC\IfcPlusPlusd\include\2019 E 阅读全文
posted @ 2019-04-16 10:48 西北逍遥 阅读(345) 评论(0) 推荐(0)
摘要:编译项目时,发现报错:VS 无法打开包括文件: “QOpenGLWidget”: No such file or directory,在Qt对应的目录(E:\Qt\Qt5.12.2\5.12.2\msvc2017_64\include)中发现QOpenGLWidget是在QtWidgets目录下面的 阅读全文
posted @ 2019-04-14 21:00 西北逍遥 阅读(4074) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 下一页