Check the box next to “Import-Export: Three.js Format” to activate it.Then press the “Install from File…” button and navigate to the zip file you created and select it. In User Preferences, click on the “Add-ons” tab. ![]() Open Blender and go to File -> User Preferences.This will create a zip file in the same folder. Create a zip file of the “io_three” folder by right-clicking the folder and compressing the file. In the ThreeJS folder you just downloaded, open the utils/exporters/blender/addons folder.Or, you can simply download the zip file. I recommend you use the Git UI tool SourceTree if you’re not familiar with Git. I prefer to clone this Git repo and perform a “git pull” to get the latest and greatest code. Download ThreeJS to get the JavaScript files, exporters and other useful files.You can follow the instructions at the Three JS Github page to install the exporter for Blender but I found a slightly better way: Follow the steps below or jump down to the end of the post for the code or download the project. Have a 3D model you want to include in your WebGL project using ThreeJS? Using Blender (a free and Open Source 3D software application), you can export that model into a WebGL compatible JSON file and load it into your 3D scene using Three.js.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |