码迷,mamicode.com
首页 >  
搜索关键字:osg    ( 352个结果
osg::Camera 参数修改
#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
osgb文件过大,可以通过Compressor=zlib对纹理进行压缩
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实现对模型的日照模拟
通过一个对太阳光照模拟的具体实例,逐步介绍了OSG中光照和阴影的生成过程。 ...
分类:其他好文   时间:2019-06-26 19:17:24    阅读次数:134
osg MatrixManipulator CameraManipulator
<osgGA/MatrixManipulator>:No such file or directory 修改为 #include <osgGA/CameraManipulator> osgGA::GUIEventHandler osgGA::CameraManipulator osgGA::Stan ...
分类:其他好文   时间:2019-06-24 21:21:51    阅读次数:124
osg qt 三维模型加载
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 create shape
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 model
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
osg help
#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
[转][osg]探究osg中的程序设计模式【目录】
作者:3wwang 原文接连:http://www.3wwang.cn/html/article_104.html 前序 探究osg中的程序设计模式 开篇 探究osg中的程序设计模式 创造性模式 探究osg中的程序设计模式 创造型模式 Factory(工厂)模式 探究osg中的程序设计模式 创造型模 ...
分类:其他好文   时间:2019-06-12 11:18:40    阅读次数:100
[转][osg]探索未知种族之osg类生物【目录】
作者:3wwang 原文链接:http://www.3wwang.cn/html/article_58.html 前序 探索未知种族之osg类生物 起源 ViewBase::frame函数中的ViewerInit()及realize() 探索未知种族之osg类生物 器官初始化一 探索未知种族之osg ...
分类:其他好文   时间:2019-06-12 10:38:57    阅读次数:87
352条   上一页 1 ... 5 6 7 8 9 ... 36 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!