Blog

Blend4Web 15.03 Released

2015-03-31

It has already been a year since the first public release of Blend4Web! So, we are proud to announce the anniversary release of our open platform for developing 3D web applications. In this release you will find: annotations, object instancing, the application for demonstrating APIs and support for color animation in node materials.

Annotations

After receiving numerous requests from our users, we implemented a convenient tool for attaching annotations to 3D objects. The annotation is displayed near the object regardless of the camera position, and even follows it througout the animation.

Annotations can be created entirely in Blender. All you need is to place an Empty object in the required position and enable the Anchor property on it. The text for the annotations can be assigned in the Title field on the Tags panel.

Creating annotations in Blender.

If you need to change the standard design of an annotation (provided by the Annotation option) to any other custom HTML element, specify the Custom Element option. Aside from this, an automatically calculated position of the anchor can be obtained via API and used for any purposes imaginable (specify the Generic option to do this). For example, the Planetarium demo can be extended with an additional Canvas 2D element to display trajectories and movement parameters of space objects (we'll leave this as a homework for our most curious users).

The expanded annotation with additional info.

Clicking on an annotation will enlarge the window, which can display additional information with text from the Description field.

Also, we have implemented a way to detect cases when an opaque 3D object overlaps an anchor (Detect Visibility option). In these cases, the annotation becomes almost transparent and inactive.

The "M" annotation is overlapped and inactive.

Instancing

Blend4Web has introduced a new possibility for creating copies of objects at runtime. For this purpose, we developed corresponding APIs which can be used to make simple (with a shared mesh) or deep copies (the mesh is copied too). Also, a method for removing the copied objects was added.

More monkeys!

API Demo App

Various API usecases were collected in a single demo app which can be found in the SDK. It currently includes: the use of canvas and video textures, procedural camera animation, procedural annotations, modifying geometry at runtime, gyroscope, instancing and modifying materials. The source code of these examples is displayed in a separate window to simplify searching and copying.

API demo app: gyroscope.

Color Animation in Node Materials

Animation of Value nodes in node materials improved graphic effects to a new level. With this release, it becomes possible to animate color in RGB nodes as well.

Color Animation in Node Materials.

In addition, now there is the possibility to control values of Value and RGB nodes via APIs to make the procedural generation of amazing materials possible.

Other Improvements

For this release, a number of API modules have been revised: new control functions for the glow effect were added, camera-related functions were redesigned, methods declared deprecated have been removed.

The settings for the camera rotation and translation were brought to a universal system.

We started implementing a specific Blend4Web profile for Blender. When switching to this profile, the Blender interface changes so that it displays only those settings that are relevant to Blend4Web. At the moment, this functionality is still under experimental status and can be activated in the add-on settings.

Switching to Blend4Web mode.

In order to ensure that users can work with node materials in this profile, we prepared two patches for Blender, the second of which looks most promising. We invite our users to show support in favor of this functionality to be accepted by Blender developers.

In this release, we also took steps to correct errors and to make a number of minor improvements. The full list of fixes and improvements can be found in the release notes. This Blend4Web version is compatible with the newest Blender 2.74.

Feel free to leave comments regarding the new release here.

Comments
18 sep. 2024 07:44
Discover reliable drain inspection services in Auckland for thorough assessments of your plumbing. Our experienced professionals use cutting-edge technology to inspect and identify issues within your drainage system promptly. Ensure the health of your property with our efficient and affordable solutions. Trust us for top-notch drain inspections in Auckland.
18 sep. 2024 08:14
Boost your online presence with our leading Seo Marketing Company Auckland. We specialize in driving targeted traffic, enhancing visibility, and increasing rankings on search engines. Our expert team employs cutting-edge strategies to optimize your website, ensuring sustainable growth and maximum ROI. Elevate your business with our results-driven SEO solutions.
18 sep. 2024 12:59
Transform your energy with Harris Electrical & Solar, the leading Solar Panel Installers Hunter Valley, NSW. Specializing in high-quality solar installations, we offer expert solutions tailored to your needs. Our team is dedicated to providing reliable, efficient, and cost-effective solar power systems to enhance your home or business. Discover the benefits of clean energy with Harris Electrical & Solar today!
Please register or log in to leave a reply.