Write Zero lines of ThreeJS! Now compile your Blender scenes automatically into ThreeJS websites!
Built with 💖 by Preetham Pemmasani
threee.mp4
- In your default html file, put this code snippet
<script type="module" src="three.js"></script>
-
Paste this script in blender's
Scripting
and hit run -
The files (including the 3d models) would be saved in the same folder as the blend file.
-
Paste these files in your html folder and run the html file.
-
Voila! Your 3d scene will now be rendered in the browser.
- Fix the coordination system, rotation and position of meshes
- 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 selection by user
- Support for Volumetrics
-
The coordinate system is broken due to differences between ThreeJS and Blender.
-
Keyframes are not supported currently.
-
The script only works for blender 4.0 and above.
-
Fork the repository.
-
Clone the repository.
-
Create a new branch.
-
Make changes and commit them.
-
Push the changes to your fork.
-
Create a pull request.
-
Make sure to follow the code of conduct.