User posts Konstantin Khomyakov
19 May 2017 11:55
Hi Guys, I am following this as above but it is not working and I keep getting this message in my console:Hello,
TypeError: m_logic_n is undefined[Learn More]
I am sure I have done something wrong somewhere but I can not figure it out and it is driving me nuts.
Thank you in advance for any help you can offer.
could you please attach exported example project reproducing the issue
17 May 2017 10:35
11 May 2017 12:30
Im looking for a simple way to inquire if an object is hidden or visible. Initially, obects can be hidden by setting the hidden flag in blender. Can i inquire the visibility state of objects with a API function?Hello and welcome to the forum
For dynamic objects you can use:
m_scenes.is_hidden
m_scenes.is_visible
11 May 2017 12:27
I have a project with many speaker objects, each playing a different audio file, when clicked. I used a switch select and play sound nodes for that. How could I stop all other audio files when I start playing a new one, so that they don't play together?Hello,
for now there is now way to stop all sounds at once so you need to stop other Speakers manually via Stop Sound node
11 May 2017 12:03
I am null knowledge of programming.Hello,
Any help how to add drag & drop in simple way?
fully without programming - no (https://www.blend4web.com/en/forums/topic/1955/?page=1#post-15537)
11 May 2017 11:58
Hi,Hi and welcome to our forum!
Is it possible to embed one iframe into a cube? The iframe will show an external web page data/charts.
So in one side of the cube - it will show some charts which will be dynamically changing
There is no embedded mechanism in the engine to solve your task. But it can be done via CSS3D scripting.
I've found an old demo suitable for your purposes. You need to import it with Project Manager. It will create a project folder blend4web/apps_dev/html3d
I would suggest to pay attention to several points in the following files:
1. html3d.html
- Add iframe/another html element you want to have in 3D
2. html3d.js
- SIZE_MULT variable.
You can use it to change pixel size in virtual space
1 pixel of html element = 1 virtual cm by default.
- load_cb function.
Here we attach the HTML element to the "Plane" object.
03 May 2017 18:56
03 May 2017 17:17
Добрый вечер. Скачал последний аддон (сдк не стоит), создал стандартный проект с кубиком, включил в world ноду background, поставил картинку, экспортнул html, а кубик просто на стандартном фоне. Может еще нужны какие нибудь манипуляции ?Добрый вечер,
02 May 2017 16:18
Единственное, я не понял, для того что бы использовать ноды суслика нужно обязательно переключаться на рендер cycles, настраивать материал/окружение а потом опять переключаться на b4w? Очень не удобно. Или я не догнал, как правильно это использовать?Пока что необходимо переключаться в Cycles, да. Но мы работаем над этим + Кнопка Fast Preview продублирована на нижней панели инструментов вьюпорта и для Cycles, чтобы чуть облегчить жизнь)
Еще вопрос, получиться ли достучаться до окружения, настроенного в cycles посредством API? Сменить картинку например.Да, получится. Изображение для энвайронмент текстуры Cycles мира можно менять аналогично другим текстурам
27 April 2017 15:28
Thanks Konstantin, that helps to confirm what I was attempting. It seems I had wrong expectations for how this feature would work and that I'll still need to do appropriate texture set-up to simulate image-based lighting. I'm still learning.support of roughness for reflections is still experimental and in developing, for now roughness only affects direct lighting, not environment. But we are working hard on it
My expectation was that there would be some lighting going on, similar to Cycles (top left.) On an object with ~0.8 roughness I wouldn't expect so much reflection (top right.)
I will make a presentation on our pbr/cycles plans which will also address this theme in the upcoming b4w conference