Hi all, Im fairly new to Java and very new to Java3D. I'm writing an application that allows a user to visualize, in 2d and 3d, a USGS DEM file. Right now, the application reads in the file and creates a gray scale bufferedImage of the terrain. I have the elevation values in an array. The values start from left to right for X columns then starts a new row and so on for Y rows. I can generate X,Y,Z coordinates for each elevation point but i am lost as to how to take all these points and generate a polygonal model. Well, frankly at this point I cant even get a simple app to display the points. I guess my questions are:
Are there any code samples showing a simple app which just displays a few points? What would i have to use, triangle strip array, or would i have to rearrange my points in some special order to make a polygonal model, like a plane thats quad divided and the vertexes are at different elevations? I know there is a DEM loader in NCSA Portfolio, but id like to write my own just using the array because i will also manipulate the array data and recreate a new 3d model... Any help is Extremely appreciated ..... This is for a senior project and i am stuck ..... Thanks in advance, Eryk Furman __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com =========================================================================== 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".
