Skip to content

Blender addon that converts your scenes to Three.js code.

License

Notifications You must be signed in to change notification settings

ppmpreetham/three-blender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Three Blender

alt text

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

Built with 💖 by Preetham Pemmasani

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 Instructions

  • 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?

  • 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.