论坛

由用户创建的信息 Evgeny Rodygin
16 April 2015 19:24
Hello and welcome to the forum!

Web Player is not capable of using transparency. I can suggest writing a simple application. There you can easily setup alpha by passing alpha flag to the init function in app.js addon. This is described in this article under Method 3 paragraph.
13 April 2015 12:02
Добрый день. Действительно есть проблема в аддоне mouse.js. При многократном вызове функции request_pointerlock() навешиваются новые обработчики движения мыши, что и приводит к описанному эффекту. Поправим это к следующему релизу. Пока можно реализовать несложную защиту от такого поведения с помощью глобального флага примерно так:
if (!_is_pointerlock)
    m_mouse.request_pointerlock(canvas_elem,
                                function() {_is_pointerlock = true},
                                function() {_is_pointerlock = false});

Спасибо за указанный недочет!
10 April 2015 16:57
Здравствуйте! В посте https://www.blend4web.com/ru/forums/topic/310/ по вопросу рамки вебплеера на html странице отсылают сюда.
Собственно вопрос открыт: как убрать рамку плеера, чтобы белый фон сцены сливался с белым цветом html страницы?
Заранее спасибо!
Добрый день. Не очень понятно, о какой рамке вы говорите. Возможно, вы назначили какое-то CSS свойство на html-элемент.
Вот здесь, например в веблеере белый фон отлично сливается с вебстраницей.
10 April 2015 15:13
Thank you for your reply Evgeny Rodygin,
I re-installed the blender 2.74 and blend4web 15.03,
But it still is not installed,
I put the video up process steps,
We ask to see where the problem is in the installation.
I see that you have SDK directory as well. Using both SDK and addon can cause various errors.
Please, check if you have something in your Blender's Scripts path.

If this field is not empty - clean it and save preferences. Go to addons, find Blend4Web and if it is still there - remove it.
Restart Blender. Then try re-installing the addon again.

If this won't help - report please if you have some server running on your localhost. This can also cause the problem.
10 April 2015 10:26
Ответ на сообщение пользователя Michael Wu
blend4web 15.03 can not be installed in Blender 2.74 for Windows 64 bit.
Python can't find one of modules in your case. Probably, you have mixed several Blend4Web directories or accidentally removed something.

You can try a fresh installation. Unzip everthing to a new directory and change Blender Scripts path to this dir. Report if it will be okay please.
09 April 2015 18:49
а подскажите я вот с кодом и базой АПИ еще не работал и не разбирался но хочу и понимаю что без владения опыта програмирования особенно на JS , я буду разбираться сам оч долго… может посоветуете какието видеотуториалы или курс лекций какой?
Если вы сами хотите работать с АПИ, то я бы рекомендовал начать с уроков из нашего блога.
Самое простое - "Интерактивное веб приложение"
Более сложные вещи рассматриваются в цикле статей по программированию игры. Вас интересуют 1, 4 и 5 статьи.
Простые вещи по физике рассмотрены здесь.
Canvas и Видео текстуры - здесь.
Динамическая загрузка и ещё немного физики - здесь.

а еще ищем больше месяца js программиста для нашего проекта на вашей платформе очень оказалось проблематично может посоветуете кого или чтото подскажете, а то я уже думаю идти самому на обучение по JS…
Вы можете написать у нас разделе вакансий. Мы в свою очередь можем растиражировать вакансию в наших группах на русскоязычных соцсетях.
09 April 2015 11:49
Добрый день,

Мы обсуждали подобные планы. Поддержки родных Python-скриптов как и кастомных GLSL-шейдеров мы пока не планируем. На данный момент у нас идёт работа над Нодовой системой скриптинга. Её дальнейшая интеграция в Blender в принципе возможна.

О том, о чем вы написали можно будет говорить, когда мы ещё плотнее займемся разработкой самого Blender. Это вполне осязаемые планы, и мы уже говорили с разработчиками Blender о создании ветки в основном репозитории. Кроме прочего там может быть и скриптинговая нода, поскольку это очень в духе нынешней концепции Blender по переводу всего функционала (материалы, анимация, моделирование, частицы) в нодовые деревья.
07 April 2015 10:14
Really nice work. In Blend4Web animation is still a pretty tough thing but in this video you've prepared this all easily. Thanks for the tutorial!
03 April 2015 10:34
Hi,

Really, this is an unexpected behavior. We have found that this is caused because of dynamic loading and detect visibility flag. Thanks for pointing out the bug. Unfortunately, we can't fix this right now and it will be done only in the next release. Would be great to have more bug reports when release candidate is out there.

Also, is there a way to have the annotation box scale with the item it is associated with, so when the camera zooms in or out, the annotation box does also? In the 1st example, there would be a lot of annotations and when zoomed out, I would not want them overlapping and looking cluttered.
Annotations are not the best choice here because they are just simple html-elements and scaling them without some artifacts is a really complicated task. It is better to use billboarded objects with some text inside them.

What is character limit for default annotation box?
A really huge number . Something around Python String length. So, this doesn't have to be a problem, I guess. The only thing to keep in mind - Description must be longer than the Title. This is another issue which will be fixed later.
02 April 2015 17:11
Мы с вами абсолютно согласны, и именно поэтому сейчас у нас идёт работа над собственным нодовым редактором логики.