Andrea,

Sorry for taking so long getting back to you.  I've been working on multiple 
fronts including a Java based contour engine with an interesting knowledge 
based twist.

I'm currently using geotools 2.6.0.
The way that I'm working with the map is the following:
1)  Most important I'm keeping it as simple as possible.
2)  From the MapContext I get the map layers.  Pass a list of layers and the 3d 
renderer will chew through them.
3)  I iterate over the layers doing a conversion from geo-Point/Lines to Java3d 
Point/Lines
              -Currently I don't have poly but will add before release
4)  I do a transform on the data as well to get data centered around zero.  
I've found this to be the best approach because I simply had multiple headaches 
the other way (Eye).
The transform was the trickiest part.  I had a he11 of a time getting the data 
properly aligned in the frame.
5) I currently have a button that activates a Frame that displays up to 10+ 
layers(no limit) including delaunay triangulation(another topic in itself - 
i've done validation on an available solid Java constrained delaunay), 
graphics(with proper end points in data mapped), contours, and points.

Things I'm working on:
1) Since I iterate the layers I plan on pulling the styles apart and adding 
proper colors from the 2d to the 3d render.
2) Display Layer List controller to control the layers displayed.  In my case I 
have some data that is 2d and not 3d on layers so I want to build a controller 
to take out 2d layers at render.
3) z=0 layer check flag for auto removal of layers that are 0 for all z's
4) Transform layer specified(anchor) for all layers or transform done by each 
layer independently - currently i don't have a base transform layer (like 
ground points) resulting in some interesting results.
5) Break up into better object tear - currently I've just chewed through some 
of the code to get layers properly displayed in the frame without a real clean 
OO approach.

May sound like a lot left but in my opinion the hard part is done.

Oliver


-----Original Message-----
From: "Andrea Aime" <[email protected]>
Sent: Monday, September 13, 2010 1:02pm
To: "Oliver Gottwald" <[email protected]>
Cc: "geouser" <[email protected]>
Subject: Re: [Geotools-gt2-users] Java3d renderer

Oliver Gottwald ha scritto:
> 
> I'm in the process (last couple weeks) of coding a Java3d renderer for 
> geotool layers.  I have the base work complete but I still think I'm a 
> couple weeks out.  When ready I will post the code or a link to get it.

Very interesting. Can you share any more information about it with us?
Like, geotools version, base technology, how the map is defined,
how you deal with view management and so on?

Cheers
Andrea


-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to