Skip to content

A USGS DEM loader and renderer for our project in BISAG. This should load a dem file, Generate the geometry and superimpose the satellite images as well as provide control over the camera

Notifications You must be signed in to change notification settings

krishnangovindraj/jterrain-bisag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java3D based Terrain viewer.

( Note: This readme was written ( in a hurry ) for a linux system ( as are all the bash files ). The dependencies come with installation instructions and the path setting is very similar in windows and linux. You shouldn't have trouble figuring it out.

I also hope someone will improve the documentation because i can't remember a thing i did 2 years ago. )

Installation

The code has some dependencies:

Compiling

This project needs to find the dependencies to run. The class path needs to be set to the location of all the .jar files. You can do this in your shell by running the command

export CLASSPATH="/path/to/j3d/lib/ext/* where ext contains all the jar files.

You will also need the libj3dcore-ogl.so file to be discoverable.

export LD_LIBRARY_PATH="/path/to/j3d/lib/amd64/"

It's also handy to do all this in a single bash file. View compile.sh for a better idea.

Running

There is a DEMViewerExample file that can be run to see how it works. Simply run bash runexample.sh. Remember to extract the provided sample data

Using the example:

It should run. Use WASDRF to move along the 3 axes. Resize the window as needed. UHJKLOP to rotate along the 3 axes.

About

A USGS DEM loader and renderer for our project in BISAG. This should load a dem file, Generate the geometry and superimpose the satellite images as well as provide control over the camera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published