Re: J3D Properties Settings

From: Don Dietrick <dietrick@bbn.com>
Date: Thu Jun 06 2002 - 18:31:53 EDT

HI Dave,

I think you have it right, the only thing I'd change is:

On Thursday, June 6, 2002, at 05:23 PM, Dave Hallam wrote:
> # 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

to

pilotPathPlugin.class=com.bbn.openmap.plugin.pilot.PilotLoaderPlugIn
pilotPathPlugin.prettyName=Pilot Path

and forget about setting the plugin explicitly. The LayerHandler will
do the right thing for the plugin and the PlugInLayer.

> 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:

Now this is weird. Looks like the layers are loading into the
MapContent properly, and in fact you are getting the sea and the
"curtain" around the scene. I'm not sure why the political boundaries,
graticule and drawing tool layer graphics are not there.

The PilotLoaderPlugIn doesn't need to be used in conjunction with the
OM3DViewerLauncher, they are separate things.

Can you move around in the 3D scene using the arrow keys?

>
> <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>

Ho- Geez!

I did some last minute cleanups getting rid of what I though were unused
leftover methods left over from the adaptation from the graphicLoader
package. In the GraphicLoaderPlugIn, the loader gets set in
setDTEDFrameCache(), and I deleted that method not realizing that the
loader was getting set in PilotLoaderPlugIn there, too.

I think you can add

loader = new PilotLoader(this);

to the end of the PilotLoaderPlugIn constructor methods.

Dang.
Dang.
Dang.

This still doesn't answer why the stuff above isn't working, though.

- Don

>
> 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

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 18:32:18 2002

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