Blog

Blend4Web 15.05 Released

2015-05-26

We are glad to present a new release of Blend4Web - an open source software framework for creating interactive 3D web applications. In this release you'll find the glow effect, dynamic cube-mapped reflections, support for more NLA tools and extended possibilities of world textures, particle systems and the camera controls.

Glow Effect

After many months of trial and error and looking for the most optimal solution, we are finally ready to reveal this awesome feature to you. Halo around luminous objects (which appears due to light scattering in the atmosphere and inside the human eye) is a well known effect used both in cinema and in the game industry. From now on, you too can create such beautiful surfaces in Blend4Web.

To make material glow, you simply go to the node editor and add a B4W_GLOW_OUTPUT node group. As with the standard Blender's Output node, it is not necessary to connect this node to anything.

Adding a B4W_GLOW_OUTPUT node. The simplest glowing material possible.

While the Glow Color setting is self-explanatory, what offers an artist the most possibilities is the Factor input, to which a texture and/or procedural mask can be passed, including animated ones.

The width and the intensity of the halo can be tweaked with the help of the corresponding settings under the World tab - separately for the nearest (Small Glow Mask) and the farthest (Large Glow Mask) blurred areas.

Glow settings.

Render Glow Materials Over Blend provides the user with control over overlapping halos and transparent surfaces.

Dynamic Cube-Mapped Reflections

Up until now Blend4Web supported only dynamic planar reflections, but from today on, our users can create objects with their surface reflecting everything surrounding them.

Dynamic Cube-Mapped Reflections.

As for planar reflections, it is now possible to rotate and move the reflection plane, so now you can manipulate mirrors in run-time. Both of these new options are demonstrated in a small yet impressive demo. You may also want to check out the user manual for reflection setup.

Non-Linear Animation

It is now much more enjoyable to work with animation because we have supported Blender's NLA playback settings: Muted and Reversed, and also such settings as Scale and Repeat.

NLA editor. For the selected strip, Scale is used for accelerating the animation and Repeat to repeat it several times. Two other objects play back their animation in reverse with the help of the Reversed option. Bolt and nuts were created in the Bolt Factory add-on.

This functionality is also supported in the NLA Script - our visual logic editor.

Also, to provide controls over non-linear animation via API we have created a new module nla.js. This module includes methods such as play(), stop(), get_frame() and set_frame() which allow the user to play back and to stop the non-linear animation, as well as to get and to set the current frame. The new methods were engaged in the Viewer application for implementing the NLA controls interface.

World Texture Settings

We continued developing functionality for setting up the background - its color can now be combined with a texture.

The result of mixing of a world texture with the background color.

World texture setting in Blender.

We have added support for parameters of the Influence panel which are used for setting up the world texture. Particularly, Blend, Horizon, Zenith Up, Zenith Down, mixing types, RGB to Intensity, Negative and DVar are all supported. You can see these new features in action if you run this example.

Camera Control Mode API

Currently Blend4Web supports four typical camera control modes - Target (rotating around a pivot), Eye (a first-person view), Hover (gliding over a surface) and Static (non-interactive). The camera control mode is assigned in Blender, and starting today it can be changed during run-time. The Code Snippets have obtained a new example of this.

An example of using the API for switching the camera control modes.

Possible usage examples include: temporary blocking of unwanted camera movements in an app; switching from the observe mode to the active camera control mode as a character or from a car.

Other Improvements

Now, connecting sockets of different types in node materials is allowed. For example, Value and Color - in such cases Blend4Web behaves the same way as Blender. Before, such materials were not supported and were rendered in magenta as erroneous.

A simple example of implicit type conversion.

We have implemented support of the Margin property for physics objects and materials. This property improves simulation stability of colliding objects. The Oscar-winning physics engine, Bullet, has been updated to version 2.83.

Margin property under the object physics and material tabs.

The options from the Rotation panel are now supported for Hair particle systems. As a result, the particles positioned in Blender are completely reproduced in Blend4Web. Specifically, not only particle location and scale are supported but rotation as well.

A Hair particle system used for instancing objects and object groups.

Rotation settings for a Hair particle system.

The SDK now includes a pack of post-processing demos such as bloom, depth of field, god rays, motion blur and screen-space ambient occlusion.

Post-processing demos: bloom, god rays, SSAO and DOF.

A new option has been added to the add-on settings. This option turns on automatic start of a local development server upon opening Blender. If you don't want to run the server automatically, you can still do it manually with the button under the Render tab.

Blend4Web add-on settings.

This Blend4Web release is compatible with Blender 2.74. For the complete list of changes and bug fixes please refer to the release notes. Source blend files for all demos presented on this page are included in the Blend4Web SDK distribution. Feel free to leave your comments in this topic on our forums.

Comments
24 oct. 2015 00:01
Ответ на сообщение пользователя philippo
Hi there,

I can confirm the memory leak on linux, firefox 41.0.1.
Pity, otherwise blend4web is a dream come true, awesome project. But the memory issue is a showstopper for right now…

Anyways, keep up the good work!
Hello,
Could you please provide us further info on this problem? Which demo causes memory issues? Which Blend4Web version do you use? And what kind of tools do you use to detect this leakage?
24 nov. 2015 20:37
Sorry for getting back so late
To answer your questions:

(1) I have the leak on this very page [ https://www.blend4web.com/en/article/128 ]
(2) I just use gnome system monitor and see firefox mem usage go up considerably [just left this page open and it rose from 0.2 to 1.2 GB in about 10 min with just this one tab open]

also: memleak still present in firefox 42.0
24 nov. 2015 20:46
also happens with the announcment page of 15.10 btw. [https://www.blend4web.com/en/article/159/]
25 nov. 2015 17:41
Hey philippo,

I can confirm Firefox memory leaks on specific pages of this website. We'll investigate this issue. Thanks for you feedback!
22 mar. 2024 12:29
It is important to get really professional services, for example, I needed support when writing an engineering dissertation. I turned to resource https://www.thesiswritingservice.com/ specialists. In addition to general dissertation writing services, this resource also offers data processing and statistical analysis work, which is crucial in my research, the experts have shown a high level of proficiency in this field, ensuring the accuracy and reliability of the research results.
06 may. 2024 14:32
Indeed, very often, choosing a reliable platform for academic writing is often fraught with difficulties, especially when the outcome critically affects academic success. While looking for someone to write my paper for me, I came across this service that excelled in speed and quality of service, thus easing my academic workload. The special advantages of the site are the deep experience of their authors, dedication to the implementation of complex specifications and the guarantee of providing content without plagiarism.
13 may. 2024 12:51
Achetez un permis de conduire ( https://myglobaldocument.com/cz/ ). Nové podmínky pro registraci dokumentů a kvalitu a návrhy řešení pro řešení sporů v soudcovském systému v základním systému žen.
Pasy Achetez de vrais https://myglobaldocument.com/cz/product-category/buy-passport
Acheter un passeport belge en ligne https://realdocumentz.com/despre-noi/
Please register or log in to leave a reply.