![]() |
||||||||||
|
|
||||||||||
|
Digital Earth > TerravisionTM > User Guide > ActiveX Embedding The TerraVision ActiveX Component in PPTYou can embed the TerraVision ActiveX control inside your PowerPoint slides to give you the capability to perform live, 3D flythroughs in your presentations. In order to do this, you must first install the TerraVision Plugins. This will deal with registering the TerraVision ActiveX control with your system. Once installed, you can insert a TerraVision object in PowerPoint a couple of different ways. First, you can go to the "Insert" menu and select the "Object..." option. Scrolling down the list of possible object types, you should find the TerraVision Control. Select this entry and click OK.
Alternatively, you can use PowerPoint's Control Toolbox and click over the icon for adding an ActiveX control.
Private Sub CommandButton1_Click() Rem Load the sfbay terrain model from some web server tvDemo.loadTerrain "http://..../sfbay.oi" "http://..../sfbay.dem" tvDemo.startRendering End SubIn this script, we assume that you will fill in valid http or local disk URLs to your desired datasets. Also, note that we reference the TerraVision control via the name "tvDemo". In your slides, this name must match the "(Name)" property that you associate with the TerraVision control. You can modify this and many other properties by right clicking over the TerraVision control and selecting the Properties option. You will then be presented with a dialog as follows, where you can select and change any of the displayed entries.
Copyright ©2000 SRI International. All rights reserved. |
|||||||||||||||||||||||||||||||||||