• Stars
    star
    441
  • Rank 98,467 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 10 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

WebGL terrain with seamlessly changing level of detail

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.

More Repositories

1

procedural-gl-js

Mobile-first 3D mapping engine with emphasis on user experience
JavaScript
1,238
star
2

android-visualizer

Takes the input from the Android MediaPlayer and displays visualizations, like in iTunes or WinAmp
Java
804
star
3

procedural-gl-react

React component for the Procedural GL JS library
JavaScript
345
star
4

go_images

Example code for generating images in Go
Go
120
star
5

amd-three.js

AMD + three.js example application layout
JavaScript
86
star
6

peaks-of-austria

Explore the peaks of Austria in 3D - powered by Procedural GL JS
JavaScript
59
star
7

new-zealand-3d

Explore New Zealand in 3D - powered by Procedural GL JS
JavaScript
48
star
8

glsl-validator

Command line tool for validating GLSL files
Python
32
star
9

photo.gl

Example of 2D image processing using JavaScript, WebGL & GLSL
HTML
22
star
10

Cherrola

An aggressive Pomodoro timer for OSX
Objective-C
20
star
11

tron.js

Tron game written in WebGL/THREE.js for future.js 2014 workshop
JavaScript
14
star
12

volcanoes-of-japan

Explore the volcanoes of Japan in 3D - powered by Procedural GL JS
JavaScript
14
star
13

safari-webgl

Rendering of Safari logo using WebGL
JavaScript
12
star
14

webgl-tombstone

Demo combining canvas drawing and webgl shaders
JavaScript
10
star
15

procedural-gl-react-example

Example implementation of the Procedural GL React component
JavaScript
6
star
16

googleTV-hackathon

Project built at Google TV hackathon
Java
6
star
17

tetris.gl

Example of implementing tetris-like simulation on the GPU using WebGL
JavaScript
3
star
18

att-hackathon

JavaScript
3
star
19

vim

Vim Script
2
star
20

terrajs-slides

Terra.js slides
1
star
21

render-2-texture

Demo of bug in iOS WebGL when rendering to a floating point texture
JavaScript
1
star
22

tmux-tools

Collection of useful utilities built on tmux
Shell
1
star