On Wed, Mar 25, 2009 at 6:04 AM, Wellmann, Harald
<
harald.wellmann@xxxxxxxxxx> wrote:
> I assume the other approach Jody is referring to is mine.
>
> I've made some progress, but things are still too experimental to write up a Wiki page, let alone publish sources.
>
> Anyway, my team is trying to integrate Java3D, and we are not planning to consider any other 3D frameworks. osgVP is out of the question for us due to its GPL license. uDig is LGPL, so I guess that any add-on with an incompatible license will never make it into uDig trunk.
>
> The current status of my prototype:
>
> - A ViewportPaneJava3D wraps a Canvas3D (by means of SWT_AWT) and a VirtualUniverse. This Pane is used as a replacement for the default ViewportPaneSWT.
>
> - An interface IMapDisplay3D extends IMapDisplay to provide access to the VirtualUniverse.
>
> - A Java3DFeatureRenderer retrieves the IMapDisplay from the RenderContext, downcasts it to IMapDisplay3D, accesses the VirtualUniverse and creates a new BranchGroup with a Shape3D for each feature from the corresponding map layer.
>
> - A ViewportModelListener receives viewport changes and updates the Java3D ViewingPlatform transform.
>
> It shouldn't be too hard to fill in the missing bits under the assumption that the entire map is small enough to be kept in memory and to be rendered into the scenegraph once when the map is created.
>
> And I'm ignoring styles for the time being.
>
> I'm busy with other things currently, but I hope I'll be able to provide more details after Easter.
>
> Best regards,
>
> Harald
>
>
>
> -----Ursprüngliche Nachricht-----
> Von:
udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx im Auftrag von Jody Garnett
> Gesendet: Di 24.03.2009 14:45
> An: User-friendly Desktop Internet GIS
> Cc:
> Betreff: Re: [udig-devel] Map3D in UDIG
>
> That is fun news; please see another conversation two weeks ago where
> I covered intergration options with another team doing the same sort
> of idea.
>
> To review:
> - do not target MapImpl that is the data structure
> - there is a single component to look at - MapViewer which sets itself
> up to use different widgets depending on the constants provided during
> contstruction; make 3D a supported constant
>
> It really is very exciting to have two teams looking at scene graph
> based solutions; the other team was looking at Java3D which also scene
> graph based. In my own commercial work I saw a 40% improvement going
> from hand built OpenGL to Java3D back when it was alpha technology.
>
> I am happy to review any design documentation posted to the udig HACK
> wiki space; especially if the work is being done in a community
> module. You should also consider dropping by the uDig IRC channel for
> the friday meeting - I would be pleased to go over some options with
> you. Beyond these public forums I would need to look up my consulting
> rates for you (yes open source is not free in every sense of the
> word).
>
> Can you do me a favour and use nabble to look up the earlier
> conversation on this topic; it would save us both some time.
>
> Welcome and happy hacking,
> Jody
>
> On Tue, Mar 24, 2009 at 10:11 PM, eline lachat <
eline.lachat@xxxxxxxxx> wrote:
>> Hi all,
>>
>> We are planning a development of 3D capabilities on uDIG using
>> OSGVirtualPlanets (osgvp
>>
http://www.gvsig.org/web/projects/gvsig-commons/osgvp) into UDIG. osgVP is a
>> 3D framework based on OpenSceneGraph for GIS development in Java.
>>
>> We think follow this way to integrate the 3D viewers into Udig:
>> - Make a Map3D element that is like a MapImpl (the Map3D implementation is
>> almost the same that a Map implementation)
>> - Make an Eclipse Editor Part that is associated to the new element Map3D.
>> An editor already exists in OSGVP, so we want to extend it.
>> - To pass the layer events on the layerManager of the OSGVP to draw the
>> layer.
>>
>> We think that the best way is to reuse the MaplImp element because the map3D
>> is almost the same. We'd like use it in the existing Editor developped in
>> OSGVP.
>> We are developing the Map3DEditor and we would like to know if the plan of
>> work correponds to the best solution.
>>
>> The goal of the integration is to can use every functionnalities of a Map in
>> a Map3D.
>>
>> Best regards,
>>
>> Eline
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>>
http://udig.refractions.net
>>
http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
>
http://udig.refractions.net
>
http://lists.refractions.net/mailman/listinfo/udig-devel
>
> *******************************************
> innovative systems GmbH Navigation-Multimedia
> Geschaeftsfuehrung: Edwin Summers - Kevin Brown
> Sitz der Gesellschaft: Hamburg - Registergericht: Hamburg HRB 59980
>
> *******************************************
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
> *******************************************
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
>
http://udig.refractions.net
>
http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel