Terragen does a really great job of creating a beautiful landscape.
I'm assuming anyone using it would want all the beautiful texturing. Great for making beautiful pictures (perhaps backgrounds) but I never found a good way to use it with Java 3D (I'm not sure you can even get the height map exported).
- John Wright
Justin Couch wrote:
John Wright wrote:
The last time I looked at Terragen (assuming I'm remembering the correct program) it generates a 2D image (i.e. JPEG).
Ah, just a raster height-map? If so, j3d.org has a couple of classes that could be useful for you to play with.
Have a look at the class org.j3d.geom.terrain.HeightDataCreator.. The top of the javadoc says this:
<quote> A converter utility for changing an image into a height field set of data points.
To translate an image to a height field, the width of the image (X values) translates to the width of the geometry. The height of the image (Y values) is translated to the depth of the terrain. A terrain is always generated in the X-Z plain and height values along the Y axis. </quote>
Sound like what is needed?
-- Justin Couch http://www.vlc.com.au/~justin/
=========================================================================== 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".