![]() |
|
|||||||
| Applications Discussion of applications that use WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
I have read the word 'applet' a couple times, but havent seen any so far... is there a demo somewhere - like WW in a web page ?
|
|
|
|
|
|
#2 |
|
God. Root. What is difference?
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,847
![]() |
Working on that...
There exist applet examples and documentation which weren't included in the initial early access SDK. A brief summary starting from the SDK snapshot: - Create an applet which uses the WorldWindowGLCanvas - Deploy this applet using the JOGLAppletLauncher documented at http://download.java.net/media/jogl/builds/nightly/javadoc_public/com/sun/op engl/util/JOGLAppletLauncher.html - The archive tag of the applet will need to contain jogl.jar, gluegen-rt.jar, worldwind.jar, and the jar containing the applet - It's possible the applet may need to be signed right now, although this restriction will be lifted in the future -Ken
__________________
![]() Earth is Square blog PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe. |
|
|
|
|
|
#3 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
It appears the boys from Toulouse (pred and vash) managed to have a working WWJ applet online some days ago on this page. Loading can take some time, be patient.
![]() More about it here and here. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jul 2007
Posts: 2
![]() |
how to call servlet from applet
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2007
Posts: 2
![]() |
Sample Program in cookies and some example.
|
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Jun 2005
Location: France
Posts: 167
![]() |
Hi,
I've added my own contribution, proposing an applet with high resolution aerial images (1m) : there is just, for the moment, a small sample, but it's beautiful yet ! http://www.ige.fr/3d/WW/WWJ.php We may add more data soon... NB : sorry, the page is in french only for the moment. But the images stay the same... |
|
|
|
|
|
#7 |
|
WWJ Consultant
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
![]() |
Very nice images
![]() EDIT: the second time i loaded the applet page, a lot of the imagery came out white... ?! Would you be willing to post some basic code to setup WWJ as an applet. I'm sure many will be interested to have a base template. BTW: there may be a way to reduce the download the first time, by using a single lower res image layer instead of the BM quadtile set level 0 - which accounts for 10+ megs. Last edited by patmurris; 07-02-2007 at 07:32 PM. |
|
|
|
|
|
#8 | |||
|
Senior Member
Join Date: Jun 2005
Location: France
Posts: 167
![]() |
Quote:
Quote:
i took it from ciccio's code.The most delicate, for me, was the part of exporting/signing the jar files, 'cause i'm a newbie to Java (last time i wrote java was 10 years ago...) Had you got pbs writing an applet ? Quote:
|
|||
|
|
|
|
|
#9 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,031
![]() |
We have already done a lot of work on WWJ applets. But there are significant problems to address to enable reliable usage of WWJ in an applet. Some of the problems are ours and some are Sun's. The most serious is memory usage: We use a lot and applets are restricted to a very small amount. Fixing this requires us to significantly reduce our Java-heap memory usage, or for Sun to provide the ability for applets to set the max heap size. They are exploring the latter, and it is on our list of priorities to do the former.
Other serious problems are multi-window usage and what I call "the restart problem," in which the OpenGL context is blown away when what would seem to be innocuous actions like tabbed or docked display are performed. These are planned to be addressed at least in part by an OpenGL resource cache whose requirements and design currently exist only among neurons. Addressing both of these problems is high on the priority list, and I'm hoping that we'll get to them immediately after the upcoming release. In the meantime, it's exciting to see the demand. And we'll certainly try to benefit from the work you and others are doing in this area. |
|
|
|
|
|
#10 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,031
![]() |
I neglected to say that the first problem you are likely to encounter with a WWJ applet is progressively decreasing performance after a short time, caused by heap thrashing. Eventually the applet will become fully unresponsive. We've already moved a lot of memory usage out of the heap, but there's more to do.
|
|
|
|
![]() |
| 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 |
| WWJ Early Access Release 0.2.0 now available | tag | WWJ Release Announcements | 48 | 09-19-2007 09:52 PM |
| Does Demis WorldMap Add-Ons Run on WW 1.4? | penelep | Add-ons & Scripts | 2 | 03-12-2007 12:48 AM |
| windowsxp won't load and run 1.3.4? | Backyard | Bug Reports | 3 | 08-01-2006 07:52 PM |
| viewing blue marble with pano applet | Roto-Photo | Developers' Corner | 0 | 03-26-2005 09:36 PM |