Hi,

Depending on the detail you need the easiest way would be to use a texture to show NZ 
etc.

If you need 'real' geometry for the continents etc then you would probably be best not 
to try and place the continents over a
sphere. Instead you shoudd use a geo-transform libary to map real earth data onto an 
ellipsoid. I have taken this approach for
the earth before with good results.

The basic alrogithm goes like this:

your data has a series of points (usualy a grid for formats like DTED of DEM) which 
are specified as lat / longs (or radians
etc) and an altitude.

You pass each point into a geo-transform libary which will then give you an xyz 
coordinate mapped onto an ellipsoid.

Stitch these points together in a tri-strip or tri-fan aray and you have the 'correct' 
geometry for the earth.

I have a libary here that does the tranforms but I can't figure out where I got it 
from. A quick google search should help you
find what you need though.

Hope this helps.

Cheers,

Brad


Siew Ching Tan wrote:
>
> Hi all,
>
> I am trying to contruct an Earth with all the continents being displayed on
> the surface of the Earth using Java3D. My question is ,for example, how do I
> display New Zealand on the surface of a sphere ? And also how do I fill New
> Zealand with color? Besides, if i would like to contruct New Zealand with
> Altitude, how do I implement it so that other scene graph object can display
> on top of each other on the surface of the sphere? Help is appreciated!!!
> Thanks in advance!
>
> cheers,
> Siew Tan
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".


----------------------------------------------------------------------------
This Email may contain confidential and/or privileged information and is
intended solely for the addressee(s) named. If you have received this
information in error, or are advised that you have been posted this Email by
accident, please notify the sender by return Email, do not redistribute it,
delete the Email and keep no copies.
----------------------------------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to