Blender is a magnificent free open-source 3D modelling software. Latest Blender version already includes an X3D exporter, so you can export your content and open it with our engine tools like view3dscene. We publish here some improvements / fixes / documentation for Blender's X3D exporter.
blender25_x3d/export_x3d.py: Download the actual exporter.
Copy it over (overwrite) the original Blender exporter,
which is in
Note: as of Blender 2.68, our custom exporter doesn't serve much
purpose. All the past bugfixes have been applied to the
Blender standard X3D exporter. The only feature our exporter script
has over the standard exporter is the magic treatment of images named
xxx_normalmap, and we don't really advice using this
(better use material_properties.xml).
blender25_x3d/x3d_blender_exporter_notes.txt: Detailed notes how the exporter (both original distributed in Blender and modified by me) works, how you should setup your model. At the end, contains notes about our modifications.
Blender people: feel welcome to take my fixes / changes, and apply them to Blender sources. Michalis will try to report them when he has time. Also feel free to take my notes, and use/convert them for documentation anywhere on Blender site, wiki etc. Permission to use my notes on any license required for official Blender wiki / docs contents is granted.
Export Blender animation to KAnim (Castle Game Engine animations) format:
blender25_x3d/export_kanim.py: Download the KAnim exporter.
Install it like every other Blender addon:
(Please note that I don't use exporters below anymore, they probably will not work with Blender 2.5x or newer, and I probably will not update them. X3D is the future, and X3D exporter above should be your preferred option. We also hope one day to see animation export to X3D, and then our "KAnim hack" will no longer be useful.)
Customized version of
(distributed with newer Blender versions, originally from
Various customizations to improve exporting VRML 2.0 (aka 97) models:
creaseAngle exporting (from Blender's set smooth/set solid/auto smooth/degr
controls), full texture filename (including possibly relative path prefix)
is written, corrected twoside detection,
Background is proper VRML, also the model is not
rotated to change +Z axis to +Y.
Search for "Kambi" string inside files to know more.
The essential exporter class is inside
kambi_vrml97_export_base.py, to be shared by
May not work with Blender < 2.44.
TODO: some fixes here should be submitted and hopefully merged into VRML 2.0 exporter included with Blender.
Some details important for anyone who exports VRML 2.0 from Blender,
using original or our script versions. Also explains some
reasoning behind changes in
as compared to original exporter.
Exporter to kanim (Castle Game Engine animations) format. Thanks to Grzegorz Hermanowicz for starting this !
You can grab all this stuff from SVN:
svn checkout http://svn.code.sf.net/p/castle-engine/code/trunk/blender