当前位置:网站首页>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())边栏推荐
- Transplantation of tslib Library
- P2704 [NOI2001] 炮兵阵地(状压dp)
- 使用 FileChannel 进行文件的复制拷贝
- The general trend of data news releases the power of visual reporting ----- essays after reading
- Redis data structure
- the installer has encountered an unexpected error installing this package
- Ventuz Foundation Series "one step at the door"
- Wpf: solve the problem that materialdesign:dialoghost cannot be closed
- Mutual call between Lua and C #
- Pulitzer Prize in the field of information graphics - malofiej Award
猜你喜欢

Free use until 2015 -- viz artist multi touch plug-in package
![P1596 [USACO10OCT]Lake Counting S](/img/a7/07a84c93ee476788d9443c0add808b.png)
P1596 [USACO10OCT]Lake Counting S

Editor Extensions

MXone Pro自适应2.0影视模板西瓜视频主题苹果cmsV10模板

超限黑客认知

Get to know unity2 for the first time

C course design employee information management system

Student educational administration management system of C # curriculum design

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

【云原生】微服务之Feign的介绍与使用
随机推荐
Solution détaillée de toutes les formules de fonction de transfert (fonction d'activation) du réseau neuronal MATLAB
【K&R】中文第二版 个人题解 Chapter1
数据库应用技术课程设计之商城管理系统
the installer has encountered an unexpected error installing this package
Abstract classes and interfaces
freetype库的移植
MXone Pro自适应2.0影视模板西瓜视频主题苹果cmsV10模板
Cesium service deployment, and import and display local 3dfiles data
The general trend of data news releases the power of visual reporting ----- essays after reading
[cocos creator] get the resource UUID
Clion toolchains are not configured configure disable profile problem solving
matlab神经网络所有传递函数(激活函数)公式详解
L'installateur a été installé avec une erreur inattendue
Why can void * be a general pointer
Maxcompute string splitting function -split_ PART
C#课程设计之员工信息管理系统
Yolo series --- xml2txt script
Unity2019_ Lighting system
Use filechannel to copy files
About the problem that the editor and the white screen of the login interface cannot be found after the location of unityhub is changed