Skip to content

Second project I worked on during my internship the last year of school. I was basically given free reign to implement a SIGGRAPH paper.

Notifications You must be signed in to change notification settings

mikenichols/Terrain-Simulation

Repository files navigation

Terrain Rendering Engine

Dependencies

To get this running on OS X Yosemite, you'll need to install a few things:

~$ brew install homebrew/x11/freeglut
~$ brew install gcc49
~$ brew install devil

Run with the command:

~$ ./run 3 31 "top_data/*.hgt"

or for a large terrain:

~$ ./run 10 255 "top_data/*.hgt"
  • Note that the second argument is of the form (2^n)-1 where n is an integer

Movement:

  • w: move forward
  • s: move backward
  • a: turn left
  • d: turn right
  • up arrow: move up
  • down arrow: move down
  • left arrow: strafe left
  • right arrow: strafe right

For debugging memory related-errors:

~$ valgrind --tool=memcheck --error-limit=no --track-origins=yes --leak-check=yes ./run 10 31 "top_data/*.hgt"

About

Second project I worked on during my internship the last year of school. I was basically given free reign to implement a SIGGRAPH paper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages