Forum

User posts pakirrote
10 November 2016 12:37
Hi guys.
Cam make a b4w_glow_output via api to one material?, thx.
Any example please?.
26 September 2016 13:13
v16.09
New Features
Project Manager improvements.

Added the new update_modules command to the project.py utility. This command allows users to update modules in the project.
Automatic quality determination.

By specifying AUTO (P_AUTO) quality profile in the app module you can load your app in LOW or HIGH quality depending on your hardware specs. Also low-level performance benchmark can be executed using test_performance method.
Changes
The system for assigning shader’s directives was refactored. This will allow to reduce engine’s loading time and simplifies debugging.
Rendering of the anchors was speeded up on some devices through using the “translate3d” CSS property.
Fixes
Fixed the bug in the Samsung Internet browser when it hung if there was many anchors in a scene.
Fixed Web Player “alpha” attribute, which didn’t work.
26 September 2016 12:54
Hellow guys.

¿How i can animate the camera translation to another position via api?.

Thanks.
26 September 2016 12:45
They could put the reademe here, not having to download 1.3GB only to read the readme.txt… Thanks.
22 September 2016 16:02
Thanks guys!! works fine.
19 September 2016 23:12
Hello!. Is it possible to tell blend4web assets that are not selectable objects through walls?. Thx.
19 September 2016 22:32
Reply to post of user martial
Next time you can say hello, always a good way to start :)

It's true, you're right, sorry, I had a bit rushed and passed me.


Reply to post of user martial
Force Dynamic object checked?

Tomorrow I will try to see that this, thank you.
15 September 2016 12:24
I tired this copy of settings .LOW, and get errors (in the coments put the errors):
The funny thing is that I have less fps with this settings :S

quality: m_cfg.P_CUSTOM, // indicate that you want to use your own quality profile
shadows: false,
// shore_smoothing: false, // B4W ERROR: Unknown config property: shore_smoothing
ssao: false,
dof: false,
god_rays: false,
bloom: false,
reflections: false,
refractions: false,
// foam: false, // B4W ERROR: Unknown config property: foam
// parallax: false, // B4W ERROR: Unknown config property: parallax
// dynamic_grass: false, // B4W ERROR: Unknown config property: dynamic_grass
// grass_tex_size: 1*512, // B4W ERROR: Unknown config property: grass_tex_size
// texture_min_filter: 2, // B4W ERROR: Unknown config property: texture_min_filter
anisotropic_filtering: false,
use_min50: true,
precision: "mediump",
// water_dynamic: false, // B4W ERROR: Unknown config property: water_dynamic
// shore_distance: false, // B4W ERROR: Unknown config property: shore_distance
antialiasing: false,
smaa: false,
// compositing: false, // B4W ERROR: Unknown config property: compositing
motion_blur: false,
allow_hidpi: false,
enable_outlining: false,
glow_materials: false,
// msaa_samples: 1, // B4W ERROR: Unknown config property: msaa_samples
max_fps: 60,
15 September 2016 11:31
Error when put quality to "m_cfg.P_LOW or 1" in b4w 16.8.0

Error:
print.js:73 B4W ERROR: No aspect ratioerror @ print.js:73
util.js:2122 Uncaught engine panic:
The engine tried to perform an invalid operation and halted.
Please copy the console contents above and submit it to the Blend4Web forum at
https://www.blend4web.com/en/forums/forum/17/
14 September 2016 15:41
my object name: mamparaOb
my material name: mamparaLight

var lightObMampara = m_scenes.get_object_by_name('mamparaOb');

// console.log(m_material.get_materials_names(lightObMampara));
// console.log(lightObMampara);

m_material.set_emit_factor(lightObMampara, "mamparaLight", 1);
m_material.set_diffuse_intensity(lightObMampara, 'mamparaLight', 1);


this dont work for me in b4w 16.8.0, i get this error:

B4W ERROR: Couldn't set property "emit_factor"!error @ print.js:73exports.set_emit_factor @ material.js:343main_canvas_click @ casaGasNatural.js:135
print.js:73 B4W ERROR: Couldn't set property "diffuse_color"!


This:
console.log(m_material.get_materials_names(lightObMampara));
return an empty array [ ] but my object have assigned one material named mamparaLight.