Three-dimensional Earth control called by C #, see Three-dimensional earth construction process

Source: Internet
Author: User
Why use three-dimensional Earth? Three-dimensional Earth is an important development direction of geographical information technology, compared with two-dimensional map technology, three-dimensional Earth's biggest feature is more intuitive and more vivid representation of geographical information and spatial orientation. We can experience the three-dimensional weather simulation, three-dimensional virtual tourism and other applications, such as the vivid, image and good interactive characteristics.

First, why use three-dimensional Earth?

Three-dimensional Earth is an important development direction of geographical information technology, compared with two-dimensional map technology, three-dimensional Earth's biggest feature is more intuitive and more vivid representation of geographical information and spatial orientation. We can experience the three-dimensional weather simulation, three-dimensional virtual tourism and other applications, such as the vivid, image and good interactive characteristics.

However, the development of three-dimensional Earth from scratch requires a lot of expertise, a variety of matrix, ray tracking and other complex algorithms are large, while programming is huge; the high complexity of three-dimensional software development limits the ability of software vendors to integrate cool three-dimensional Earth functions into their products.

With the development of the domestic Internet environment, many companies have provided the complete SDK for developers to use, choose the appropriate, stable SDK services and spend little effort to solve the three-dimensional Earth construction needs quickly.

Second, three-dimensional earth construction process

Locaspace is a professional three-dimensional geographic information platform, which provides powerful, stable and cost-effective three-dimensional geographic information solutions for public utilities, enterprises and research institutions. Locaspace has a three-dimensional visualization of the entire space, including the surface and the underground, and displays the integration of natural features, artificial facilities and human activities in the Earth's space system in the form of digital Earth.

Use the Locaspace SDK to build three-dimensional Earth in the quickest possible way:
Development of the basic environment to build:
1) Open Microsoft Visual Studio 2012 and choose New Windows Form application. Select the. NET FrameWork 4
2) Copy all the files in the "LSV-DOTNET-SDK" folder to the "Debug" or "Release" folder of the project.
3) Right-click on "References" in the project manager, select "Add Reference", then browse to the Debug folder and select GSGlobeDotNet.dll and GSToolTipDotNet.dll.

Load three-dimensional ball:
1) Import the namespace in Form1.cs and load the three-dimensional ball.

Using geoscene.globe;namespace helloword{public    partial class Form1:form    {        //Create Ball object        Gsoglobecontrol GlobeControl1;        Public Form1 ()        {            InitializeComponent ();            Add ball            globeControl1 = new Gsoglobecontrol ();            This. Controls.Add (globeControl1);            Globecontrol1.dock = DockStyle.Fill;}}    }

2) Click "F5" to run, you can see the following interface:

3) Then, the properties of the three-dimensional ball is initialized, the effect after operation

Iii. other three-dimensional GIS functions that can be implemented quickly

In addition to building a three-dimensional Earth, the three-dimensional GIS capabilities that you can use with the Locaspace SDK include: loading high-resolution image (DOM) high-precision three-dimensional terrain (DEM), supporting real-world underground three-dimensional scenes, loading line-drawing kml,shapefile,3ds,obj, and other data formats, The earth supports all kinds of geometry, massive text annotation support, convenient measurement function, three-dimensional model editing function.

The new LOCASPACE.SDK has been submitted to GitHub (foreign), Code Cloud (domestic) two large code hosting platform, the two parties will update, follow the public number locaspaceviewer send the keyword "SDK", you can get links.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.