#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #i... ...
分类:
其他好文 时间:
2019-06-28 22:43:55
阅读次数:
344
osg::ref_ptr<osgDB::ReaderWriter::Options> options = new osgDB::ReaderWriter::Options; options->setOptionString("Compressor=zlib"); // 设置压缩 osgDB::wri ...
分类:
其他好文 时间:
2019-06-28 14:26:01
阅读次数:
197
通过一个对太阳光照模拟的具体实例,逐步介绍了OSG中光照和阴影的生成过程。 ...
分类:
其他好文 时间:
2019-06-26 19:17:24
阅读次数:
134
<osgGA/MatrixManipulator>:No such file or directory 修改为 #include <osgGA/CameraManipulator> osgGA::GUIEventHandler osgGA::CameraManipulator osgGA::Stan ...
分类:
其他好文 时间:
2019-06-24 21:21:51
阅读次数:
124
osg::ref_ptr OSG_Qt_::operateMatrix() { osg::ref_ptr group = new osg::Group; osg::ref_ptr node = osgDB::readNodeFile("D:\\参考手册\\BIM\\osg\\tanker.OSGB"... ...
分类:
其他好文 时间:
2019-06-23 21:03:00
阅读次数:
139
osg::ref_ptr OSG_Qt_::createSimple() { osg::ref_ptr geode = new osg::Geode; osg::ref_ptr geometry = new osg::Geometry; //申请顶点 osg::ref_ptr coords = ne... ...
分类:
其他好文 时间:
2019-06-23 20:56:35
阅读次数:
125
osg::ref_ptr MyOSGLoadEarth::CreateNode() { osg::ref_ptr _root = new osg::Group; //定义并读取高程文件 //真实高程文件名称为:ASTGTM2_N34E110_dem.tif //属于特殊的tiff格式,GEOTiff... ...
分类:
其他好文 时间:
2019-06-22 19:48:34
阅读次数:
114
#ifdef _WIN32#include <Windows.h>#endif // _WIN32 #include <osgViewer/Viewer>#include <osgDB/ReadFile>#include <osgGA/GUIEventAdapter>#include <osgVie ...
分类:
其他好文 时间:
2019-06-14 22:20:29
阅读次数:
134
作者:3wwang 原文接连:http://www.3wwang.cn/html/article_104.html 前序 探究osg中的程序设计模式 开篇 探究osg中的程序设计模式 创造性模式 探究osg中的程序设计模式 创造型模式 Factory(工厂)模式 探究osg中的程序设计模式 创造型模 ...
分类:
其他好文 时间:
2019-06-12 11:18:40
阅读次数:
100
作者:3wwang 原文链接:http://www.3wwang.cn/html/article_58.html 前序 探索未知种族之osg类生物 起源 ViewBase::frame函数中的ViewerInit()及realize() 探索未知种族之osg类生物 器官初始化一 探索未知种族之osg ...
分类:
其他好文 时间:
2019-06-12 10:38:57
阅读次数:
87