简体   繁体   English

是否有适用于OpenSceneGraph osg \\ ive格式的GDAL驱动程序?

[英]Is there a GDAL driver for the OpenSceneGraph osg \ ive format(s)?

I'm trying to write an application that can take DEM data and spit out a format recognizable by OSG (OpenSceneGraph) in C++. 我正在尝试编写一个可以获取DEM数据并吐出C ++中OSG(OpenSceneGraph)可以识别的格式的应用程序。 I have been unable to find a driver that supports osg/ive format for GDAL, and I wouldn't know where to begin writing my own. 我一直找不到支持GDAL的osg / ive格式的驱动程序,而且我不知道从哪里开始编写自己的驱动程序。 If there's another way to do what I'm asking, I'm open to it, but I've had success loading DEM's in GDAL so it seems the path of least resistance for now. 如果有另一种方法可以满足我的要求,那么我可以接受,但是我已经成功地将DM中的DEM加载到了GDAL中,因此目前看来这是阻力最小的方法。

I don't know of one - OSG's native format isn't really a standard, it's just a dump of the tree structure (it's not even particularly optimal for OSG!). 我不知道一个-OSG的本机格式并不是真正的标准,它只是树形结构的转储(对于OSG甚至不是特别理想!)。

I would probably pick a 'standard' DEM format that OSG can output and GDAL can read. 我可能会选择OSG可以输出并且GDAL可以读取的“标准” DEM格式。 There are a lot of examples of output plugins with OSG and it's trivial to write a 'writer' yourself. OSG有很多输出插件的示例,自己编写一个“ writer”很简单。

This would also mean you can obtain standard models in this format to test with. 这也意味着您可以以此格式获得标准模型进行测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM