World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > WWJ Release Announcements

WWJ Release Announcements WWJava release announcements thread, no other topics please.

Reply
 
Thread Tools Display Modes
Old 05-03-2008, 02:47 AM   #1
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
Lightbulb WWJ SDK Alpha 5 - 0.5.0 available

NASA World Wind Java SDK alpha 5 - 0.5.0 is now available.
Download WWJ SDK 0.5 (Zip 14.4M).
Check the new demo page for web start examples, applets and user applications.

From the release README.txt:

Change Summary for 0.4 to 0.5:
  • - Includes a WMS server.
  • - Major changes to the view code - the eye can now go very close to the ground, and underwater. New interface methods.
  • - New Restorable interface to save and restore objects state to/from an xml document. Implemented in UserFacingIcons, Annotations, Polyline, View...
  • - Flat Worlds with projection switching are now usable.
  • - Mars and Moon globes with elevations and full layersets from NASA servers.
  • - MGRS, UTM and TM coordinates classes and converters in geom.coords
  • - Tiled image layers will not wait for lower res tiles to load before showing the needed ones.
  • - New layers:
    • - NAIPCalifornia.
    • - BMNGWMSLayer gives access to any of the 12 BMNG 2004 layers.
    • - OpenStreeMapLayer.
    • - MGRSGraticuleLayer and UTMGraticuleLayer.
    • - CrosshairLayer.
  • - All non Earth specific layers have been moved from layers.Earth to layers: CrosshairLayer, FogLayer, ScalebarLayer, SkyColorLayer, SkyGradientLayer, StarsLayer, TerrainProfileLayer and WorldMapLayer.
  • - StatusBar moved from examples to util.
  • - New GeographicText support - used for placenames.
  • - More accurate scalebar.
  • - Increased performance for Polyline.
  • - Icons can have a background image.
  • - WWJApplet example updated with new capabilities.
  • - Build script completly revised.
  • - SurfaceImage from an http source.
  • - Zoom with middle mouse button down and drag up/down.
  • - AlwaysOnTop property for icons and annotations.
  • - New Mipmap flag for TiledImageLayer
  • - Better TiledImageLayer image capture and composition.
  • - Enhanced NITFS/RPF support.
  • - Better gps tracks support
  • - New examples: AlarmIcons, BMNGTwelveMonth, FlatWorldEarthquakes, MGRSGraticule, RemoteSurfaceImage, ViewLookAround, Mars, Moon...
  • - Also includes an application for Search And Rescue support.
  • - Many other bug fixes and changes...
It has been five month since the previous 0.4 release. Thank you for your patience and feedback

Edit: Some screenshots and details here.
__________________
My World Wind Java Blog & WW.net Plugins page

Last edited by patmurris; 05-03-2008 at 07:20 AM.
patmurris is offline   Reply With Quote
Old 05-03-2008, 08:13 AM   #2
tve
Member
 
Join Date: Jun 2007
Posts: 98
Default

Thanks guys!!!! Very nice start to the weekend!

Is the California NAIP imagery available? I haven't been able to find any images for that layer yet.

Looks like you guys have been busy...
Thanks for releasing before Java-One conference!
tve
tve is offline   Reply With Quote
Old 05-03-2008, 08:52 AM   #3
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
Default

NAIP California should be working, but the server seems to be down just now - it comes from berkeley.edu wms.
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 05-03-2008, 09:44 AM   #4
fabrizio.giudici
Senior Member
 
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
Default

I'd like to take the risk and upgrade now, just in time for the J1 demo... :-)

I've just two problems compiling this method: setLookAtLatLon(), getLookAtLatitude() and getLookAtLongitude() seems to have been moved.


Code:
    private void setCenterPosition (final Coordinates centerPosition, 
                                    final double zoom, 
                                    final Angle heading,
                                    final Angle pitch)
      {
        logger.info("setCenterPosition(" + centerPosition + ", " + zoom + ")");
        this.centerPosition = centerPosition;
        final Position position = toPosition(centerPosition);
//        final Position viewPosition = new Position(position.getLatitude(), position.getLongitude(), height);
        logger.fine(">>>> position: " + position);
        final Globe globe = wwjGLCanvas.getModel().getGlobe();
        final OrbitView view = (OrbitView)wwjGLCanvas.getView();
        
        if (false)
          {
//            view.setLatLonAltitude(viewPosition);
            view.setLookAtLatLon(position.getLatLon());
          }
        
        else
          {
            view.stopStateIterators();
            view.applyStateIterator(FlyToOrbitViewStateIterator.createPanToIterator(globe, 
                            new LatLon(view.getLookAtLatitude(), view.getLookAtLongitude()),
                            position.getLatLon(),  
                            view.getHeading(), heading,
                            view.getPitch(), pitch,
                            view.getZoom(), zoom,
                            2000));
          }
      }
__________________
--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941
fabrizio.giudici is offline   Reply With Quote
Old 05-03-2008, 10:20 AM   #5
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
Default

The view has evolved quite a bit, sorry for the trouble.

There is a number of classes that control the view in one way or another. Have a look at examples.applet.WWJApplet for various iterators or examples.ViewLookAround for some direct view setting code - in a first person approach (zoom = 0) though.

The SAR application (in applications) has some rather sophisticated view controls in AnalysisPanel.updateView().

Hope this helps you catch up in time

Edit: some view discussion here too.
__________________
My World Wind Java Blog & WW.net Plugins page

Last edited by patmurris; 05-03-2008 at 10:27 AM.
patmurris is offline   Reply With Quote
Old 05-03-2008, 09:40 PM   #6
fabrizio.giudici
Senior Member
 
Join Date: May 2007
Location: Milan, Genoa (Italy)
Posts: 112
Default

Dave Collins solved my problems :-) (see also my blog). Can you please tell me which are the versions of JOGL and GlueGen used this time? Remember that we NetBeans RCP programmers always need the version of libraries, also because of the versioning of modules.
__________________
--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
Fabrizio.Giudici@tidalwave.it - mobile: +39 348.150.6941
fabrizio.giudici is offline   Reply With Quote
Old 05-03-2008, 11:03 PM   #7
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
Default

I have no idea which versions of JOGL or GluGen we are using. We generally use the latest available that gets downloaded when you run the ant target jogl.setup - see Build.xml in the project root. Maybe you can figure the version by following the download link to Sun's site?
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 05-04-2008, 12:00 AM   #8
ayman
Junior Member (Java Lover)
 
Join Date: Feb 2008
Posts: 172
Default

Some classes are missing, I found PlaceNameRenderer ,PlaceName,GlobeAnnotationInfo.java dosn't exist any more?

Last edited by ayman; 05-04-2008 at 12:05 AM.
ayman is offline   Reply With Quote
Old 05-05-2008, 06:49 AM   #9
mrdale
Junior Member
 
Join Date: Jan 2008
Posts: 2
Default

I also needed to update to the latest jogl to get it to run.

There are also changes in config/worldwind.properites so that has to get updated as well if you've strayed from the default.

There's definitely enough new stuff to keep me entertained for while. Thanks!
mrdale is offline   Reply With Quote
Old 05-05-2008, 11:07 AM   #10
Ouar
Junior Member
 
Join Date: Feb 2008
Posts: 19
Default

Hello,

Thank you guys for this release.
But i've got a problem here with opengl :

Code:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.IllegalArgumentException: argument type mismatch
        at com.sun.opengl.impl.JAWT_DrawingSurfaceInfo.newPlatformInfo(JAWT_DrawingSurfaceInfo.java:86)
        at com.sun.opengl.impl.JAWT_DrawingSurfaceInfo.platformInfo(JAWT_DrawingSurfaceInfo.java:52)
        at com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.lockSurface(WindowsOnscreenGLDrawable.java:189)
        at com.sun.opengl.impl.windows.WindowsOnscreenGLContext.makeCurrentImpl(WindowsOnscreenGLContext.java:57)
        at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
Do you know how to solve it (i'm using the jogl libs from the WWJ_0.5 and i replaced the jogl dlls with the new ones) ?
Thanks,

Ouar
Ouar is offline   Reply With Quote
Reply

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WWJ SDK Alpha 4.1 - 0.4.1 available tag WWJ Release Announcements 56 11-14-2009 01:51 PM
WWJ SDK Alpha 4 - 0.4.0 available patmurris WWJ Release Announcements 9 07-19-2009 02:50 AM
WWJ SDK to abstract JOGL to make a map server mikequentel Applications 0 05-01-2008 07:32 PM
WWJ SDK Alpha 3 - 0.3.0 available patmurris WWJ Release Announcements 35 12-03-2007 09:56 PM
1.3.2 alpha 2 released Jessi Developers' Corner 28 02-02-2006 08:27 PM


All times are GMT +1. The time now is 05:18 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.