Skip to content

WebGL terrain with seamlessly changing level of detail

License

Notifications You must be signed in to change notification settings

arcman7/lod-terrain

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Languages

  • JavaScript 56.4%
  • HTML 25.6%
  • GLSL 16.4%
  • Other 1.6%