Three Blender

April 29, 2025 ยท View on GitHub

License GitHub release (latest by date) GitHub stars GitHub forks GitHub contributors Follow @ppmpreetham

alt text

Three Blender

Write Zero lines of ThreeJS! Now compile your Blender scenes automatically into ThreeJS websites!

Built with ๐Ÿ’– by Preetham Pemmasani

Demo

https://github.com/user-attachments/assets/5faaedb7-3adb-446c-af87-2b33b144c3e3

Alt

Installation

  • Download the three_blender_v0.1.py file from the releases section
  • Open Blender and navigate to Edit > Preferences > Add-ons > Install
  • Select the downloaded zip file
  • Enable the addon by checking the box next to Import-Export: Three.js Scene Exporter

Usage

  • Create and set up your scene in Blender
  • Navigate to Output Properties panel
  • Find the Three.js Export section
  • Enter a path where your HTML file should be saved
  • Click Export Scene button
  • Get the generated HTML file!

What's Next?

  • Respecting the Instances
  • Add support for HDRi (by converting it to cubemaps)
  • Support for more lights (Area light and Sun)
  • Support for keyframes
  • Apply modifier before exporting the model.
  • Draco GLB compression
  • Support for Volumetrics

Contributing

  1. Fork the repository.
  2. Clone the repository.
  3. Create a new branch.
  4. Make changes and commit them.
  5. Push the changes to your fork.
  6. Create a pull request.
  7. Make sure to follow the code of conduct.