![]() |
|
|||||||
| WorldWind General General WorldWind discussions.
Note: This is not a technical support forum. It is for World Wind topics that don't fit into other categories. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
I3 Developer
Join Date: Nov 2008
Location: Philadelphia, PA
Posts: 7
|
It's still a *long*, *long* way off from even having basic functionality.
However, I've started a project to get WWJ ported to JavaScript and WebGL. My current goal is to create a solid, well tested and documented geometry library based on WWJ geoms. I'll worry about the rest later. Just porting the geometries is difficult enough. I really only have time to work on this during the weekend as it's just a personal project. You can view the current progress (there's not much) at: http://code.google.com/p/lanyard/sou...trunk/src/geom It's currently using jsunit, jsdoc, and the closure compiler all held together with a simple ant build script. If you'd like to contribute, I'm looking for code that matches the style of the following object: http://code.google.com/p/lanyard/sou.../geom/Angle.js Also, unit testers are appreciated. ![]() P.S. "lanyard" is just a code name I picked. I really have no idea what the final product name is going to be. |
|
|
|
|
|
#2 |
|
Super Member
Join Date: Nov 2006
Location: 35.0376,-117.9688
Posts: 1,519
|
Why do you want to use JavaScript, do you see ANY advantage over Java???
If you want to do something constructive you should consider C++. http://forum.worldwindcentral.com/sh...ad.php?t=24093 I tried using Excelsior Jet trial for an .exe. AOT compiled and it seems faster and smoother. With a C++ port of WWJ I think there would be more interest. |
|
|
|
|
|
#3 | ||
|
I3 Developer
Join Date: Nov 2008
Location: Philadelphia, PA
Posts: 7
|
Quote:
![]() Java is good for some things, JavaScript is good for others, they're both pretty nice languages. However, I think it would be really cool to have the ability to manipulate a map that is integrated into the DOM. Imagine using CSS to style placemarks, or the ability to reference surfaceshapes by document.getElementById(). Also, I want a reason to learn the closure compiler and related libraries. It's a really neat library that google recently released. (http://code.google.com/closure/) Quote:
|
||
|
|
|
|
|
#4 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Have you considered using WWJ as an applet with a javascript API?
|
|
|
|
|
|
#5 | |
|
I3 Developer
Join Date: Nov 2008
Location: Philadelphia, PA
Posts: 7
|
Quote:
I actually use the (very nice) wwj applet at my day job. We have it integrated into a webapp with a ton of custom liveconnect-based APIs setup. I haven't considered using wwj as an applet for this personal project, because porting the map *is* the project. I'm just doing this for fun to see if it leads anywhere. ![]() |
|
|
|
|
|
|
#6 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
I wasn't aware you could do 3D with javascript... Any pointer to examples?
How about building a 3D extension to Open Layers? |
|
|
|
|
|
#7 | |
|
I3 Developer
Join Date: Nov 2008
Location: Philadelphia, PA
Posts: 7
|
Quote:
This might be a good place to start: http://learningwebgl.com/ It's a tutorial series based on the classic NeHe articles. It'll walk you through how to setup your shaders (GLSL based) and buffers. It'll also point you towards what browsers to use (Currently only nightly builds of Firefox work). WebGL is based on the OpenGL ES 2 spec for the most part, except for a few odd things. You can view a few examples at: http://khronos.org/webgl/wiki/Demo_Repository Make sure you take a look at the "shiny-teapot" demo. It's pretty sweet. ![]() A 3d extension to openlayers might be something to look into, I need to read up on that. |
|
|
|
|
|
|
#8 | |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
I3 Developer
Join Date: Nov 2008
Location: Philadelphia, PA
Posts: 7
|
Quote:
For now, I don't mind going line by line. It's helping me brush up on my linear algebra. ![]() On a side note, I just moved things from google code to github... git@github.com:fintler/lanyard.git |
|
|
|
|
![]() |
| Tags |
| javascript, webgl |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] Does Worldwind auto-render? | gadmyth | Development Help | 4 | 11-23-2009 04:53 PM |
| Reg compiling the source code | Raj | Developers' Corner | 10 | 08-26-2008 06:58 PM |
| Dependency injection instead of static singleton WorldWind | stolsvik | Feature Discussion | 19 | 08-06-2007 02:57 PM |
| WorldWind Compiling Guide Without Visual Studio | rnielsen | Developers' Corner | 28 | 12-09-2006 08:33 PM |
| Newbies guide to worldwind | Llynix | WorldWind General | 14 | 12-25-2004 02:55 PM |