Forum

problems with preloading

27 June 2016 18:40 #10253
Hello, I ask for help for the online publication of a html page ( http://artemioslykoi.altervista.org/ ) , the problem is that the page loads ( about 30 MB ) is a bit ' slow and I think the preload bar starts when the file has already been downloaded . With microsoft edge for example at the first visit, it seems that the browser is not loading the page, and I fear this could discourage visitors . The page is then loaded properly , there is no way to ensure that the preload bar starts right away ?
27 June 2016 18:44 #10254
Hi and welcome to the Blend4Web forums!

You might want to try using JSON format instead of HTML. See this tutorial.
Development Lead | Twitter
28 June 2016 01:19 #10259
thanks for the help , I copied the folder from my WebPlayer sdk and I loaded in the site along with the json and bin files . I do not however understand the next step , if I put in the json file link does not work , appear written http://artemioslykoi.altervista.org/
28 June 2016 08:08 #10260

I do not however understand the next step , if I put in the json file link does not work , appear written http://artemioslykoi.altervista.org/
The link you are using is wrong:
file:///I:/artemioslykoi/swan.muzeum.json

It should look something like https://www.blend4web.com/apps/webplayer/webplayer.html?load=../../assets/interactivity/solar_system/solar_system_en.json
Development Lead | Twitter
28 June 2016 11:21 #10262
http://artemioslykoi.altervista.org/webplayer/webplayer.html?load=../../swan.muzeum.json
28 June 2016 12:35 #10264
Hmm that's strange, could you please attach a .blend file here so that we can take a look? Thanks!
Development Lead | Twitter
28 June 2016 15:15 #10271
Of course, thanks to you!
28 June 2016 16:38 #10273
now it works ! I created a specific folder for files…
… .json,.bin, texures, but you see only the background!

http://artemioslykoi.altervista.org/webplayer/webplayer.html?load=../../muzeum/swan.muzeum.json

with chrome could be seen already but without texture

web player I loaded into a separate folder to also use it with other files , correct?
29 June 2016 16:05 #10294
I had forgotten to attach the textures for you!
but in the meantime I was able to fix everything.
perhaps there was a problem with the texture because the object had 3 different materials?
thanks for the help, now they load as I wanted

http://artemioslykoi.altervista.org/




29 June 2016 16:16 #10295
Glad we could help!
Development Lead | Twitter
 
Please register or log in to leave a reply.