home *** CD-ROM | disk | FTP | other *** search
/ Mundo do CD-ROM 119 / cdrom119.iso / internet / wwind / World_Wind_1.3.5_Full.exe / Plugins / Compass / readme.txt < prev   
Encoding:
Text File  |  2006-05-01  |  3.5 KB  |  119 lines

  1. Compass rose Plugins for WorldWind 1.3.2 or above (maybe...)
  2. Version 0.5
  3. Patrick Murris, december 2005 - http://www.alpix.com/3d/worldwin/
  4.  
  5. What
  6. ----
  7.  
  8. The Compass rose plugin displays a... compass rose pointing north. 
  9.  
  10. The plugin appears as a layer in the Layer Manager (key L).
  11. Right click on the layer for settings.
  12.  
  13. Settings allow you to select various styles and placements for the rose. 
  14.  
  15. All settings are saved.
  16.  
  17. Install
  18. -------
  19.  
  20. 1. You need WW 1.3.2 or 1.3.3.1 (as of today). Wont work in 1.3.1.
  21.  
  22. 2. Unzip in your WW Plugins directory. That should add a folder named 'Compass'.
  23.     Note: if you dont already have a 'Plugins' directory inside 
  24.     Program Files/Nasa/WorldWind 1.3, then create one.
  25.  
  26. 3. Start WW and the new plugin should be listed in Plug-ins->Load/Unload. 
  27.     Select the plugin and click 'Load'. It should turn green.
  28.  
  29. 4. Once loaded, it becomes a layer in the Layer Manager (key L)
  30.  
  31. 5. Right Click on the layer for settings (properties)
  32.  
  33. Uninstall
  34. ---------
  35.  
  36. 1. Delete the directory
  37.     Program Files/NASA/World Wind 1.3/Plugins/Compass 
  38.  
  39. Notes
  40. -----
  41.  
  42. * Adding SVG compass shapes
  43.  
  44. You can drop .svg files in Program Files/NASA/World Wind 1.3/Plugins/Compass/ 
  45. They will become available in the layer settings.
  46.  
  47. This version only suports very basic SVG shapes (line, rect, circle, polyline 
  48. and polygon) and the 'stroke' attribute with named color.
  49.  
  50. Path, text, fill, stroke-width and hexadecimal color values are not supported...
  51.  
  52. Units are in screen pixels. The resulting graphic will be offset to match 
  53. the selected placement.
  54.  
  55. Warning: the <!DOCTYPE ...> sends the plugin checking for the DTD at www.w3.org 
  56. which adds a significant delay when loading the plugin or switching shapes. 
  57. It is better to just comment out that line like that:
  58. <!-- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -->
  59.  
  60. Some SVG links:
  61.  
  62. Inkscape - open source SVG editor (produces mainly <path> not supported yet...)
  63. http://www.inkscape.org/
  64.  
  65. Adobe SVG viewer
  66. http://www.adobe.com/svg/viewer/install/main.html
  67.  
  68.  
  69. * Adding compass bitmaps
  70.  
  71. You can add new compass images (.png with alpha channel) in 
  72. Program Files/NASA/World Wind 1.3/Plugins/Compass/ 
  73. They will become available in the layer settings.
  74.  
  75. The images are not scaled down. The bigger they are, the bigger 
  76. they will appear on screen... recommended size range between 64x64 
  77. and 128x128 - except for a center-screen overlay...
  78.  
  79.  
  80. * Image credits
  81.  
  82. I searched image.google.com for "Compass rose"... fascinating diversity!
  83.  
  84. Compass_Simple is widely used on the web and i assumed it is public domain.
  85.  
  86. Compass_Rose_Classic comes from Pacific Northwest National Laboratory site 
  87. http://picturethis.pnl.gov/picturet.nsf/All/6.VR86?opendocument
  88. not sure it is open...
  89.  
  90. Compass_Big comes from Joe 'WB2HOL' Leggio.
  91. http://home.att.net/~jleggio/projects/rdf/rdf.htm
  92.  
  93. Alpha channels, Compass_Vector_Arrow, Compass_Cross_Minimal and 
  94. Compass_Arrow_North are my humble contributions.
  95.  
  96. Compass_Simple_White is a variation sent by Hermetica (merci).
  97. http://perso.wanadoo.fr/hermetica/index.htm
  98.  
  99.  
  100. * Open source, public domain
  101.  
  102. This plugin is not compiled and its source can be found in Compass.cs.
  103. Feel free to use, abuse, divert and copy any part of it. Thats how I got started.
  104.  
  105. Many thanks to the WorldWind community for their efforts and feedback, 
  106. especialy Bjorn Reppen (http://www.mashiharu.com/) for his plugin architecture, 
  107. usefull tips and inspiring examples.
  108.  
  109.  
  110. Patrick Murris
  111. Montreal - Nice
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.