This is a JavaScript / GLSL height field terrain sculpting library for Three.js plane meshes.
- GPU-based sculpting for fast performances on high resolution meshes
- Load custom greyscale height map as the base terrain
- Different sculpt brushes: add, remove
- Highlight on sculpt brush area to visually indicate sculpting location
- Retrieve a proxy texture for creating a proxy mesh for CPU operations e.g. collision detection with a CPU-based rigid body system
1) Terrain Load & Sculpt [Demo]
- Loading of greyscale height map
- Terrain sculpting using the mouse cursor
2) Interaction With Dynamic Rigid Bodies [Demo]
- Fetching of proxy texture from the GPU to create a low-res terrain for collision detection with dynamic rigid bodies
Tested only in Google Chrome (recommended) and Mozilla FireFox
Released under The MIT License (MIT)
Copyright (c) 2013 Skeel Lee (http://cg.skeelogy.com)