当前位置:网站首页>Creation and content of mapnode -- osgearth rendering engine series (2)
Creation and content of mapnode -- osgearth rendering engine series (2)
2022-07-03 08:19:00 【CHPCWWHSU】
At the time of this article osgEarth earth File to earth creation ---(1) On the basis of , Further explanation MapNode The creation process of .
This article introduces the code , Explain in osgEarth in ,MapNode And MapNode Child nodes and traverse The contents of the function .
Content
osg::Node*
EarthFileSerializer2::deserialize(
const Config& const_conf,
const std::string& referrer,
const osgDB::Options* readOptions) const
{
......
......
......
MapNode::Options mapNodeOptions( conf.child("options") );
// Create a map node.
osg::ref_ptr<MapNode> mapNode = new MapNode( map.get(), mapNodeOptions );
// Apply the external conf if there is one.
if (!externalConfig.empty())
{
mapNode->externalConfig() = externalConfig;
}
// Install the extensions
for (unsigned i = 0; i < extensions.size(); ++i)
{
mapNode->addExtension(extensions[i].get());
}
// return the topmost parent of the mapnode. It'边栏推荐
- Viz artist advanced script video tutorial -- stringmap use and vertex operation
- php-fpm软件的安装+openresty高速缓存搭建
- [cocos creator] get the resource UUID
- 使用base64编码传图片
- Shader foundation 01
- Free use until 2015 -- viz artist multi touch plug-in package
- IP production stream is so close to me
- Multi traveling salesman problem -- overview of formula and solution process
- Pycharm remote ssh pyenv error: pydev debugger: warning: trying to add breakpoint to file that does
- Flex flexible box layout
猜你喜欢

Detailed explanation of all transfer function (activation function) formulas of MATLAB neural network

Base64编码简介

Clion toolchains are not configured configure disable profile problem solving

C#课程设计之学生教务管理系统

My touch screen production "brief history" 2

Are you still watching the weather forecast on TV?

Multi traveling salesman problem -- overview of formula and solution process

Youyou1 of xlua knapsack system

php-fpm软件的安装+openresty高速缓存搭建

Transfinite hacker cognition
随机推荐
2021-10-19
方正锐利重磅升级到12.0版本,包装印前处理更加便捷、高效!
What is BFC?
十六进制编码简介
【更新中】微信小程序学习笔记_3
Display terrain database on osgearth ball
P1896 [SCOI2005] 互不侵犯(状压dp)
Redis的数据结构
L'installateur a été installé avec une erreur inattendue
【云原生】微服务之Feign的介绍与使用
璞华PLM为全场景产品生命周期管理赋能,助力产品主线的企业数字化转型
Golang time format sorting
Zohocrm deluge function application time verification
the installer has encountered an unexpected error installing this package
Conversion between golang JSON format and structure
Unity performance optimization
简易入手《SOM神经网络》的本质与原理
Unity2019_ Natural ambient light_ Sky box
Free use until 2015 -- viz artist multi touch plug-in package
Shader foundation 01