三維gis開發引擎——ogre和osg和osgearth對比


OSG(OpenSceneGraph):專為GIS而生。但是呢。。原生的OpenSceneGraph也並不支持三維分析和三維存儲。 但是能人拓展的OSGEarth卻可以支持。OSG(OpenSceneGraph)簡介:link

OGRE:側重於游戲畫面渲染 用游戲引擎來做三維地球顯示。。數據聯動是個問題。

以上的三款gis開發引擎最大的特點都是免費開源的,相比於國外的gis開發商軟件,它們的優勢在於可以開發。

 https://www.zhihu.com/question/21848458/answer/877447538

綜上所述,ogre和osg都不是gis引擎。。只有基於osg的osgearth才是。。

基於web的三維gis引擎,應該就是cesium了。

>>《OpenSceneGraph快速入門指導》中文版下載:http://bbs.osgchina.org/forum.php?mod=viewthread&tid=4&extra=page%3D1

 

 https://objexx.com/OpenSceneGraph.html

創建第一個HelloWorld程序。

Getting Started

Follows is a quick step by step guide to helping new OpenSceneGraph users get up to speed on how to use the software in their own application development work.

1. Downloading the OpenSceneGraph

You may download the OpenSceneGraph as a set of binaries or source code tarballs for the current release which can be found on the Stable Releases section, or use the Code Repositories or Developer Releases to check out the development version of the OpenSceneGraph to get latest additions, revisions and bug fixes. For beginners we'd recommend using the binaries or the source tarballs.

2. Obtaining the pre-requisites tools/dependencies

If you plan to compile the OpenSceneGraph you'll also need to the build system generator tool CMake 2.6.x (CMake 2.4.2+ may be used on older Linux/Unix systems) and an appropriate compiler suite for your platform, i.e. VisualStudio, g++ etc. For modern linux distributions you'll be able to pull down cmake, g++ and other dependencies directly from central repositories. It's possible to compile in mac using clang or Xcode.

You will need to download the dependencies which are listed in the Dependencies section. You don't need all the dependencies for the plugins as this are all options libraries, so don't worry about trying to get all the dependencies installed, you can always add further dependencies later if it turns out you need them for your project.

When running the examples its is useful to install the Sample Dataset so that the examples have some data to load, download it.

3. Compiling

OpenSceneGraph is a multiplatform library so take a look to platform specifics section to know how to compile in your desired platform or with your favorite compiler.

4. Running the examples 

OpenSceneGraph has an ever growing number of examples available for developers to learn from. Follow the Running Examples Guide to experiment and learn with them.

5. Write your first application

Take one of the existing examples such as osgviewer as a base and modify it.

6. Debugging

Make use of the Debugging Tips to learn how to debug your application.

7. Further resources

 

http://www.openscenegraph.org

>>如何連接網絡數據庫,geodatabase等 qgis 3d是如何做到的二三維聯動:https://blog.csdn.net/shi_weihappy/article/details/87888330 QGIS和BIM:https://blog.csdn.net/sinat_41310868/article/details/109562844


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM