Forum

User posts Cluetrekk
04 February 2016 06:32
Yes, things eventually worked! I moved/saved the .json and bin file to the deploy/assets/New_Swears_Room folder instead of the apps_dev folder and re-addressed it accordingly and it all worked.
There remain some issues with sound for some items and the interactivity responses for other items stop working periodically, but these are separate issues that I'll try to resolve.
At least it is up and running now!
Thanks for your help!
Cluetrekk
03 February 2016 05:33
hmmm…it is still not working. I now get the following message "Could not load the scene"

I have placed the files in the following folders:
public_html/apps_dev/New_Swears_Room/New_Swears_Room.json
public_html/apps_dev/New_Swears_Room/webplayer/webplayer.html
public_html/deploy/apps/webplayer/webplayer.html
public_html/assets/New_Swears_Room/<all media files>

Am I missing something?
Thanks so much,
Cluetrekk
02 February 2016 06:32
Thanks, but it still didn't work.
I've uploaded the .blend file, all of the asset files (images and media files), and placed them in the appropriate directories i.e. the same directories where they resided under blend4web_sdk folder.
The message continues to be "Please specify a scene to load".

<!DOCTYPE html>
<html>
<head>
    <title>Listen</title>
</head>
<body>
    <iframe width="800" height="600" allowfullscreen src="/deploy/apps/webplayer/webplayer.html?load="../../../apps_dev/New_Swears_Room/New_Swears_Room.json"></iframe>
</body>
</html>


I'm not sure if it makes a difference, but the webplayer.html is in the '/apps' folder and the .json file is in the '/apps_dev' folder.
Any additional ideas are much appreciated,
Thanks very much,
Cluetrekk
01 February 2016 06:04
I am at the stage where I am trying to upload the JSON file into a webpage. I am trying to use the iframe option (first). The HTML version was successful, but the JSON option was not.
I have followed the instructions in the Embedding Options video tutorial but it seems a bit out of date.
I currently receive an error message in the grey screen which says "Please specify a scene to load".

<!DOCTYPE html>
<html>
<head>
    <title>New Swears</title>
</head>
<body>
    <iframe width="800" height="600" allowfullscreen src="/deploy/apps/webplayer/webplayer.html?load="/deploy/apps_dev/New_Swears_Room/New_Swears_Room.JSON"></iframe>
</body>
</html>/code]

Your help is much appreciated.
  
Cluetrekk  
26 January 2016 20:23
Amazing. Keep up the great work!
21 January 2016 05:24
I changed all the audio files to .mp4; however, I discovered something which is probably quite significant. The scene will load every time as long as there are no other scenes loaded in any other tabs. I mean, if I had previously attempted to fast preview and then left the tab open, it would freeze at 97% every time I tried to fast preview again. However, if I closed all the tabs with any previously loaded scenes, and then clicked on fast preview it would load perfectly every time. This was with Chrome. I didn't test it in any other browser.
At least the problem can now be avoided.
I'm not sure if the final web page will have this same issue.

Thanks for all of your help :-)
Keep up the great work!
Cluetrekk
19 January 2016 04:22
Thanks, I've attached a few informative (hopefully) screen shots.
The console log initially had a number of image and sound loading errors, but I fixed those and tried again to open in the viewer with no luck. You can see there are several remaining warnings in the console log but no further errors.
I have also included a screen shot of my system specs.
Your help is much appreciated.
Cluetrekk
18 January 2016 06:38
Excellent, thanks very much.
Cluefrekk,
18 January 2016 06:06
I've been working on a scene and it suddenly stopped loading in the viewer and repeatedly remained stalled at 97%.
Assuming it was the logic nodes that I was working with at the time, I adjusted the extent of the nodes and eventually removed all logic nodes (they were extensive) and the scene still didn't load into the viewer. I reinstalled the latest Blend4Web SDK and tried again to open the file in the viewer. It opened! I made one small change and it no longer opened, but continued to remain stuck at 97%.
Other than the logic nodes, I had not made any changes to the Blender file itself so I don't think it is any issue with the blender objects.
I've attached the Blend file.
Is there a maximum of number of objects in a scene or logic nodes which would trigger this?
I am able to view other projects in the viewer.
Any suggestions?
Thanks,
Cluetrekk
16 January 2016 19:56
Thanks, but unfortunately it is still not working. Would there be an issue trying to hear it in the Fast Preview?