https://github.com/leggedrobotics/terrain-generator
https://github.com/leggedrobotics/terrain-generator
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/leggedrobotics/terrain-generator
- Owner: leggedrobotics
- License: mit
- Created: 2023-08-29T19:38:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T00:15:22.000Z (about 2 years ago)
- Last Synced: 2025-04-06T20:46:29.696Z (about 1 year ago)
- Language: Python
- Size: 33.1 MB
- Stars: 181
- Watchers: 6
- Forks: 22
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terrain Generator
This is a automated terrain geneartor tool using [wave function collapse](https://github.com/mxgmn/WaveFunctionCollapse) method.
This is used in the paper, [Learning to walk in confined spaces using 3D representation](https://takahiromiki.com/publication-posts/learning-to-walk-in-confined-spaces-using-3d-representation/)
[Project page](https://takahiromiki.com/publication-posts/learning-to-walk-in-confined-spaces-using-3d-representation/), [arxiv](https://arxiv.org/abs/2403.00187), [Youtube](https://youtu.be/QAwBoN55p9I)

## Tiling meshes
It checks the connectivity of each mesh parts and connect them.
# Install
If you're using conda, create env with the following command.
```bash
conda env create -f environment.yaml
pip install -e .
```
# Usage
To run a testing script run as follows.
```bash
conda activate wfc
python3 examples/generate_with_wfc.py
```
This will first generate all configured meshes and then build different combinations.
Once the mesh is generated, it is stored as cache and reused for the next time.
You can make your own config to generate different terrians.
# Citation
Please cite the following paper if you use this software.
```
@article{miki2024learning,
title={Learning to walk in confined spaces using 3D representation},
author={Miki, Takahiro and Lee, Joonho and Wellhausen, Lorenz and Hutter, Marco},
journal={arXiv preprint arXiv:2403.00187},
year={2024}
}
```
# Config
TODO