Using Java3D API the answer is negative,
but you can do that in two manners:
 
a) Throwing a  vertical picking ray to the terrain, and getting the intersection point.
 
b) By an auxiliar data struct:  double[][] of heights. You must make a method which accept a point (x,y)
and returns the height by the weighted mean of the four points nearest to the point passed.
 
 
Regards, Alvaro
-----Mensaje original-----
De: Kris Korstjens <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: martes 29 de mayo de 2001 13:29
Asunto: [JAVA3D] Terrain following

Hi,
 
I created a random terrain with a TriangleArray, now was i wondering if it is possible to get the heigth of the TriangleArray at a specified point...
 
thanx
 
Kris

Reply via email to