Skip to main content

A interacting rotating globe with Java 3D

8 replies [Last post]
spasmody
Offline
Joined: 2007-06-03

Hello,
I am trying to create a nice rotating interacting earth globe. The best way seems to be Java 3D. My question is how can I create a beautiful interacting globe using a quality satellite photo. This is a
very usefull applet for everybody. All suggestion welcome!
Thanks
Arnaud

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jcoughlin
Offline
Joined: 2004-09-21

Another very useful site is:
http://worldwind.arc.nasa.gov/

It is an interactive 3D globe with satellite imagery. Although it uses JOGL, it should still provide some useful insight if you are intent on creating this in Java3D.
-Joe

jada
Offline
Joined: 2004-03-17

We showcased a map viewer, using Java 3D and JAI, from ESRI at JavaOne this year.
It is a map viewer and API for Java developers. Java developers can customize the functionality and user interface by creating application plugins based upon an it's API. They are working hard to put out an evaluation version in the coming weeks.
Stay tune we will add it to the Featured Projects on Java 3D project website when it is available : https://java3d.dev.java.net/

- Chien

y3m5
Offline
Joined: 2007-06-03

Yes, but it would be a good starter project.

Arnaud, what were you going to do with the globe once you got it working?

label locations?
ability to zoom in/out?

make it a library that can be used for more complex scenarios?

typically
Offline
Joined: 2006-09-29

Hasn't Google already beat you to this? :P

weiland
Offline
Joined: 2005-08-05

If you're not looking to get extremely close to the surface, NASA has made available some nice imagery here: http://visibleearth.nasa.gov

I would give you a more focused link, but the site is unresponsive at the moment.

Basically, if you look around there, they have made available a set of 8 21k X 21k PNG format (also, JPEG, not as good) that cover the earth; that corresponds to a 240x240 texture image for every degree of latitude and longitude.

Bill

weiland
Offline
Joined: 2005-08-05

Another followup, try here:

http://eobglossary.gsfc.nasa.gov//Newsroom/BlueMarble/BlueMarble_monthli...

The high res images are available from the 500m/pixel links using BitTorrent.

Bill

y3m5
Offline
Joined: 2007-06-03

Hi. I just got started with Java 3d. I haven't done anything yet but download the tutorials and example code.

In the example code, under the "textures" folder, is an example called
EarthApp.java

once you've compiled all the java files in that folder try running EarthApp from the command line. You will see something very similar to what you describe. The texture is very good but you could probably make it more detailed by increasing the resolution of the texture and tweaking the code.

In so far as being able to interact with it, refer to the "MousePickApp" in the Interaction folder of the examples.

Those two things combined would probably get you started. If you are interested we could work together on this. I have a lot of free time so I would happy to spend it on this.

Thanks,
y3m5

spasmody
Offline
Joined: 2007-06-03

Hi, thanks for answering y3m5.
In fact I already found some interesting java applets (LiveGraphics3D, Globe Applet...) but they rather display a bad texture. For example LiveGraphics3D,

http://www.ac-noumea.nc/maths/amc/polyhedr/Live3D.htm

works with the 3D graphical objects of Mathematica (using intersections of polygons). But my goal is to create a BEAUTIFUL globe using a quality satellite photo. It would be nice if LiveGraphics3D could work with other inputs than pure mathematical objects, i mean images. Several programmers told me that Java 3D is more convenient. But in the other hand note that Live Graphics3D is both rotating and interacting and is compatible with Java.
So I have a glance at EarthApp.java and we keep contact.
Yes, why not a collaboration indeed? Me too I have a lot of free time, especially during the summer. My personnal email : avalence@neuf.fr
bye for now
Arnaud
(I'm french from Paris)