Sorry, this one slipped past my radar in the last few days... project deadlines and stuff...
Eryk Furman wrote: > I?m developing an application as my senior project which reads in DEM elevation >files and > generates a 2D image and a 3D model. > > I'm using the J3D.org ElevationGridGenerator and it is fine for the terrains that >have values at > sea level (example min elevation 0, max elevation 76) but for a file which contains >elevations > above sea level (example min elevation 1300, max elevation 3500). Now we can't really help with the EGGenerator, but very recently, a full DEM loader has been added to the repository. Part of the loader is providing you with full EG rendering. If you choose, you could then plug that DEM into the ROAM implementaiton that is there. Given another month or two, that should also then include the navigation code too. Part of the DEM parser is the requirement to implement the HeightMapParser interface. Hmm.. unfortunately that doesn't give you the information you require. However, you could always grab the TypeB record structures in the file (available from the parser) and look through each of those looking for Max/Min heights and work out what the highest one is.... -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== 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".
