User posts Yuri Kovelenov
18 July 2016 11:34
Hello,
I was able to run your (nice looking) project via Project Manager. I think there is a little confusion on how things work in Blend4Web.
The Fast Preview button in Blender opens your scene but doesn't run your JavaScript code, this is intended behaviour. Instead your scene is loaded into the Scene Viewer which is separate programmed app with its own code. Basically, this button is "for artists".
I'd suggest iterating your development through the Project Manager. Possible workflow can look as follows:
1. open the app JS file and change the app code using your preferred text editor
2. run your app in the browser using the link in the Project Manager (dev: guitar_presentation.html in your case). Use F5 button to reload your app in the browser for iterating
3. Edit your blend file in Blender and export the scene in JSON format. Keep reexporting each time you change something in your scene. Fast Preview button can still be useful for checking your standalone scene.
Hope this helps!
I was able to run your (nice looking) project via Project Manager. I think there is a little confusion on how things work in Blend4Web.
The Fast Preview button in Blender opens your scene but doesn't run your JavaScript code, this is intended behaviour. Instead your scene is loaded into the Scene Viewer which is separate programmed app with its own code. Basically, this button is "for artists".
I'd suggest iterating your development through the Project Manager. Possible workflow can look as follows:
1. open the app JS file and change the app code using your preferred text editor
2. run your app in the browser using the link in the Project Manager (dev: guitar_presentation.html in your case). Use F5 button to reload your app in the browser for iterating
3. Edit your blend file in Blender and export the scene in JSON format. Keep reexporting each time you change something in your scene. Fast Preview button can still be useful for checking your standalone scene.
Hope this helps!
16 July 2016 14:25
15 July 2016 18:18
Where is the javascript file that is causing the problem?it should be located in the blend4web_ce/apps_dev/your_project folder
The other thing is why the dev:app.html link in the Project Manager loads the proper modified file and doesn't load the logic_nodes module.can you export your project with the Project Manager and attach here for us to take a look?
blend4web project, I think it's awesomeThanks for your kind words!
15 July 2016 11:49
If I try to init the app from the fast preview inside blender it seems to be using and old javascript fileThe Fast Preview button only exports your scenes in a tmp folder and loads it in the Scene Viewer, it doesn't touch your JS code.
if I try to import the logic_nodes module (You can use command "check modules" of the Project Manager to find out missing modules. Your app can fail finding modules if you are using too old version of the Blend4Web engine.
var m_ln = require("logic_nodes");
) the app fails to initialize and the app hangs on startup with error: Error: Module "logic_nodes" not found.
14 July 2016 22:40
08 July 2016 18:53
First, I would recommend to use the JSON format (see this tutorial, you need method #2).
Second, try to decrease the poly-count of your model.
Second, try to decrease the poly-count of your model.
07 July 2016 16:26
07 July 2016 15:32
Уважаемые пользователи!
Доступно для загрузки первое обновление в канале с длительным циклом поддержки (LTS). Обновление исправляет критическое падение производительности, наблюдаемое в некоторых приложениях на основе Blend4Web 16.06. Также приведен в рабочее состояние слайдер Canvas Resolution Factor в просмотрщике сцен. Кроме того, исправления и дополнения были внесены и в руководство пользователя.
Рекомендуем загрузить обновленную сборку LTS build и обновить приложения.
Доступно для загрузки первое обновление в канале с длительным циклом поддержки (LTS). Обновление исправляет критическое падение производительности, наблюдаемое в некоторых приложениях на основе Blend4Web 16.06. Также приведен в рабочее состояние слайдер Canvas Resolution Factor в просмотрщике сцен. Кроме того, исправления и дополнения были внесены и в руководство пользователя.
Рекомендуем загрузить обновленную сборку LTS build и обновить приложения.
07 July 2016 15:31
Dear customers!
We have just released the first update for the long-term supported version. It fixes a critical performance regression observed in some Blend4Web applications based on the recent 16.06 version. Also we fixed the broken Canvas Resolution Factor slider in the Scene Viewer. There are some corrections and additions in the User Manual as well.
Please consider downloading the updated LTS build and upgrading your applications.
We have just released the first update for the long-term supported version. It fixes a critical performance regression observed in some Blend4Web applications based on the recent 16.06 version. Also we fixed the broken Canvas Resolution Factor slider in the Scene Viewer. There are some corrections and additions in the User Manual as well.
Please consider downloading the updated LTS build and upgrading your applications.