Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felixpalmer/lod-terrain
WebGL terrain with seamlessly changing level of detail
https://github.com/felixpalmer/lod-terrain
Last synced: 14 days ago
JSON representation
WebGL terrain with seamlessly changing level of detail
- Host: GitHub
- URL: https://github.com/felixpalmer/lod-terrain
- Owner: felixpalmer
- License: mit
- Created: 2014-02-17T14:35:43.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-14T13:19:43.000Z (over 6 years ago)
- Last Synced: 2024-08-02T20:47:30.413Z (3 months ago)
- Language: JavaScript
- Size: 26.1 MB
- Stars: 449
- Watchers: 22
- Forks: 87
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](http://www.vertexasylum.com/downloads/cdlod/cdlod_latest.pdf).
* [Accompanying blog post](http://www.pheelicks.com/2014/03/rendering-large-terrains/)
* [Slides](http://felixpalmer.github.io/lod-terrain/presentation)[Try out the live demo here](http://felixpalmer.github.io/lod-terrain)
![](https://github.com/felixpalmer/lod-terrain/raw/master/screenshots/screenshot1.png)
![](https://github.com/felixpalmer/lod-terrain/raw/master/screenshots/screenshot4.png)
![](https://github.com/felixpalmer/lod-terrain/raw/master/screenshots/screenshot5.png)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](http://felixpalmer.github.io/lod-terrain).
Structure
=========This project is based on [amd-three.js](https://github.com/felixpalmer/amd-three.js/). Please see there for details of project structure.