当前位置:网站首页>Creation of osgearth earth files to the earth ------ osgearth rendering engine series (1)
Creation of osgearth earth files to the earth ------ osgearth rendering engine series (1)
2022-07-03 08:19:00 【CHPCWWHSU】
This article introduces the code , Explain in osgEarth in , from .earth Document to earth creation process , show osgEarth Middle concept , Such as Map、Layer as well as MapNode.
Content
osg::Node* node = MapNodeHelper().load(arguments, &viewer);analysis osgEarth The creation of the middle earth , Start with the code above , among arguments Variable is osg::ArgumentParser object , Its path contains a .earth file ,viewer by osgViewer::Viewer object , Created in the above code osg::Node object , Can be set directly to viewer The scene node of the object , Implement rendering , The results are shown in the following figure :

The next analysis load The contents of the function :
osg::ref_ptr<osg::Node> node = osgDB::readNodeFiles(args, myReadOptions.get());
// fallback in case none is specified:
if (!node.valid())边栏推荐
- P1896 [SCOI2005] 互不侵犯(状压dp)
- 使用 FileChannel 进行文件的复制拷贝
- JS regular case-
- Puhua PLM empowers the whole scene product lifecycle management and helps the enterprise digital transformation of the main line of products
- tslib库的移植
- How to establish rectangular coordinate system in space
- 璞华PLM为全场景产品生命周期管理赋能,助力产品主线的企业数字化转型
- Image processing 8-cnn image classification
- Huawei interview summary during the epidemic
- MaxCompute字符串分割函数-SPLIT_PART
猜你喜欢

Data analysis exercises
![P1596 [USACO10OCT]Lake Counting S](/img/a7/07a84c93ee476788d9443c0add808b.png)
P1596 [USACO10OCT]Lake Counting S

璞华PLM为全场景产品生命周期管理赋能,助力产品主线的企业数字化转型

Mall management system of database application technology course design

Editor Extensions

【云原生】微服务之Feign的介绍与使用

unity2019_ Input management

图像处理8-CNN图像分类

My touch screen production "brief history" 2

the installer has encountered an unexpected error installing this package
随机推荐
【更新中】微信小程序学习笔记_3
数据的存储
Minimap plug-in
超限黑客认知
Haproxy+kept build 01
使用 FileChannel 进行文件的复制拷贝
C language - Introduction - essence Edition - take you into programming (I)
String class
About the problem that the editor and the white screen of the login interface cannot be found after the location of unityhub is changed
Golang json格式和结构体相互转换
Generate video using clipout in viz engine
Classes and objects
Free use until 2015 -- viz artist multi touch plug-in package
Map的实现类的顺序性
【云原生】微服务之Feign的介绍与使用
璞华PLM为全场景产品生命周期管理赋能,助力产品主线的企业数字化转型
[K & R] Chinese Second Edition personal questions Chapter1
链式长取值
My touch screen production "brief history" 2
One dimensional array two dimensional array (sort Max insert sort)