Skip to content

felixpalmer/lod-terrain

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

WebGL terrain with seamlessly changing level of detail

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published