Forum

Project shows up as a box

09 November 2016 19:17 #13662
Hello,

* I have a simple trial blender file which is not the default box

* In the SDK interface I click on "Project Manager"

* In the popped up browser I click "Create New Project"

* I populate "Project Name" & "Project Title" with "BJL110"

* I check "Create Application Starter Files" & "Create Scene Starter Files" & "Copy Project Management Script" & "Bundled Project" & "Web Player JSON"

* I click on "Create Project"

* I click on "Back to projects"

* I click on "player: BJL110.json"

* The project shows up as a cube rather than the 3-D object that I had in the Blender

** Where do I go wrong?

Thank you in advance.
09 November 2016 23:40 #13668
Hi, and welcome to the forum!

Project Manager has just created apps_dev/BJL110/BJL110.blend and apps_dev/BJL110/BJL110.json which contain the default cube. If you want to have your json in Web Player, you can replace the BJL110.blend file with your blend file and click the reexport button in the Project Manager.
Blend4Web developer
10 November 2016 00:03 #13670
Thank you very much for the welcome and clarification Evgeny Rodygin.
11 November 2016 18:03 #13774
I still haven't been able to make the project creation wizard work.
Could the following error be the cause?
If so, any ideas on how to resolve it?

AL lib: (EE) ALCmmdevPlayback_open: Device init failed: 0x80070490

Thanks in advance.
11 November 2016 18:30 #13777
Reply to post of user a1call
I still haven't been able to make the project creation wizard work.
Could the following error be the cause?
If so, any ideas on how to resolve it?

AL lib: (EE) ALCmmdevPlayback_open: Device init failed: 0x80070490

Thanks in advance.
When do you see this error?
In which way Project Manager doesn't work? I've repeated your actions described in the first post and replaced blend file with my own one. After pressing the "reexport" button and clicking the "BJL110.json", the correct scene is opened.
In your case is there still the Cube on the screen?
Blend4Web developer
11 November 2016 18:41 #13779
Well I did succeed eventually on a different computer and by "saving as" in Blender (rather than file copy which may or may not be the related).
No errors on the 2nd computer.
Thanks again.
11 November 2016 19:06 #13780
On the problem computer I get the following error when i try "re-export scenes"

File "C:\Program Files\Blender Foundation\Blender\2.78\python\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDec


This is the case even after I unistalled blender and reinstalled it.
11 November 2016 19:10 #13782
Thanks for the report. We'll check this issue.
Blend4Web developer
11 November 2016 19:16 #13783
Problem computer has windows 7 and the No-Problem computer has windows 10.

Could that be a factor?
11 November 2016 20:02 #13784
I reextracted a fresh copy of blend4web and all is well now.
 
Please register or log in to leave a reply.