Forum

problems with preloading

27 June 2016 18:40
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
Hi and welcome to the Blend4Web forums!

You might want to try using JSON format instead of HTML. See this tutorial.
The Founder | Twitter | Facebook | Linkedin
28 June 2016 01:19
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

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
The Founder | Twitter | Facebook | Linkedin
28 June 2016 11:21
http://artemioslykoi.altervista.org/webplayer/webplayer.html?load=../../swan.muzeum.json
28 June 2016 12:35
Hmm that's strange, could you please attach a .blend file here so that we can take a look? Thanks!
The Founder | Twitter | Facebook | Linkedin
28 June 2016 15:15
Of course, thanks to you!
28 June 2016 16:38
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
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
Glad we could help!
The Founder | Twitter | Facebook | Linkedin
 
Please register or log in to leave a reply.