Blog

Blend4Web Release 17.12

2017-12-29

The year 2017 is coming to an end, so it is time to present the final release of this year. It brings several important new features, major inner refactorings and fixes for a number of issues. First of all, Blend4Web now supports Principled BSDF node that basically brings PBR materials to everyone. Next, we have overhauled engine's internals to meet ECMAScript 6 standard and made Blend4Web available through NPM (Node.js Package Manager). We’ve also improved support for Cycles nodes, physics engine and Fast Preview mode.

PBR

We’ve been enhancing Blend4Web with tools for fast and convenient creation of photoreal graphics for quite a while now. We have been gradually adding support for Cycles nodes as well as and additional Blender Internal material nodes, implementing new visual effects and other things. Now, we present the support for the classical Physical-Based Rendering (PBR) pipeline to the Blend4Web. As we promised in the previous release, we made the Principled BSDF node available for everyone since 17.12!

Santa Claus in PBR (click to open the scene in a new window)

To mark the arrival of a new year, we’ve prepared a little demonstration of Blend4Web capabilities to render PBR materials. You can see it right now.

Now, you have a great opportunity to put to use an enormous amounts of the existing PBR materials and to make your 3D models look even more lifelike! As of now, the engine supports basic parameters of the classic metal-roughness model: the Base Color, Metallic, Roughness and Normal inputs are fully-functional and ready for action. In the next release, we plan to introduce refraction, anisotropy and other effects available in the Principled BSDF node.

Ambient Occlusion and Normal Map support can be implemented using standard Cycles methods. Today, Blend4Web is already capable of handling photo-real materials such as metals and wood surfaces, plastics, textile, leather and even landscapes. Scene parameters as well as rendering, postprocessing and logic settings are, as usual, available in the Blend4Web mode, while material pipeline now uses Cycles tools.

Javascript ES6

For a long time our users of complained that using engine with modern JavaScript frameworks is somewhat difficult and cumbersome, it is inconvenient to integrate it with bundling and application building tools like webpack, rollup and it’s hard to use in complex web applications. In this release we deliver the completely refactored codebase that is fully compliant with the ECMAScript 6 standard!

All Blend4Web modules have been adapted to the ES6 standard and behave like a regular ES6 modules. As a result, you now can access module APIs using standard JavaScript constructions:

import b4w from "blend4web";
var m_app       = b4w.app;
var m_cfg       = b4w.config;
var m_data      = b4w.data;
var m_preloader = b4w.preloader;
var m_ver       = b4w.version;
var m_anim      = b4w.animation;
var m_cont      = b4w.container;
var m_mouse     = b4w.mouse;
var m_scenes    = b4w.scenes;
...

What’s more, in this release we bring support for the webpack so you can assemble your applications in a more traditional manner. As always, you can build your applications using Blend4Web Project Manager, so now everyone can choose tools better meeting their requirements.

Thanks to the transition to a new architecture, now:

  • Redundant code and unused engine modules are eliminated more effectively. We saw quite tangible reduction of the resulting size (200KB+) of the application.
  • Blend4Web now follows standard module format, well suited for use in modern frameworks such as React, Vue.js, AngularJs, Polymer and others.
  • The application code becomes more transparent, convenient to use in Integrated Development Environments that are aware of static types, static modules, capable of type inferring for functions and variables.

The current Blend4Web users were certainly not forgotten. You can still continue to use the engine in applications based on JavaScript ES5 standard. We deliver the prebuilt engine in the form of standard files b4w.min.js, b4w.simple.js, b4w.js, so your existing applications will continue to work without any changes. To ease transition to the ES6, we have refactored all demo applications and the web player to meet ES6 standards.

NPM Support

Starting with this release, Blend4Web is available through the Node Package Manager! In order to start developing applications, you no longer have to download the entire CE or PRO distribution and can just run the classic command

npm install blend4web

In a few seconds, you can harness all the functions of the Blend4Web! The installed package is bundled with our Blender add-on so you can set up the complete working environment in a matter of couple of minutes.

Users that find it more comfortable to use regular Blend4Web CE or Blend4Web PRO distributions from our website, can also try new functionality and use NPM pipeline in their projects. To do that we included a copy of the node.js environment in our distributions so you don’t have to install it yourself. To use that environment we supplied utility scripts one can find in the ‘scripts’ directory. Those are node.sh and npm.sh scripts, whereas first one is used to launch node.js itself and the latter one - NPM.

License terms of distribution of the engine through NPM are no different from the regular Blend4Web ones. You can use our package according the terms of the GPL 3.0 license. In the case this license model does not suit your project (for example, the obligation to disclose the source code of the application) you must purchase a commercial license for the Blend4Web PRO SDK.

Other Improvements

Starting with this release, the Blender add-on does not require a full copy of the SDK in order for the Fast Preview function to work. All the necessary modules are included in the add-on itself.

Next, in this release we improved the Transparent BSDF node. We’ve added an additional option "Use Alpha" to this node. By enabling this option it’s possible to correctly simulate the look of the traditional Blend4Web transparent materials that use “Alpha sort” blending mode. So now it’s easy to achieve an effect like this:

Also, we’ve listened to numerous requests of 3D designers and added support for the Attribute node that allows to directly control the vertex colors. The behavior of "Color" output of this node is similar to the behavior of the output "Vertex Color" of the “Geometry” node of the Blender Internal renderer.

And last but not least, now the physical engine is able to correctly control collision bounding for the meshes after shapekey changes..

For the complete list of changes please refer to the Release Notes.

In Conclusion

This release, as always, includes many bug fixes to the reported issues. We have conducted a thorough testing of new features and tried to make Blend4Web as stable as possible. We are eager to listen feedback from all members of our community and PRO-users. All the comments and suggestions on engine improvements, features, stability etc are welcome. As always, we will be happy to receive your feedback in the comments to this article and on our forum!

We have prepared many surprises for the beginning of next year. Soon we will:

  • launch a completely rethought and rewritten Project Manager that will bring a whole new experience and easy the Blend4Web usage. Automated installer, modular structure, building pipeline are just some of the features to come!
  • launch our own hosting platform everyone can use to publish your 3D models, scenes or entire applications for free! CDN-backed it will free you from the headaches of setting up your own web server and dealing with hosting providers.
  • launch new products based on Blend4Web technologies. One of the first products, Configurator, will bring the complete framework for creating 3D configurators of any complexity. Moreover, Configurator will bring reusable asset libraries that can be shared between different projects and speedup the application development even more.

Once again, Merry Christmas and Happy New Year to everyone! Stay tuned!

Comments
23 sep. 2024 12:08
It would be great to hear how the community has responded to these changes so far. User feedback is always crucial for refining tools and ensuring they meet the needs of creators!
23 sep. 2024 12:12
One of the most useful hacks in Photoshop is the ability to remove unwanted people from photos while keeping the essential elements intact. This is especially helpful when you want to create a more harmonious or professional look. I found a fantastic guide on Skylum that explains how to edit people out of photos. Using these tips, I was able to effortlessly eliminate unnecessary details, and the photo turned out perfectly. This has significantly streamlined my Photoshop workflow and saved me time. I highly recommend this resource to anyone looking to enhance their editing skills.
24 sep. 2024 15:17
It is very important to have access to quality academic materials during your studies, especially when you need to complete complex assignments. Once, when I needed to prepare a systematic literature review, I turned to literaturereviewwritingservice.com. Their systematic review writing services helped me not only to collect the necessary sources, but also to structure the information into a clear and logical review. In addition, I received valuable recommendations for improving the work and checking for uniqueness.
04 oct. 2024 12:26
The final release of 2017 for Blend4Web is impressive, especially with the introduction of the Principled BSDF node for PBR materials. This enhances photorealistic graphics significantly. On another note, if you're seeking thrilling winter adventures, don’t miss out on Snow Rider for some exciting snowboarding fun!
21 nov. 2024 19:11
The way you break down each point and connect everything together is really impressive. I also appreciate how you don’t just throw avatar world information at the reader—you explain everything in a way that’s easy to digest.
04 dec. 2024 09:21
As 2017 wraps up, Blend4Web's final release introduces crucial features like the Principled BSDF node for PBR materials, enhancing photorealistic graphics. The engine's internals have been updated to ECMAScript 6 standards and are now available via NPM. With improved support for Cycles nodes and a revamped physics engine, users can expect a smoother experience. Speaking of smoothness, try the Slope Game for a fun challenge!
04 dec. 2024 11:10
Tìm hiểu các quy định quay số trúng thưởng xổ số ba miền

Dưới đây là tổng hợp các thông tin thời gian địa điểm quy định trúng thưởng xổ số ba miền cơ bản. Cập nhật kết quả xổ số hôm nay, hàng tuần nhanh nhất

Thời gian mở thưởng cách chơi XS 3 miền hiện nay

Xổ số kiến thiết là một loại hình trò chơi quay số trúng thưởng có lịch sử ra đời từ những năm 1962 với tiền thân và công ty xổ số thủ đô.

Cho đến năm 1979 quy mô của xổ số kiến thiết mở rộng trên phạm vi toàn quốc. KQXSKT phân chia thành ba miền Bắc, Trung và Nam với các quy định về cơ cấu giá trị giải thưởng thời gian quay số và các đài khác nhau.

- Xổ số miền Bắc: Hiện nay, trò chơi có quy định về thời gian và thường bắt đầu từ 18:15 đến 18:45 hàng ngày là phát đại sẽ tiến hành quay được thưởng tại một điểm quay duy nhất.

Nếu muốn theo dõi kết quả xổ số cho truyền hình người chơi mỗi ngày sẽ cập nhật trên kênh On Sports+ của VTVcab của Đài truyền hình Việt Nam vào khung giờ mở thưởng.

Bí quyết chơi xổ số: Xổ số 3 miền



Những điều cần biết xổ số hôm nay

- Xổ số miền Trung mỗi ngày quay thưởng 2 đến 3 đài vào lúc 17:10 đến 17:40 phút. Chương trình quay số trúng thưởng hiện nay được áp dụng theo hình thức độc lập từ phát hành vé số, quay thưởng và trả thưởng giữa các đài.

Tuy nhiên, cơ cấu và giá trị giải thưởng sẽ áp dụng thống nhất với cách thức quay số 18 lần phân chia cho 11 hàng giải. Trong đó giá trị giải thưởng xổ số là từ 100.000 đồng đến 2 tỷ đồng mỗi giải trúng.

- Xổ số miền Nam quay thưởng với tần suất ba lần bốn lần mỗi ngày và lúc 16:10 đến 16 giờ 40 phút. Đối với cách thức quay số, cơ cấu, giá trị giải thưởng sẽ tương tự  như các đài miền Trung.

Theo thống kê, số lượng xổ số miền Nam hiện nay đang chiếm ưu thế trên thị trường không chỉ về các bài mà lượng phát hành vé số doanh thu lợi nhuận cũng dẫn đầu.

Hướng dẫn cách chơi xổ số hiệu quả: Xổ số Ba miền



Trò chơi xổ số, những cơ hội trúng thưởng lớn mỗi ngày

Những điều cần biết về xổ số ba miền

Các hoạt động ngoại thường có xổ số ba miền đã được phân chia thành ba khung giờ khác nhau để thuận tiện cho việc quản lý.

Không những thế, trong cùng miền sẽ phân chia theo cơ chế đài chính và đài phụ. Trong đó đối với những công ty có số lượng vé tiêu thụ lớn có thể được phát hành vé 2 lần/tuần.

Ngoài ra, XSKT 3 miền Đối với các đoàn miền Nam và miền Trung do hoạt động theo cơ chế độc lập nên quay số tại điểm quay riêng của công ty. Truyền hình trực tiếp KQXS được phát sóng trên các kênh truyền hình phát thanh của tỉnh, thành phố mở thưởng trong ngày.

Đồng thời với nhiều người chơi việc phân chia tài chính để phụ có ý nghĩa trong lựa chọn mua vé của đài nào để tặng cơ hội. Những đài chính thường có lượng về bán hàng bán ra lớn. Chính vì vậy cơ hội trúng thưởng các giải đặc biệt sẽ cao hơn so với những đài phụ.

Trên đây là các quy định quay số trúng thưởng xổ số ba miền tư bản người chưa có thể tham khảo. Đồng thời đừng quên lựa chọn xem KQXS thông qua website Az24vn để có những trải nghiệm hiệu quả, đơn giản nhất.

Tìm hiểu thêm: Xổ số

Theo dõi ngay: Thông tin mở thưởng xổ số 3 miền - Xem KQXS trực tiếp

Cập nhật ngay: Nhận cầu đẹp xổ số 3 miền hàng tuần ở đâu bạn có biết
21 dec. 2024 06:17
The importance of prioritizing employee safety in the workplace cannot be overstated. It's great to see such awareness in discussions. I look forward to reading more on this topic, perhaps with examples that can even relate to distractions like the slope game. Thank you for your valuable insights!
30 dec. 2024 11:57
It's exciting to see the advancements in Blend4Web, especially with the introduction of the Principled BSDF node for PBR materials! This will significantly enhance the photorealism in projects. As a side note, if you're into simulation games, check out Bitlife
Please register or log in to leave a reply.