There are many popular ways to generate terrain, first there's the Foyer
transform(excuse the spelling) you can do the math in your program and generate
a QuadArray or TriangleArray. If you don't want to attempt the math, take a
look at Gforge, it's a command line DOS program which will generate a
heightfield image using the above approach. You then read in the image and use
the pixel-color-values as "Y" values in a Quad or TriangleArray, image based
heightfields are fairly simple to implement

Another mathmatical approach is Perlin Noise

There are others, but these seem the most popular

Do some research and find one that's right for you.

Good Luck

Kevin Bartholomew wrote:

> Instead of developing a surface(terrain) for scratch using Java3D
> arrays(linearray, quadarrays, etc)is it possible to load a surface
> or terrain developed in another CAD package. If so, which package, where
> can I find such a loader, how do I implement this using Java3D, and which
> file format should I do searches on.
> Thanks for the 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".

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