Naomi,

An approach to creating planes with contour maps is:
1. Triangulate the spot heights using perhaps the Delaunay Triangulation
method
2. Interpolate the heights from the triangles to determine isolines
3. Render the 2D birds-eye view onto a BufferedImage
4. Pass the BufferedImage to an ImageComponent2D to drape it over a
GeometryArray created with triangles from  step 1

About step 1
If you are handling a regular grid then you do not need to implement the
Delaunay Triangulation method as Java3D's Triangulator Class can handle
this, however if you are handling irregularly positioned points then you
need to first cluster the points into triangles to create a Triangular
Irregular Network (TIN), pass all points to a GeometryInfo object with a:
stripcount array of length = number of triangles found from Delaunay
each element in the array = number of points in a triangle (3)

If there isn't an easier way, I hope this approach helps you. It worked for
me  :-)

Cheers,
Gobe Hobona
PhD Student in Geomatics
University of Newcastle upon Tyne

From: Naomi Greenberg <[EMAIL PROTECTED]>
Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [JAVA3D] contour plots
Date: Tue, 27 Jan 2004 12:32:02 -0500

I am looking for some guidance. I need to produce a plane above, below or
through a 3D body with a contour map of the surface at that cut.  Does
Java3D support contour maps? How do I do it? Are there any code samples,
books, etc that a novice like I should look at?

Thanks,
Naomi Greenberg

===========================================================================
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".

_________________________________________________________________ Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess

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