Forum

User posts Evgeny Rodygin
02 April 2015 17:08
Blend4Web 15.03 совместим с Blender 2.74
Если возникает предупреждающее сообщение, то, возможно, в системе у вас уже был установлен аддон (не SDK), и он не был корректно стерт перед установкой SDK. Удостовертесь, пожалуйста, что вы провели процедуру установки так как это описано в документации.
02 April 2015 16:52
Ответ на сообщение пользователя 3DROM
вороде зацепился с горем пополам . блендер 2/74 и сдк 15.03
в качестве проверки открыл файл solar system ru из дериктории blender/interactivity/solarsystem/solarsystem_ru.blend
делаю экспорт в html открываю вижу только космос… карта окружения…
в чем прикол?
он создан конкретно под Json экспорт чтоли или это у меня чтото не так экспортится
или может в какуюто конкретную директорию надо экспортить чтоб все зацепилось?
Обратите, пожалуйста, внимание на инструкцию по установке SDK. Если всё выполнено правильно, то никаких ошибок быть не должно.
Могу предположить, что вначале был установлен аддон и не полностью стерт из системы перед установкой SDK.
В случае если ошибки продолжаться, выведите, пожалуйста, содержимое консоли.
02 April 2015 16:02
Во-первых, насколько я вижу, вы используете блендеровскую сборку "Cycles-ptex", и ошибка вылетает именно в их модулях. Во-вторых, версия блендера (даже не учитывая, что это сборка), у вас 2.73. Текущий релиз Blend4Web рассчитан на самый свежий Blender 2.74.

Мы посмотрим на эту сборку. Возможно есть какие-то несовместимости. Но следует учитывать, что мы поддерживаем только оригинальные блендеровские сборки. Так что, желательно использовать именно их.
02 April 2015 10:20
Hi,
As I know, it is not possible. The shortest way is to bake a cube map and then rebake it to a sphere.
01 April 2015 17:51
Добрый день. А что именно у вас не работает? Не удалось поставить аддон?
01 April 2015 11:10
Hi,

Thanks for proposal. We'll add this feature to our TODO list.

Actually, now it can be done in an application with some modifications in app.js addon. enable_camera_controls method is responsible for camera controls, and the limits for the camera movement can be hardcoded there.
31 March 2015 12:52
ButI had a problem to see this link on mobile device. I tried on android device in google chrome.
My kids Huawey y550 did not show it with crome
Actually, there are some limitations for WebGL support on some Android mobiles. Google has its own black list for several GPUs. You can always try to turn this off by going into about://flags and switching the Override software rendering list flag, but this can result in some weird issues. So, we have to put up with some difficulties for now, but we hope the situation will change in around a year, and almost every phone would be capable of running WebGL.
31 March 2015 12:39
You can see the info about this bug here, and probably make a report, because Mozilla haven't confirmed it yet.

I've dived into this issue deeper and found that this is (probably - "was") a bug in Intel GPU drivers for Mac. Such limitations were previously in Chrome as well, but they were removed. So, I assume, this can be fixed by Mozilla by simply removing the limitation code which looks like this for now:
#ifdef XP_MACOSX
if (mWorkAroundDriverBugs) {
if (mVendor == GLVendor::Intel) {
***Reduce the max texture size***
30 March 2015 16:26
Добрый день,
Можно ли получить доступ к костям арматуры из API?
Расположение кости можно получить с помощью вызова функции animation.get_bone_translation.
Если вы хотите изменять положение кости, то пока такой возможности в API не предусмотрено.
А чего именно вы хотите добиться? Возможно, найдем более простой вариант.
30 March 2015 12:13
Hi,

Actually, almost everything you have described is possible right now. Of course, this will require a full-scale application. Not just an exported html file.
1. Link some excel data file to update anything seen in interactive 3D view by manipulating excel sheet cell values?
For example, you want to update some mesh on the scene. You can read an array of vertexes from your xml file and call geometry.override_geometry function to update actual geometry.
2. Can I have a any texture mapped image placed in a directory which upon replacing with another one reflects change in browser view just by refreshing it?
This is how it works by default for json exported scene. It just has a link to all the resources, and when you update some you will see changes in the browser.
3. Can I use an interpreter in between 3D html file & a content file i wish to update time to time. ( It may have limited scope as per features )
As in the first question - a bit of programming will be required, and the approach will be the same.
4. From within the 3D scene in browser, can I have facility to go to some external link by clicking on annotations ( url ) ? in the same window or in new window.
What kind of annotation are you speaking about?
If you mean 3D object, than it was described in your topic here. But the callback should use something like this:
window.location="your_link.com";

If you want a trigger with an html element - you can use our new anchors system (first clause in 15.03 release notes), and just apply some callback for on_click event on the required element.