Pull request Compare This branch is 590 commits behind dev.
Latest commit c878e57 Jan 17, 2017 Erman Geliboluoğlu Loader.js loadTexture method looks for 'repeat' or 'mirror' strings b…
…ut Blender JSON exporter write them as 'RepeatWrapping' and 'MirrorerRepeatWrapping'.

Loader code:
     if ( wrap[ 0 ] === 'repeat' ) texture.wrapS = RepeatWrapping;
     if ( wrap[ 0 ] === 'mirror' ) texture.wrapS = MirroredRepeatWrapping;

     if ( wrap[ 1 ] === 'repeat' ) texture.wrapT = RepeatWrapping;
     if ( wrap[ 1 ] === 'mirror' ) texture.wrapT = MirroredRepeatWrapping;

Current blender json export output:
     "mapDiffuseWrap":["RepeatWrapping","RepeatWrapping"], //loaded texture use ClampToEdgeWrapping

After fix:
     "mapDiffuseWrap":["repeat","repeat"], //loaded texture use RepeatWrapping


Three.js Blender Export

Exports Three.js' ASCII JSON format.


The exporter (r69 and earlier) has been completely replaced. Please ensure you have removed the io_three_mesh addon from your Blender addons directory before installing the current addon (io_three).


Recommended Blender version >= 2.73.0

Copy the io_three folder to the scripts/addons folder. If it doesn't exist, create it. The full path is OS-dependent (see below).

Once that is done, you need to activate the plugin. Open Blender preferences, look for Addons, search for three, enable the checkbox next to the Import-Export: Three.js Format entry.

Goto Usage.


Should look like this:

C:\Program Files\Blender Foundation\Blender\2.7X\scripts\addons

OR (for 2.6)

C:\Users\USERNAME\AppData\Roaming\Blender Foundation\Blender\2.6X\scripts\addons


In your user's library for user installed Blender addons:

/Users/(myuser)/Library/Application Support/Blender/2.7X/scripts/addons


By default, this should look like:


For Ubuntu users who installed Blender 2.68 via apt-get, this is the location:



Activate the Import-Export addon under "User Preferences" > "Addons" and then use the regular Export menu within Blender, select Three.js (json).

Enabling msgpack

To enable msgpack compression copy the msgpack to scripts/modules.


Currently there is no import functionality available.