/lod-terrain

WebGL terrain with seamlessly changing level of detail

Primary LanguageJavaScriptMIT LicenseMIT

LOD Terrain

LOD Terrain is an example of how to render a terrain with a variable level of detail (LOD), based on the distance from the camera. The approach taken is based on CD-LOD.

Try out the live demo here

Height calculations

Currently the detail distribution isn't as per the paper, namely it assumes the most detailed region is the point above which the camera currently resides, rather than taking into account the height of the terrain.

Running

Just host this directory with a webserver of your choice. You can also use the webserver.sh script included (provided you have Python) to set up a simple development server.

Then visit http://localhost:8000 in your browser. Or try the online demo.

Structure

This project is based on amd-three.js. Please see there for details of project structure.