J3D.org DEM Terrain Loaders

Does anyone use the DEM loaders in the j3d-org package, and if so, can someone send me a file that works with it?

Also send a sample of the code to do it if you can.

thanks everyone for your help.

Zak

We’ve used them quite a bit in the past with good success.

One thing that you may need to be careful of is that there are two “DEM” standards. USGS and SDTS. My DEM code only handles USGS so make sure your files are in that format first. As for source data that works, I use a variety of files, mainly from various US goverment agency sites.

Finally, the output is generated as proper height values. What you may have happen is you’ve left your viewpoint at the stock position around 0, 0, -10 and the terrain is up at some thousands of metres (units) above that. So check on all that sort of setup to make sure you’re viewing what you think you should be.