Форум

Сообщения, созданные пользователем ranbuch
06 февраля 2018 16:51
Is there any update regarding GLTF support?
29 сентября 2017 07:15
Hi,

For some reason when I'm using this:
m_config.set("canvas_resolution_factor", 1010);

I'm getting an empty screen.

after trying this however:
m_config.set("canvas_resolution_factor", 2);

I can see only the top left edge the model because he's gotten awfully big.

Same with this method:
m_config.set("quality", m_config.P_ULTRA);

Any advice on how to preserve the original size and get an higher resolution?

Thank you!
22 августа 2017 17:08
This ZIP file has only a "VERSION" file in it.
22 августа 2017 06:27
I need to allow the top Window alter the light energy of the scene within the iframe.

I can alter the scene with a function that I've wrote with
setTimeout
but unable to do the same with a button click or a
postMessage
event from the top Window.

    It's the same function The
    this
    
    is always the
    window
    
    object I've tried to invoke the function with
    apply
    
    but it doesn't seems to work. When debugging the
    set_light_energy
    
    method, in both cases it looks pretty much similar.

Thank you for your help.
21 августа 2017 06:38
O.K. I'll give it a try.

In the meantime, can you please refer me to some online demo with lights change if you have one?
20 августа 2017 17:15
Hi,

I'm new to B4W.

When I'm using
set_light_energy
from
preloader_callback


while
preloader_callback
is being called after scene has finished loaded:
m_data.load(file, loaded_callback, preloader_callback, false);


the
set_light_energy
seems to work fine but when I'm trying to use it after the scene has finished loading
set_light_energy
doesn't work.

Can anyone please help me with this one?