Blog

Blend4Web 16.04 Released

2016-04-28

We are glad to present a new version of Blend4Web, the platform for creating interactive 3D Web content. In this release you'll find preliminary support for gamepads and game controllers, new features in the logic editor, reflection for transparent objects and new options for the particle system.

Blend4Web Conference

There are just a few days left until the first Blend4Web conference. We have prepared a bunch of exclusive features, showcases and demos, which you'll see for the very first time at the conference on May 1 in Moscow. We will be providing live coverage of this event on the conference page where you will be able to ask the presenters your questions via chat.

Gamepads and Game Controllers

In this release we started working on new features based on the Gamepad API specification. A new Gamepad device has been added to the input module along with two sensors, Gamepad Buttons and Gamepad Axes, which have been added to the controls module.

For more details on this feature see the "VR and Web API with Blend4Web" presentation scheduled for the Blend4Web Conference.

Logic Editor

We continue improving the node-based Logic Editor. For cases when the logic editor is not suitable for a specific task, we have added the possibility for a logic tree and JavaScript code to interact with each other.

An entry point of a node tree can be triggered by calling the new run_entrypoint() method:

var m_logic_nodes = b4w.require("logic_nodes");
m_logic_nodes.run_entrypoint("MyScene", "MyEntryPoint");

Entry Point node with Run From Script option enabled. The name for this node in set in its properties.

The Entry Point must have a Run From Script option enabled.

We have also added the new JS Callback node, which executes a callback function predefined in your app. It allows to pass any parameters in either direction. This function can be registered by the append_custom_callback() API method provided by a new module called logic_nodes.

m_logic_nodes.append_custom_callback("my_function", function() {
    alert("Hello World!");
});

Clicking the cube executes the callback registered as "my_function".

Reflection of Transparent Objects

Before this release only opaque objects could be reflected. Now, the reflection of transparent objects is also supported.

Empty plastic milk bottle. On the left: transparent parts are not reflected, on the right: the model is correctly rendered.

Particle System

Blender's native options Tilt: Angle and Tilt: Random are now supported for Emitter particle systems. These options allow the user to specify angular offset for emitted billboards, which, in turn, greatly improves visual quality of effects based on particle systems.

Particle system tilt parameters.

To find out more about these options, see the "Think outside the box: Visual Effects" workshop at the Blend4Web Conference.

Other Improvements

Math modules vec3, vec4, quat, mat3 and mat4 are now based on glMatrix v2.3.1. This version also adds support for the following methods: hermite, bezier, sqlerp, fromRotationTranslationScale and fromRotationTranslationScaleOrigin.

A new option, Bake Only Deform Bones, has been added to the Skeletal Animation Baker. Previously, it was not possible to bake non-deform bones. This feature can be helpful in cases when some object is parented to such a bone.

The new GL Debug switch in the Viewer app has been introduced to disable WebGL error checking. This increases the performance and can be useful in scene profiling.

A new method has been added to the controls module: create_hmd_position_sensor(). This function allows application programmers to create a sensor to track the position of an HMD device.

The new prevent_caching engine configuration option was added to enable/disable caching of assets.

The new apply_force_world() method has been added to the physics module. This method can be used to apply a constant force to an object in the world space.

In Closing

This Blend4Web release is compatible with Blender 2.77 and 2.76. As usual, all source files of the examples mentioned in this article are included in the free Blend4Web SDK. The full list of changes and bug fixes can be seen in the release notes.

Comments
03 apr. 2023 13:35
Thanks for this post <a href="https://www.google.com/">Google</a>
07 apr. 2023 21:03
You said this effectively!
<a href=https://bestpaperwritingservice.com/>finished custom writing paper</a> research paper writing service nurses <a href=https://bestonlinepaperwritingservices.com/>best paper writing service</a> pay to write papers
07 apr. 2023 22:56
Kudos. Numerous advice.
personal essay writing service https://domycollegehomeworkforme.com essay writing services scams https://essayssolution.com
08 apr. 2023 16:13
Nicely put, Thank you!
<a href="https://researchproposalforphd.com/">research paper writing service uk</a> writing successful science proposals <a href="https://writingresearchtermpaperservice.com/">proposal sections</a> term paper proposal
11 apr. 2023 13:14
Helpful data. Thank you.
same day essay writer <a href="https://eseomail.com/">essay writter</a> is there a website that writes essays for you
11 apr. 2023 23:44
Fantastic knowledge. Many thanks!
write my college entrance essay <a href="https://gseomail.com/">can someone write my essay for me</a> write my dissertation for me uk
13 apr. 2023 02:15
Very good material. With thanks!
write my extended essay for me <a href="https://eseomail.com/">do an essay for me</a> write a research paper for me
13 apr. 2023 12:31
Fantastic stuff. Thanks!
best new online casino <a href=https://bestonlinecasinoreal.us/>casino online free spins</a> four winds online casino no deposit bonus codes
13 apr. 2023 14:44
Good facts, Cheers.
uk essay writers <a href="https://gseomail.com/">essay writer for cheap</a> write essay for me
04 aug. 2023 14:37
Nicely put, Kudos.
professional essay writers <a href=https://essayservicehelp.com/>best essay writing service australia</a> essay on service
Please register or log in to leave a reply.