Blog

Blend4Web 16.11 Released

2016-11-30

We are glad to present a new release of Blend4Web, a complete open source solution for creating interactive 3D web experiences. The most prominent features of this release are: support for material nodes of the Cycles non-real-time renderer, new API module for facilitating first-person controls, the upgraded Petigor's Quest with source files and the text editor introduced in the Project Manager.

Embracing Cycles

Cycles, a high-quality path-tracing renderer available in Blender, is widely used by Blender artists for creating still images and videos. Materials for Cycles are constructed using a separate set of nodes, which are very different from GLSL nodes used to make real-time materials for the Blender viewport and Blend4Web. Nevertheless, taking into account the huge amount of already existing Cycles content and persistent requests from the community wishing to share their models on the Web, we have decided to initiate work on supporting Cycles materials in Blend4Web.

Comparing output of Cycles and Blend4Web #1.

Due to inevitable performance constraints inherent to real-time renderers, it is only possible to implement approximate algorithms to mimic Cycles materials in WebGL. We started with the most vital and widely employed nodes, such as Material Output, BSDF Diffuse, BSDF Glossy and others, checking real models uploaded by the Blender community to BlendSwap (a popular collection of free .blend files, thanks Albin and gregzaal for the models). For convenience, the Fast Preview button has been added to the Cycles render profile so that you can export your models without the need to switch to Blend4Web.

Comparing output of Cycles and Blend4Web #2.

The exclusive list of supported nodes, sockets and options made available for this release can be seen here. We welcome you feedback and suggestions regarding further development of this exciting feature!

Petigor's Quest

Today we are releasing what can be called a continuation of Petigor's adventures - a little browser point-and-click game first introduced a month ago at Blender Conference 2016 held in Amsterdam. Since then we have added some new possibilities for the character, improved the story line and supplemented the game with audio and more FX.

For those who are inexperienced in cracking puzzles, there is a help button with a question mark on it...

The rules are somewhat simple: try to escape the troll's prison with the help of the items available, without getting caught!

That is a really big guy... Good he's sleeping.

Contrary to its prequel, this quest has been authored with almost no programmer efforts: here lies the power of the logic editor. You are welcome to study the source files which are present in both CE and PRO Blend4Web SDK distributions. Join the quest now!

First Person Controls

Good news for developers of applications with first person view - games and beyond. We have introduced the module called fps.js which makes creating such controls much easier. Furthermore, by using this module you can ensure consistent user experience across desktop and mobile platforms, including support for gamepads, touchscreens and even VR devices.

Creating shooters made easier.

Check out the new controls in the reworked Jungle Outpost aka Kick the Bucket, to which a rifle has been added as a bonus (thanks zehmx for the model!).

Project Manager

You can now conveniently edit source files of your apps (HTML, CSS, JavaScript and project configs) with the embedded text editor right in the PM. Although this editor is minimalistic, it is web-friendly, supports line numbering and syntax highlighting and correctly works with Unicode on different systems such as Windows. It is well suited to quickly edit your projects without the need to search through the SDK hierarchy, even remotely.

Editing text files in the PM.

Other Features

The pathfinding algorithm introduced in the previous release, has been upgraded to support volumetric navigation meshes. Also, navmeshes are now prepared faster which results in faster loading.

Important usability improvement: you no longer need to explicitly specify the path to the SDK folder, as it is now determined automatically through the installation procedure.

The API method for creating screenshots has been made more robust so that it can now generate images of any size (particularly, overcoming the 2MB restriction of Chromium-based browsers). The issue has been discovered thanks to the winner of the Retro Car contest whose amazing work included this functionality.

Screenshot button in the Impala contest entry.

The list of steps, required to make both the procedural sky and dynamic water work, is now shorter. The procedural sky will be displayed even if there is no light source of Sun type in your scene, while the water waves will appear even if your forgot to add the wind source.

In Closing

As usual, you can find the source files of the examples presented in this article inside the SDK. For the complete list of changes and bugfixes see the release notes. In case you missed the latest, take a moment and check out the most recent posts in our blog for new tutorials, results of the Retro Car contest and the newest featured Blend4Web-powered projects.

Comments
25 jun. 2024 21:24
While Cycles materials differ significantly from real-time GLSL nodes used in Blend4Web, the decision to support Cycles materials reflects Blender’s commitment to community feedback and the desire to expand web-based content options. This development is particularly significant for creators looking to showcase their work seamlessly across platforms. For those interested in enhancing their living spaces, exploring AC and Furnace Concealment Strategies can blend functionality with aesthetic appeal, ensuring HVAC systems harmonize with interior design.
26 oct. 2024 12:38
Optimized design, minimal details but Merge Fruit the efficiency is very high.
30 oct. 2024 05:12
网课代修平台的服务不仅帮助学生缓解了学业压力,还提升了他们的生活质量。留学生在摆脱时间压力后,可以更合理地安排时间去参加社交活动、体验当地文化、发展个人兴趣爱好等,这些活动对他们的心理健康和学习表现都有积极的影响。因此,Top论文网不仅帮助学生通过网课代修 http://www.meeloun.com/ 在学术上取得进步,也在生活上带来了积极的影响,帮助他们更好地适应海外生活。
01 nov. 2024 15:01
Wow!
01 nov. 2024 15:01
Wow!
Please register or log in to leave a reply.