Where is that "Terrain" class? Can we get it?
-----Original Message-----
From: alvaro zabala [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 8:11 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] ANN: Collision Detection/Terrain tutorial
We use an easier terrain navigator than this.
We have a "Terrain" class, which has a property called geometry which is a
double[ ] [ ] array.
the same array which we use to create a QuadArray with the terrain.
The terrain class has a method which get a Point3d (or Vector3d) with de
ViewingPlatform Transform3d traslational component.
This method (getZdem(Point3d position) calculates the Z on the terrain of
the Point passed to it, and set the z component of the
Transform3D.translation to it.
Without computing intersections!!
Only a weight mean.
===========================================================================
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".
===========================================================================
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".