30 June 2015 02:41
This drove me crazy, but I think I located the issue. Here is a typical “exports.init”, using “app.init”:
exports.init = function() {
m_app.init({
canvas_container_id: "canvas3d",
callback: init_cb,
show_fps: true,
physics_enabled: false,
alpha: true
});
}
If the above function is used, the scene loads clean. If “alpha:” is false, then a black box appears in the upper left corner of the screen, during the scene loading. Why? Is this a bug?
This doesn't affect the main scene, once loaded, but looks bad when presenting a nice preloader. I may be able to just live with “alpha” kept as true, but I hope you may comment.
This “black box” issue also appears in earlier versions of B4W. It is strange that I haven't noticed it, before, but I am just now getting involved with pre-loaders.
The “Code Snippets” example shows this symptom with:
Custom Anchors
Dynamic Geometry
Instancing
By the way, “Morphing” (in Code Snippets)doesn't work for me, in the 15.06RC.
My system:
Windows 7 Pro
I7 Cpu w/24Gb ram
Nvidia Titan Black GPU
Blend4web 15.06RC
Thanks
exports.init = function() {
m_app.init({
canvas_container_id: "canvas3d",
callback: init_cb,
show_fps: true,
physics_enabled: false,
alpha: true
});
}
If the above function is used, the scene loads clean. If “alpha:” is false, then a black box appears in the upper left corner of the screen, during the scene loading. Why? Is this a bug?
This doesn't affect the main scene, once loaded, but looks bad when presenting a nice preloader. I may be able to just live with “alpha” kept as true, but I hope you may comment.
This “black box” issue also appears in earlier versions of B4W. It is strange that I haven't noticed it, before, but I am just now getting involved with pre-loaders.
The “Code Snippets” example shows this symptom with:
Custom Anchors
Dynamic Geometry
Instancing
By the way, “Morphing” (in Code Snippets)doesn't work for me, in the 15.06RC.
My system:
Windows 7 Pro
I7 Cpu w/24Gb ram
Nvidia Titan Black GPU
Blend4web 15.06RC
Thanks