This add-in sample describes how to create a camera fly from path. The tool mimics the out-of-the-box functionality to create a camera fly from path available on the Animations toolbar. The tool creates a Globe Camera animation that moves the camera along a selected feature in a feature class.
The tool allows you to create three types of flybys using the path destination options. You can choose to create a simple flyby where both the observer and target move along the path. The second option allows you to create a camera fly where the observer moves along the path while looking at the current target. The third option allows you to move the target along the path while the observer remains fixed at one location.
Language: C#, VB
Subject: Map
Organization: Esri, http://www.esri.com
Date: 3/28/2017
ArcObjects SDK: 10.5
Visual Studio: 2013, 2015
.NET Target Framework: 4.5
- ArcObjects .NET API Reference online
- Sample Data Download
- What's new
- Download the ArcObjects SDK for .Net from MyEsri.com
- Open the Visual Studio solution file.
- Build the solution.
- Start ArcGlobe.
- On the Customize dialog box, choose the Add-In Controls category.
- On the Command Items pane, drag the Camera flyby from path onto a toolbar.
- To move the globe camera along a path, add a line feature dataset in the globe session. Also, select a line feature using the "Select features" tool. The selected line is the one along which the globe camera will be animated.
- Choose the tool.
- Choose the options on the Camera Flyby From Path form.
- On running the tool, a Globe Camera track gets added to the globe.
- An animation is created, which can then be played by clicking Customize, Toolbars, and Animation to open the Animation Toolbar and then clicking on “Open Animation Controls” command
Development licensing | Deployment licensing |
---|---|
ArcGIS Desktop Basic: 3D Analyst | ArcGIS Desktop Basic: 3D Analyst |
ArcGIS Desktop Standard: 3D Analyst | ArcGIS Desktop Standard: 3D Analyst |
ArcGIS Desktop Advanced: 3D Analyst | ArcGIS Desktop Advanced: 3D Analyst |