User posts Evgeny Rodygin
06 May 2015 10:25
Ответ на сообщение пользователя trepaning
I guess I should have said, "It would be great to have a layman's easy-way to do a batch re-export via the B4W interface".
Well, having UI is almost always a good option, but I think, you should try our script anyway. You need to only run it and it will do all the job for you. It just iterates over all jsons in the directory, finds corresponding blend files, and tries to run export giving you an output on how well the things are going.
Nevertheless, we will discuss the possibility of making a special UI for this utility.
05 May 2015 12:37
Добрый день.
Посмотрите на этот туториал.
После раздела Падение камней - сенсоры, по-моему, описано почти всё, что вам нужно. Если что-то неочевидно - спрашивайте. Возможно, заодно подправим и этот урок
Посмотрите на этот туториал.
После раздела Падение камней - сенсоры, по-моему, описано почти всё, что вам нужно. Если что-то неочевидно - спрашивайте. Возможно, заодно подправим и этот урок
05 May 2015 11:27
Hi,
We have reexport.py script for these needs. We always use it when we need to update all the scenes in our repository. You can find it under the "scripts" directory in the free SDK. It can be changed a bit to match your export directories names. DEPLOY_DIR variable is responsible for this.
We have reexport.py script for these needs. We always use it when we need to update all the scenes in our repository. You can find it under the "scripts" directory in the free SDK. It can be changed a bit to match your export directories names. DEPLOY_DIR variable is responsible for this.
30 April 2015 18:29
Hi, and welcome to the forum!
You are doing everything right. What Browser and version are you using? If you are under Windows and use Chrome 40 or Firefox 33-36, you probably suffered from the "Clear procedural sky hack". It helps avoiding serious bugs with these browsers' versions. If so, you need to update your browser.
Also, Procedural Sky uses Sun for calculations. If you have no Sun lamp on the scene, you will see a warning in the console and a black background.
If you want to use Blender's Sky settings, you can check this approach.
Please, let us know if you succeed.
[EDIT]
"Render Sky" option appeared in Blend4Web 15.04. I assume, you use 15.03 or earlier.
You are doing everything right. What Browser and version are you using? If you are under Windows and use Chrome 40 or Firefox 33-36, you probably suffered from the "Clear procedural sky hack". It helps avoiding serious bugs with these browsers' versions. If so, you need to update your browser.
Also, Procedural Sky uses Sun for calculations. If you have no Sun lamp on the scene, you will see a warning in the console and a black background.
If you want to use Blender's Sky settings, you can check this approach.
Please, let us know if you succeed.
[EDIT]
"Render Sky" option appeared in Blend4Web 15.04. I assume, you use 15.03 or earlier.
30 April 2015 10:58
Hi, mcolinp
Blend4Web always tries to simulate Blender's behavior. Of course, we can't support the full list of features and therefore, we are working on our custom Blender profile which will leave only supported options in the interface. Thus, there won't be a need in the instrument, that you've described. Everything that we see in Blender's Viewport should look similar to what you will see in Browser with Blend4Web. We always move from Blender to the Browser but not in reverse direction (If we speak about importing something from Blend4Web and converting it to a Material).
t would be great if there were a way that you could create a realtime interactive slider/numerical entry; for each of the material settings that effectively work with Blend4web. Even if it were a separate browser run program (Suchas as your Code Snippets" Example); that could allow a user to develop a material in realtime; and see directly how it would interact as an HTML output. Perhaps it could export a simple text file; that could be imported into Blender and converted to a Material. I realize this could be a can of worms; when it comes to some of the more advanced approaches using nodes; though for basic materials, it could be a huge help & productivity booster.I understand why you have such ideas but I'll try to clarify our position.
Blend4Web always tries to simulate Blender's behavior. Of course, we can't support the full list of features and therefore, we are working on our custom Blender profile which will leave only supported options in the interface. Thus, there won't be a need in the instrument, that you've described. Everything that we see in Blender's Viewport should look similar to what you will see in Browser with Blend4Web. We always move from Blender to the Browser but not in reverse direction (If we speak about importing something from Blend4Web and converting it to a Material).
29 April 2015 19:21
Ответ на сообщение пользователя Ryan UttechYou are correct. This is the only solution for now. The programmer is fully responsible for the drawing order of html elements (which the anchors are). In future releases we are planning to automate z-indexes assignment. So the things will become easier.
I noticed when I "required" the anchors API, the anchor shows up. I cannot see it though, for some reason it is sitting behind the 3Dcanvas. So both the anchor and my frame rate are hidden. I was able to find these elements via the inspect feature of Firefox. I will have to bring the z-index forward for those elements or move the canvas back.
29 April 2015 17:55
Добрый день,
1) В вашей папке лежат скрипты app.js и b4w.min.js от предыдущей версии движка, а экспорт вы делаете новой версией. Нужно их заменить для правильной работы.
2) Поворот объекта Tape желательно применить, поскольку обнаружилась наша недоработка, приводящая к неправильным нормалям при относительном смещении меша и арматуры. Поправим в следующем релизе. Спасибо за найденный баг
После этого всё должно заработать.
1) В вашей папке лежат скрипты app.js и b4w.min.js от предыдущей версии движка, а экспорт вы делаете новой версией. Нужно их заменить для правильной работы.
2) Поворот объекта Tape желательно применить, поскольку обнаружилась наша недоработка, приводящая к неправильным нормалям при относительном смещении меша и арматуры. Поправим в следующем релизе. Спасибо за найденный баг
После этого всё должно заработать.
29 April 2015 10:24
Hi,
Everything that is possible in html should be achievable in json. Anchors are not an exception.
We have a code snippet for them in the free SDK. You can find it under "apps_dev/code_snippets_dev.html". One of these demos is using "scripts/custom_anchors.js" from this folder. Check it and report if you will succeed, please.
Everything that is possible in html should be achievable in json. Anchors are not an exception.
We have a code snippet for them in the free SDK. You can find it under "apps_dev/code_snippets_dev.html". One of these demos is using "scripts/custom_anchors.js" from this folder. Check it and report if you will succeed, please.
Also is there a direct API for the 'Empty' object to dynamically control the Annotation?If you just want to translate an annotation with an API, you can do it with the transform.set_translation() method. The only thing you need to do is to enable the "Force Dynamic Object" flag on the Empty object. (This will disable static optimizations for it and will allow movement)
27 April 2015 10:52
Приветствую.
Этот метод сейчас действительно не соответствует документации. На вход он принимает сам объект, а не его имя. Он будет помечен как устаревший, и в этот релиз мы добавим три check_object-метода аналогичных get_object-методам:
check_object_by_name, check_object_by_dupli_name, check_objec_by_dupli_name_list.
Спасибо за указанный недочет!
Этот метод сейчас действительно не соответствует документации. На вход он принимает сам объект, а не его имя. Он будет помечен как устаревший, и в этот релиз мы добавим три check_object-метода аналогичных get_object-методам:
check_object_by_name, check_object_by_dupli_name, check_objec_by_dupli_name_list.
Спасибо за указанный недочет!
26 April 2015 13:06
Ответ на сообщение пользователя КириллОтлично =) Теперь точно - лучшая реализация карты на WebGL.
Загрузил Blend4Web 15.04 Developer Preview, ошибка с удалением объектов исправлена Спасибо.
Обновил версию на сервере.
Ещё было бы замечательно, если бы вы развернули нормали на одном из объектов. Пользователи постоянно указывают на этот несчастный ящик