J3D Properties Settings

From: Dave Hallam <davehallam@yahoo.com>
Date: Thu Jun 06 2002 - 17:23:14 EDT

Hi,

Thanks for the new release. I've tried to get the J3D code to work but only with a little success. I've rebuilt the jar file to include the J3D code and have added the following text to the openmap.properties file:

<code>
#Added this to the openmap.components so that the box icon appears on the toolbar
om3dViewerLauncher.class=com.bbn.openmap.tools.j3d.OM3DViewerLauncher

# Added this plugin to the openmap.layers list so that we can plot a path for the pilot
pilotPathPlugin.class=com.bbn.openmap.plugin.PlugInLayer
pilotPathPlugin.prettyName=Pilot Path
pilotPathPlugin.plugin=com.bbn.openmap.plugin.pilot.PilotLoaderPlugIn
</code>

Clicking on the icon brings up a 3D world looking like the insides of a box but there is only sea color in there. The following is the output when a number of debugs flags are set:

<code>
D:\openmap-4.5\bin>java.exe -mx128m -Ddebug.3d -Ddebug.pilotloader -Ddebug.pilot -Dopenmap.configDir=..\share com.bbn.openmap.app.OpenMap
OpenMap(tm) Version 4.5
  Copyright 1998-2001, BBNT Solutions LLC, a part of Verizon.
  See http://openmap.bbn.com/ for details.

PilotLoaderPlugIn: found OMDrawingTool
OM3DViewerLauncher.actionPerformed(): CREATE
OM3DViewer: adding map content
LayerMapContent: putting layer graphics on the map.
LayerMapContent: putting layer Political Boundaries graphics on the map.
LayerMapContent: putting layer Graticule graphics on the map.
LayerMapContent: putting layer Drawing Tool Layer graphics on the map.
LayerMapContent: putting down sea.
LayerMapContent: looking for OM3DGraphicHandlers.
LayerMapContent: found one, adding com.bbn.openmap.tools.j3d.OM3DViewerLauncher@955cd5
OM3DViewer with projection Mercator[ world(13112,0) radius=6378137.0 ppm=3272 center(41.5,-71.0) scale=1.0E7 maxscale=1.96589888E8 minscale=62.0 width=667 height=480], setting center of scene to 333.5, 320.0
GraphicLoaderPlugIn returning list of 0 objects.
</code>

I also added some debug code into the PilotLoaderPlugIn in getGUI() which results in the following console output:

<code>
PilotLoaderPlugin.getGUI() - loader = null
</code>

This seems to be the heart of the problem. Would it be possible to publish all of the requirements for the properties file so that we can make sure that we have everything set? That would be most helpful.

Many thanks,

Dave

Tel: +44 (0) 7092 250 375
Fax: +44 (0) 7092 250 375

---------------------------------
Sign up to watch the FIFA World Cup video highlights from your desk!

http://fifaworldcup.yahoo.com/fc/en

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Jun 6 17:23:36 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT