A procedural terrain generation engine for use with the Three.js 3D graphics library for the web.
Upgrades Three.js support to r130. All geometry is now expected to be BufferGeometry. If you only use the built-in THREE.Terrain
functionality, you likely will not need to update any code. However if you wrote custom generators/filters/etc., those now take a Float32Array
of the geometry plane's Z-positions instead of an array of THREE.Vector3
s. Changelog
Improves dynamic texture support (#29, contributed by @Ithamar). Also fixes several minor bugs. This is the last release to support versions of Three.js that have non-buffer-geometry. Changelog
This release updates the library's compatibility to THREE.js r91, notably fixing an error with dynamic textures. Thanks to @vladgaidukov for this update. Changelog
This release updates the library's compatibility to THREE.js r86, notably including a fix for shadows in dynamically generated terrain materials, which had been broken since r76. Changelog
This is the final release in the 1.x series containing planned new features. Any future 1.x releases will most likely contain bug fixes only. Work will now begin on the 2.x series.
The major changes since 1.3.0 include:
THREE.Terrain.Analyze()
THREE.Terrain.EaseInWeak()
You can view the full changelog for more detail.
This release does not actually change the THREE.Terrain.js
library itself. Instead, the primary change is the addition of an analytics package which can be used to provide statistics about a terrain's shape or the typical shape of terrains generated using a specific method. You can see this in action by clicking the "Analyze" button in the demo or viewing the simulation.
Code style cleanup
This release supports three.js r71 and adds new edge manipulation options. Full changelog here.
The library has been stable for awhile now and has received new features in the 7 months since 1.1.0. The full changelog is here.
Tested with three.js r67 through r70.
This release has most of the features most people will want, but there is still quite a bit more that can be built.