Skip to content

Ross1988/WebViewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i3D OpenWebGlobe SDK WebViewer

With the OpenWebGlobe SDK you can create your own virtual globe applications. You can develop your new application in your favorite language like C++, C#, Visual Basic, Python.

The WebViewer is a port of the OpenWebGlobe SDK to Javascript/WebGL.

OpenWebGlobe SDK is created by the Geomatics Engineering departement at the University of Applied Sciences Northwestern Switzerland.

http://wiki.openwebglobe.org/doku.php?id=webgl

Getting started

WebViewer requires a modern web browser that supports WebGL. There's a good guide to finding one for your platform at http://learningwebgl.com/blog/?p=11.

Once you have a suitable browser, visit source/demos/02_WorldDemo/demo.html to see a demonstration.

Building WebViewer

WebViewer is compiled with Google's Closure Compiler and uses Google's Closure Library. The compiler produces an optimized, minified Javascript file containing all the WebViewer code.

Windows, Linux, MacOS X

  1. Install Python (2.6 or 2.7) if you don't have it already. You can get python at http://www.python.org/ You also need Java installed for the closure compiler. On windows you may have to adjust the Python Path in "scripts/setup.bat".

  2. Go into the scripts directory and start "download_external.py". This will download all required external files.

  3. If you are using the Komodo Editor or IDE, you can download the Komodo integration. Go into the scripts directory and start "download_komodo_integration.py". This works for Windows/Linux and MacOS X. You can get Komodo editor here: Komodo Editor

CORS - Cross Origin Resource Sharing

For security reasons CORS must be used when downloading textures. During development this can be annoying. When using Firefox you can disable "security.fileuri.strict_origin_policy" in about:config and you can install the addon "Force CORS" from here: Force CORS AddOn

License

The i3D OpenWebGlobe SDK is

Copyright (c) 2011 University of Applied Sciences Northwestern Switzerland. Institute of Geomatics Engineering.

See the file LICENSE for details.

About

Engine development: OpenWebGlobe for WebGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published