A downloadable tool

πŸ›‘οΈ Antivirus Notice
This program may be flagged by some antivirus software because it’s a custom .exe generated with PyInstaller.
It does not contain any malware — you can check the source code yourself on GitHub.
If in doubt, run the .py version directly using Python.


🌲 treegen-pinegen v1.4.1

Procedural Voxel Tree + Pine Tree Generator for MagicaVoxel

Generate beautiful, customizable .vox trees using palettes, sliders, and pure Python magic.

Built with Python, Tkinter, and NumPy — no external 3D tools required.




✨ Features

  • 🌳 Treegen – Oak-style branching tree generator
  • 🌲 Pinegen – Pine tree generator with cone-shaped leaf clusters
  • 🎨 Custom Palettes – Use .png palettes for different tree types
  • 🧩 Tabbed GUI – Switch between tree and pine generation in one app
  • πŸŽ›οΈ Sliders for Everything – Size, twist, branch density, leafiness, and more
  • πŸͺŸ Preview Window - Visualize your output in real-time before you generate
  • πŸ’Ύ .VOX Export – Compatible with MagicaVoxel
  • πŸ“ Organized Output – Saves to output/tree/ and output/pine/



πŸ›  How to Use:

  1. Download and extract the ZIP

  1. Run the .exe (or the Python script if you're on Linux/macOS)

  2. Adjust the sliders and click "Generate"

  3. Load the .vox file in Magicavoxel or drop it into your game!


πŸ–ΌοΈ Palettes

Each palette is a 256x1 PNG image with indexed colors.

  • Tree palettes: palettes/tree/
  • Pine palettes: palettes/pine/
  • Make sure to add new palettes to the appropriate internal dictionary in the script.


πŸ“œ License

MIT — Free to use, remix, and plant digital forests 🌳🌲

Download

Download
https://github.com/NGNT/treegen-pinegen/releases/download/v1.4.1/treegen-pinegen.zip
External

Install instructions

πŸ›  How to Use:

  1. Download and extract the ZIP

  2. Run the .exe (or the Python script if you're on Linux/macOS)

  3. Adjust the sliders and click "Generate"

  4. Load the .vox file in MagicaVoxel or drop it into your game!

Development log

Leave a comment

Log in with itch.io to leave a comment.