Forum

User posts Mike
08 February 2017 19:53
Hi Roman,

Thanks for the screenshot!! this helps.. I will perform the same test on my non working project and see the results. I will work backwards and see if I can track down my issue.

I'm not sure what difference there is between the viewer preview you show and my opening the file .json .bin from the project manager?

In PM I've created a project with every box checked except materials using advanced.

I'm running it from the browser dev link.

thanks again for the follow up, I will share my findings.
08 February 2017 08:33
can someone confirm this please. zoom in is broken.

I'm exporting .json .bin, even if I quick preview the zoom the setting is stuck at .100 for zoom in

zoom out .900 zooms out fast!
no matter what zoom in .100
04 February 2017 22:10
The zoom setting appears to have a bug.

When you adjust the zoom speed from default 0.1 to anything else between 0.1 - 1.. the zoom rate change is only applied to zoom out.

zoom in remains at 0.1.

Tried set_velocities as well as b4w blender plugin camera settings in blender.

Could someone please confirm.

fix workaround?

Thanks
Mike
09 January 2017 18:09
Dmitry, can you help with this problem?

js_ignore doesn't seem to work with socket.io.js
socket.io.js problem with console output
09 January 2017 09:30
similar problem to this
link

these don't fix the problem.
js_ignore = socket.*.js
js_ignore = socket.io*.js

build outputs doesn't report any errors.
see attached error.

works perfectly in dev

please help
23 December 2016 04:30
excellent, thanks!
23 December 2016 03:58
You can maybe try forcing the setting on or off.
https://www.blend4web.com/api_doc/module-config.html

m_app.init({
canvas_container_id: "main_canvas_container",
callback: init_cb,
shadows: true,
physics_enabled: true,
show_fps: true,
alpha: false,
autoresize: true,
});

this function will give you a pop up to tell you what has been detected as your browser.
function detect_mobile() {
if( navigator.userAgent.match(/Android/i)
|| navigator.userAgent.match(/webOS/i)
|| navigator.userAgent.match(/iPhone/i)
|| navigator.userAgent.match(/iPad/i)
|| navigator.userAgent.match(/iPod/i)
|| navigator.userAgent.match(/BlackBerry/i)
|| navigator.userAgent.match(/Windows Phone/i)) {
alert(navigator.userAgent)
return true;
} else {
return false;
}
}

The b4w webplayer lets you toggle between different quality settings.
might help you debug it ;)

I found that detect mobile worked against me, it was detecting mobile and downgrading my settings even though I was on a phone that could run 60FPS on high quality.
23 December 2016 03:44
Maybe the NLA module has what you need. You can do the blending with NLA strips and then animate using the strips?

https://www.blend4web.com/api_doc/module-nla.html

I haven't tried it but it seems like the way to do it :).
23 December 2016 03:39
Why would the character capsule be floating off the ground when using the default settings?
Doesn't make much sense.

Thanks for the suggestion but that doesn't work.
YourSuggestedSetting.PNG (no Change)

b4wCharacterOFF.png (turn off character checkbox in physics panel)
CharacterOnGround.PNG

The character checkbox on the physics panel has a bug or special requirements for settings that are not guessable.
b4wCharacterOn.PNG
CharacterOffGround.PNG

I've tried .01 .00000001 and many, many other combinations.
22 December 2016 08:21
ok that worked jquery file must be in /apps_dev/
if it's in /apps_dev/js/ it doesn't work even with any path.

incase anyone is looking for it.
[compile]
apps =
css_ignore =
engine_type = external
ignore =
js_ignore = jquery*.js
optimization = simple
use_physics =
use_smaa_textures =
version =

This is the HTML reference
<script type="text/javascript" src="..\..\src\libs\md5.js"></script>
<script type="text/javascript" src="..\..\src\addons\ns_compat.js"></script>
<script type="text/javascript" src="jquery-3.1.1.min.js"></script>



thanks for the reference example!!