Your SlideShare is downloading. ×
  • Like
Extended Navigation Mode in NASA World Wind Java
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Extended Navigation Mode in NASA World Wind Java

  • 685 views
Published

World Wind is an open source 3D interactive world viewer created by NASA. This project has extended the basic navigation mode in World Wind version 0.4.1 to include the following: …

World Wind is an open source 3D interactive world viewer created by NASA. This project has extended the basic navigation mode in World Wind version 0.4.1 to include the following:
- Look left & right
- Look up & down
- Change the altitude of the camera
- Fly mode (mouse only)

Published in Education , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
685
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
8
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Extended Navigation Mode in NASA World Wind Java Sheryl Leong University of Trento, Italy Principles of Computer Graphics First Semester 2007/08
  • 2. Introduction
    • World Wind is an open source 3D interactive world viewer created by NASA.
    • It allows any user to zoom from outer space into any place on Earth and experience Earth terrain in visually rich 3D.
    • It supports both keyboard and mouse navigation modes.
    Basic Navigation Modes
  • 3. Project Description
    • This project has extended the basic navigation mode in version 0.4.1 to include the following:
      • 1) Look left & right
      • 2) Look up & down
      • 3) Change the altitude of the camera
      • 4) Fly mode (mouse only)
    Move mouse backward S Look down Move mouse forward W Look up Move mouse right D Look right Move mouse left A Look left Mouse + SHIFT key Keyboard
  • 4. Project Description
    • On the keyboard, Q increases the altitude of the camera while E decreases the altitude of the camera.
    • When the ‘ Alternate Mouse Navigation ’ checkbox on the left panel is checked, the following actions are possible:
      • Left dragging the mouse simulates the fly mode. The speed is determined by the distance of the mouse dragged. Since speed is also affected by the speed of the computer, the desired speed can be adjusted by using the slider below checkbox.
      • Right dragging the mouse simulates the keyboard look left & right action.
      • Scrolling the mouse wheel simulates the keyboard look up & down action.
      • The camera’s altitude can also be changed by either holding down the middle button or holding down both the left and right buttons and then moving the mouse up or down.
  • 5. Project Implementation
    • Look left & right
    • Used the existing method computeNewHeading(…) to rotate the view. Since this method also moved the camera, the position of the camera before rotation is first saved and after the rotation is applied, the camera is moved back to the original position.
    • Look up & down
    • Used the existing method computeNewPitch(…) to change the viewing angle. Since this method also changed the altitude of the camera, the altitude of the camera is first saved and after the method is applied, the altitude of the camera is reset back to the original altitude.
  • 6. Project Implementation
    • Change the altitude of the camera
    • Used the existing methods getAltitude() and setAltitude(…) to first retrieve the current altitude, increase/decrease the amount by a constant (500) and set the new altitude.
    • Alternate mouse navigation
    • A checkbox is added to the left panel to activate the alternate navigation mode for the mouse.
    • Fly mode
    • The distance of the left mouse dragged is used to determine the amount of rotation. A Timer task is used to rotate the world according to the direction of mouse drag and is scheduled to run every 25milliseconds (default). The task is started when the mouse is left dragged and stopped when the left mouse button is released. The flying speed can be adjusted using the slider below the checkbox that will change the delay time of the task.
  • 7. Result
  • 8. References
    • The World Wind Java SDK alpha 4 - version 0.4.1, http://worldwind.arc.nasa.gov/java/0.4.1/worldwind.release.0.4.1.zip
    • NASA World Wind Web Manual, http://worldwind.arc.nasa.gov/manual.html