
- Nasa world wind tutorial how to#
- Nasa world wind tutorial full#
- Nasa world wind tutorial code#
- Nasa world wind tutorial windows#
Nasa world wind tutorial code#
The fact that the overwhelming majority of the code you will use as part of WorldWind.NET is computer-generated has someįairly dramatic consequences: while it does not guarantee the absence of bugs, it guarantees that there are JuggerNET's powerful features make it very easy to customize WorldWind types you really want to code to in. You could optimize the size of this assembly by using JuggerNET to generate only the proxy types for the Know which Java types you are interested in using, so we provide proxy types for all of them. In fact, you could argue that we provide too many proxy types. None of our users have missed them so far. The only things that are missing are a few nested types that cause compilation issues when translated to. We provide almost the entire public WorldWind API to you. Still need to deploy all the WorldWind jar files and of course the maps. Java types, they do not translate the Java types to. Just to stress this fact: our code generators generate. Generated WorldWind proxy types to customize and control the displayed WorldWind globe. Your developers embed that component in their. NET is concerned-is anĮmbeddable GUI component. JuggerNET also generates a special type that-as far as Java Swing componentsĪre concerned-is a top level Frame, but-as far as. NET proxy types for the complete WorldWind API and someĪssorted Java support types. We used our JuggerNET product to generate. NET Forms-based demo application with an embedded WorldWindCanvas.
Nasa world wind tutorial full#
NET developers to take full advantage of WorldWind. WorldWind.NET solves this problem and allows.
Nasa world wind tutorial windows#
NET on Windows is a popular choice for GUI applications. Many different operating systems, it leaves developers who use Microsoft's. WorldWind is implemented in Java for maximum platform portability.

It is now developed by NASA staff and open source community NASA World Wind was created by NASA's Learning Technologies ShapeAttributes attrs = new ShapeAttributes() ĪtInteriorColor(new Color(1, 1, 1, 0.5f)) // 50% transparent whiteĮllipse = new Ellipse(new Position(45, -100, 0), 500000, 300000, attrs) ģD Ellipse shapes are also possible: // Create an ellipse with the default attributes, an altitude of 200 km, and a 500km major-radius and a 300kmĮllipse = new Ellipse(new Position(25, -120, 200e3), 500000, 300000) ģD Ellipse shapes have additional configuration possibilities including extrusion and verticals: // Create an ellipse with custom attributes that make the interior 50% transparent and an extruded outline withĪtInteriorColor(new Color(1, 1, 1, 0.An open source virtual globe technology providing the means to visualize, manipulate and analyze data

The color of the interior, outline, and line widths can be customized using ShapeAttributes: // Create a surface ellipse with with custom attributes that make the interior 50% transparent and increase the RenderableLayer tutorialLayer = new RenderableLayer() The Ellipse object is now fully configured and ready to be added to the WorldWindow for display on the globe: // Create a layer for the Sightline ellipses are configured with a CLAMP_TO_GROUND altitudeMode and followTerrain set to true.Įllipse ellipse = new Ellipse(new Position(45, -120, 0), 500000, 300000) ĮtAltitudeMode(WorldWind.CLAMP_TO_GROUND) // clamp the ellipse's center position to the terrain surfaceĮtFollowTerrain(true) // cause the ellipse geometry to follow the terrain surface Several Ellipse objects are created, customized with ShapeAttributes, and then added to a RenderableLayer on the WorldWindow.Ĭreating a Surface Ellipse object: // Create a surface ellipse with the default attributes, a 500km major-radius and a 300km minor-radius. The EllipseFragment class extends the BasicGlobeFragment and overrides the createWorldWindow method. The number of points used to build the outline is dynamic and based on the camera distance to the shape. The outline of the ellipse is computed in geographic space using great circle distance.
Nasa world wind tutorial how to#
This tutorial demonstrates how to configure an Ellipse shape and add it to the globe.Įllipse uses the provided major radius, minor radius, heading, and center position to draw an Ellipse on the globe.
