repsac a00344f93b Restored original scene graph logic which does not try and preserve child/parent hierarchies 10 年之前
..
addons a00344f93b Restored original scene graph logic which does not try and preserve child/parent hierarchies 10 年之前
modules 46f47e581a First pass at adding support for configurable bone influences 10 年之前
tests 8e328ff4bb MeshBasicMaterials no longer get emissive and ambient values 10 年之前
.gitignore 348a3c3c53 Updated bl_info author, version, and blender metadata. 10 年之前
README.md 47bf6e6567 Updating path for 2.7 for OSX 10 年之前

README.md

Three.js Blender Export

Exports Three.js' ASCII JSON format.

IMPORTANT

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

Installation

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.

Windows

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

OSX

Depends on where blender.app is. Assuming you copied it to your Applications folder:

/Applications/blender.app/Contents/Resources/2.7X/scripts/addons

OR (for 2.6)

/Applications/blender.app/Contents/MacOS/2.6X/scripts/addons

Linux

By default, this should look like:

/home/USERNAME/.config/blender/2.6X/scripts/addons

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

/usr/lib/blender/scripts/addons

Usage

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.

Importer

Currently there is no import functionality available.