No description
Find a file
loki5512344 fa05187f1c Add operations (erode, fill, flood, pencil), filter system, layer system with exporters, and WorldPainter .world import
- New operations: ErodeOperation (thermal erosion), FillOperation (flood-fill), FloodOperation (hard replace), PencilOperation (single-point)
- Filter system: Filter trait with TerrainFilter, HeightFilter, SlopeFilter, CompositeFilter, InvertFilter, FilteredOperation wrapper
- Layer system: Layer trait + 6 implementations (Caves, River, Frost, Trees, Biome, Resources) + layer data helpers on Tile
- Layer exporters: LayerExport trait + 6 implementations that modify blocks during export (caves carve air, rivers create water channels, frost adds snow/ice, trees place logs, resources add ores, biomes set biome palette)
- WorldPainter .world import: Java serialization stream parser with full TC_* token support, tile extraction, format auto-detection
2026-06-15 19:41:47 +02:00
bench Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
cli Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
core Add operations (erode, fill, flood, pencil), filter system, layer system with exporters, and WorldPainter .world import 2026-06-15 19:41:47 +02:00
crates Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
docs/benchmarks Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
gui Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
scripts Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
tests/data Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
.gitignore Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
Cargo.lock Add operations (erode, fill, flood, pencil), filter system, layer system with exporters, and WorldPainter .world import 2026-06-15 19:41:47 +02:00
Cargo.toml Add operations (erode, fill, flood, pencil), filter system, layer system with exporters, and WorldPainter .world import 2026-06-15 19:41:47 +02:00
CHANGELOG.md Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
LICENSE Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
PLAN.md Initial commit: Terrafier v0.1.0 2026-06-15 19:14:11 +02:00
README.md Clean up README: replace em-dashes, add badges 2026-06-15 19:20:38 +02:00

Terrafier

Rust Work in Progress License

Rust-native Minecraft world painter - быстрее, легче, современнее.

Terrafier - нативная замена WorldPainter на Rust. Рендеринг карт Minecraft через GPU, параллельный экспорт, CLI-first архитектура.

Быстрый старт

# Установка
cargo install terrafier-cli

# Создать новый мир
terrafier new my_world --seed 12345

# Экспортировать в Minecraft
terrafier export my_world --output ./minecraft-worlds

# Посмотреть информацию
terrafier info my_world

# Рендер превью
terrafier render my_world --output preview.png

Возможности

  • GPU-рендеринг - плавный просмотр карты 30-60 FPS
  • Параллельный экспорт - в 3-5 раз быстрее Java-аналога
  • Компактный бинарник - 15-25 MB, без JRE
  • CLI + GUI - и для скриптов, и для интерактивной работы
  • Совместимость - читает .world файлы WorldPainter, экспортирует Anvil 1.21+

Структура

core/   - библиотека (модель мира, парсинг, экспорт)
cli/    - CLI-инструмент
gui/    - GUI-приложение на egui + wgpu

Лицензия

GNU General Public License v3.0