由用户创建的信息 pakirrote
22 January 2018 20:16
24 October 2017 11:24
20 October 2017 12:59
17 October 2017 11:22
Reply to post of user Ivan Lyubovnikov
Hi, you can create a special module for this purpose and execute it prior to the other app modules:b4w.register("overwrite_b4w", function(exports, require) { var m_anchors = require("anchors"); var m_anim = require("animation"); var m_ver = require("version"); exports.init = function() { m_anchors.append = function(){ console.log("hello world") }; m_anim.append = function(){ console.log("hello world") }; } }); // start application with overriding the original modules b4w.require("overwrite_b4w").init(); // register and then execute the main app module b4w.register("my_project_main", function(exports, require) { .... }); b4w.require("my_project_main").init();
Thank you very much Ivan, I'll prove it
06 October 2017 14:29
Hi guys.
I can extend module or override methods of modules?.
example:
original module anchors.js have this:
my custom append method for overwriting the original module anchors.js:
The main idea is not to modify the original modules of blend4web.
How?. Thanks.
I can extend module or override methods of modules?.
example:
original module anchors.js have this:
exports.append = function(){ console.log("foo bar") }
my custom append method for overwriting the original module anchors.js:
exports.append = function(){ console.log("hello world") }
The main idea is not to modify the original modules of blend4web.
How?. Thanks.
06 October 2017 13:14
04 October 2017 12:02
For make material glow effect: https://www.blend4web.com/doc/en/node_materials.html#glow-output-b4w-glow-output
26 September 2017 13:38
Reply to post of user Juani
Good to all, we have created a Facebook page in Spanish to be able to learn to work with Blend4Web. We encourage all to visit it and contribute your knowledge.
Regards.
https://www.facebook.com/search/str/blend4web+espa%C3%B1ol/keywords_top
Not all people have the facebook.
I do not have it, and I refuse to have it.
Other platform or forum are welcome.
25 September 2017 15:16