Blender Exporter for Google O3D

Using our export script you can create a HTML and JavaScript file which tries to show your Blender scene in a browser using Google O3D Plugin.

The more professional way is exporting Blender with Collada export and convert it to a Google API JSON import file.

But our way is funnier. ;-)

How To Start

  • You need Blender 2.49a or newer (download here) and Python 2.6.x (download here)
  • Copy our export script (download here) into the Blender script directory - normally C:\Programme\Blender Foundation\Blender\.blender\scripts\ or user application directory. It depends how you installed Blender.
  • A new menu item will appear in Blender: "File" -> "Export" -> "M3G (.m3g, java,j js, o3dtgz)
  • Our script tries to export the current Blender scene into HTML and JacaScript file.

This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

Latest Script Version

Version 0.91 (incl. O3D 0.1) - Download here

Dialog and Options

Texturing Enabled Switches on/off export of textures and texture coordinates.
Attention: The Blender TextFace have to be switched for every
Texturing External The textures will be included in M3G file or exported in separate file
Lighting Enabled Turns on/off export of lights and normal
Attention: You can turn of lighting for one mesh with Blender Shadeless button
Ambiente Light An extra light object will be created to simulate ambiente light
Autoscaling Export tries  to use as much precision as possible
Otherwise: the the vertex coordinates are used as they are
Persp. Correction Turns on/off perspective correction in PolygonMode
Smooth Shading Turns on/off smooth shading in PolygonMode
All Armature Actions If an armature has more then one action, the script will tryto export all actions
As Java Source Generates Java source code: One Java class, which builds a 3D scene graph
M3G Version 2.0 Exports features, which are part of M3G Version 2.0
Game Physics Currently not implemented
O3D As JS Generates Html and JavaScript source code, which shows the current scene with Google O3D API in a browser
O3D As O3DTGZ Currently not implemented
Ok Generates a binary file conform with JSR-184  (extension *.m3g). Can be loaded with M3G Loader class.


Blender class mesh, camera, lamp  Blender class mesh, camera, lamp 
Cube.blend Gus.blend 
Show Cube in browser Show Gus in browser
Blender class mesh, ipo animation, only linear   
Show move in browser
Show rotate in browser

Version History


  • Simple meshes
  • simple materials
  • One light and one camera


None until now