由用户创建的信息 ranbuch
29 September 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!
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 August 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
but unable to do the same with a button click or a
event from the top Window.
Thank you for your help.
I can alter the scene with a function that I've wrote with
setTimeout
postMessage
- It's the same function
The
this
window
apply
set_light_energy
Thank you for your help.
21 August 2017 06:38
20 August 2017 17:15
Hi,
I'm new to B4W.
When I'm using
from
while
is being called after scene has finished loaded:
the
seems to work fine but when I'm trying to use it after the scene has finished loading
doesn't work.
Can anyone please help me with this one?
I'm new to B4W.
When I'm using
set_light_energy
preloader_callback
while
preloader_callback
m_data.load(file, loaded_callback, preloader_callback, false);
the
set_light_energy
set_light_energy
Can anyone please help me with this one?