当前位置:网站首页>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'
边栏推荐
- The general trend of data news releases the power of visual reporting ----- essays after reading
- Ventuz Foundation Series "one step at the door"
- 数据库应用技术课程设计之商城管理系统
- Mutual call between Lua and C #
- Image processing 8-cnn image classification
- Conversion between JSON and object
- YOLO系列 --- xml2txt脚本
- One dimensional array two dimensional array (sort Max insert sort)
- 使用 FileChannel 进行文件的复制拷贝
- P2704 [noi2001] artillery position (shape pressure DP)
猜你喜欢
C#课程设计之员工信息管理系统
Mall management system of database application technology course design
Haproxy+kept build 01
C#课程设计之学生教务管理系统
Transplantation of freetype Library
Free use until 2015 -- viz artist multi touch plug-in package
About Wireshark's unsuccessful installation of npcap
Base64编码简介
Shader foundation 01
KunlunBase MeetUP 等您来!
随机推荐
Conversion between string and int types in golang
MXone Pro自适应2.0影视模板西瓜视频主题苹果cmsV10模板
animation
swagger文档配置
Swagger document configuration
[cocos creator] get the resource UUID
Luaframwrok handles resource updates
My touch screen production "brief history" 2
Golang's range
Generate video using clipout in viz engine
Initial unity
Unity4.3.1 engine source code compilation process
Go resolve ID card
C语言-入门-精华版-带你走进编程(一)
Retail philosophy retail psychological warfare after reading -- 7-11 is a good product!
freetype库的移植
Why can void * be a general pointer
Easy touch plug-in
CLion-Toolchains are not configured Configure Disable profile问题解决
IP production stream is so close to me