From BlenderWiki

Jump to: navigation, search
Blend4Web
Export Blender scenes to web pages
UI location File > Export > Blend4Web (.json/.html)
Version 17.08 Author(s) Blend4Web Team
Blender 2.78 License GPL 3


Executable information
File name __init__.py, exporter.py
External Python Modules or dependencies os, math, mathutils, shutil, struct, time, json, hashlib, array, collections.OrderedDict


Links https://www.blend4web.com/en/


Blender3D FreeTip.gif
Add-on vs SDK
Although the Blender add-on is included in the Blend4Web SDK distributions, it can be installed and used separately as well. This option suits users who need only HTML export or tools such as the normal editor. Please note that some SDK features (Scene Viewer, Project Manager, Fast Preview) along with source files of the examples and tutorials are not available.


Installation

Download the add-on. Run Blender, load the default scene File » New. Open the user preferences File » User Preferences.... Under the Add-ons tab click Install from File... and then select the zip archive with the add-on files. After that turn on the Import-Export: Blend4Web checkbox. Then click Save User Settings and close the user preferences window.


Use

The created scenes can be exported in HTML format. To do this use the Export » Blend4Web (.html) menu option and choose the export file path. The resulting HTML file can be opened with any browser with WebGL support.


System requirements

Blender add-on builds are available for the following platforms: Linux x32/64, OS X x64, Windows x32/64.


History

  • 2017-08: Leap Motion, logic editor nodes to work with time and procedural animation, new API methods to work with dynamically loaded scenes and asset packs separated from the SDK.
  • 2017-06: Augmented reality (AR), some of Blender's object-level transform constraints, Set Camera Limits logic node and environment lighting for Cycles.
  • 2017-04: HTC Vive controllers, new bloom, smoother LOD-switching, Cycles background nodes, upgraded Normal Editor, WebAssembly and gzip compression.
  • 2017-02: New features in the Project Manager, more additions to VR, new Cycles nodes/sockets supported, UI and API reworked.
  • 2016-12: Upgraded Project Manager, Cycles' Emission node, selecting objects in a VR headset and optimization for huge 3D scenes.
  • 2016-11: Support for Cycles, API for first-person controls, Petigor's Quest source files and the text editor in the Project Manager.
  • 2016-10: Pathfinding via navigation meshes, logic node for switching the camera movement style, Project Manager updates and optimizations.
  • 2016-09: Optimizations on the GPU side, support for Blender 2.78 features, new material library entries and various changes made for consistency with Blender.
  • 2016-08: Normal map node support, tangent shading, new features in the normal editor and performance improvements.
  • 2016-07: Geometry instancing, multi-touch, DOF with bokeh and improvements in audio including implementation of the Doppler effect.
  • 2016-06: LTS version, GearVR support, new materials in the library, render time profiler and shader nodes to work in world space.
  • 2016-05: GUI to setup HMDs and gamepads, API for replacing images, additions to the logic editor and new materials in the library.
  • 2016-04: Support for gamepads and game controllers, new features in the logic editor, reflection for transparent objects and new options for the particle system.
  • 2016-03: New logic nodes, material library started, Chinese i18n and various SDK improvements.
  • 2016-02: Four new shader nodes, project manager improvements, fully animatable environment settings and upgraded particle system.
  • 2016-01: Line rendering API, two new logic nodes, improved HMD support.
  • 2015-12: Experimental Oculus Rift support, shadows cast by multiple lights, UI alignment to the viewport and new logic nodes.
  • 2015-11: Initial support for WebGL 2.0, MSAA anti-aliasing, more logic editor capabilities and multiple usability improvements.
  • 2015-10: New features in the project manager, new logic nodes, improved anti-aliasing and support for textures of any size.
  • 2015-09: Project manager, bone control API, physics rigs and ragdolls and new logic nodes: Play Animation, Inherit Material, Apply Shape Key and others.
  • 2015-08: Node-based logic editor, Microsoft Edge support and new APIs for parent-relative transforming.
  • 2015-07: Soft particles, procedural transparency masks in node materials, accelerated scene loading.
  • 2015-06: The interface thoroughly revised, the new normal editor, support for all Blender's shading models and proper handling of Cycles nodes.
  • 2015-05: Glow effect, dynamic cube-mapped reflections, support for more NLA tools and extended possibilities of world textures, particle systems and the camera controls.
  • 2015-04: Shape keys, world background, Gamma node and using text files as annotations.
  • 2015-03: Annotations, instancing, API demo app and RGB node animation.
  • 2015-02: The development server, social sharing buttons, curves/surfaces/metaballs and spot shadows.
  • 2015-01: Blender text objects, 3D links, expanded mobile support and retina displays.
  • 2014-12: The Island demo sources, camera velocity settings and API for outlining objects under the cursor.
  • 2014-11: Canvas and video textures, camera panning and hovering.
  • 2014-10: Reworked web player design, improved shadows and SSAO and new visual logic editor functionality.
  • 2014-09: Visual logic editor (NLA Script), upgraded shadows system and node materials animation.
  • 2014-08: Improved animation, extended particle system API and implemented geometry procedural generation.
  • 2014-07: Dynamic loading, Lamp Data node and image-based lighting.
  • 2014-06: Better animation workflow, a new web player and iOS support.
  • 2014-05: The engine usage was simplified, its performance was improved.
  • 2014-04: Basic NLA support, the TIME node and SMAA anti-aliasing.
  • 2014-03: The first public release of Blend4Web after 3+ years of internal development.

Links and Support