Thanks for your interest in contributing! This document provides guidelines for contributing to the project.
- Fork the repository
- Clone your fork locally
- Create a branch for your changes
- Blender 3.0+ with Python bundled
- ImageMagick (for crop_sprites.sh)
- Bash shell
-
Download a free 3D asset pack for testing:
- Kenney - CC0 licensed game assets
- Quaternius - CC0 licensed 3D models
-
Run the test script:
./test_render.sh ./path-to-models ./test-output
-
Verify output sprites have:
- Transparent backgrounds
- Correct framing
- Power-of-2 dimensions after cropping
- Follow PEP 8 style guidelines
- Use type hints where practical
- Add docstrings for functions
- Keep compatibility with Blender's bundled Python
- Use
set -efor error handling - Quote all variables
- Provide helpful error messages
- Support both PATH-based and direct Blender invocation
- Update the README.md if you've changed functionality
- Test your changes with at least one asset pack
- Keep commits focused and atomic
- Write clear commit messages
Use clear, descriptive commit messages:
Add support for .dae (Collada) format
- Add Collada import in import_model()
- Update supported formats list
- Add to README documentation
Please include:
- Blender version (
blender --version) - Operating system
- Steps to reproduce
- Expected vs actual behavior
- Sample model file (if possible)
Describe:
- The problem you're trying to solve
- Your proposed solution
- Alternative approaches considered
Some areas where contributions are welcome:
- New export formats: Support for additional output formats
- Additional 3D formats: Support for more input formats (.dae, etc.)
- Performance: Optimizations for large batch processing
- Documentation: Tutorials, examples, translations
- Testing: Test scripts, CI/CD integration
By contributing, you agree that your contributions will be licensed under the MIT License.