论坛

由用户创建的信息 dal
12 March 2018 17:16
dal
There is a chance, but we don't know when. It was requested many times, but still most our users can live without this feature. Well, added this task to our "TO INVESTIGATE" list.
Alexander (Blend4Web Team)
12 March 2018 16:39
dal
Some examples and models you can find in the CE SDK. And some you can find in the PRO SDK. What is your issue?
Alexander (Blend4Web Team)
12 March 2018 09:34
dal
Хм, метод load очень интересный, ещё и сцены шустро подгружаются, даже из других проектов.
Он работает быстро потому что не происходит перестроения рендер графа. И к стати говоря, из-за этого и могут отключаться некоторые эффекты, о которых я писал, например динамические отражения.
Alexander (Blend4Web Team)
09 March 2018 14:41
dal
Check the browser console(F12).
Typically this happens when you are accessing some object attribute somewhere with adressing through dot and somewhere through []. The first case can be obfuscated and the second never obfuscates. Do not mix this two approaches when adressing to the same attribute.
Alexander (Blend4Web Team)
08 March 2018 02:39
dal
Have you seen this answer?https://www.blend4web.com/en/forums/post/21001/
I've attached there the project which was exported with Project Manager which you can import on your side. That's what I wanted you to do. I can't import you project it has no required metadata. Thus I have to make unwanted and meaningless things and it's exhausting. Are you sure you can't export?
Alexander (Blend4Web Team)
08 March 2018 02:17
dal
If i animate the parent one time it starts from its starting position but when i start the animation for a second time it begins from its original position again and does not stay on the last x,y,z it ended after animation. And its child follow him.
You don't need to animate a parent. You should change its position using javascript or Logic Nodes. You should understand that the animated translation and the actual translation is the same attribute of the object. If you animated any object, you always have the first and the last frame of animation. And each frame between has some value of animated attribute. it is not addable, it is constant for each animation frame. So the answer is to make seamless animatioin of jumping for child and move the origin procedurally.
Alexander (Blend4Web Team)
08 March 2018 01:37
dal

Nice animation of the virtual character and great configurator !
Alexander (Blend4Web Team)
08 March 2018 01:25
dal
Camera switch functionality is not supported, but you can simulate it by immediate translation.
You can use Move Camera node.
Alexander (Blend4Web Team)
08 March 2018 01:17
dal
Видимо я как то не так запускал, поскольку ссылка "http://localhost:6687/project/" при вводе на прямою, давала такой эффект. Попробовал через Development Tools запустить, что то докомпилилось и заработало.

При вводе "http://localhost:6687/project/" напрямую должна открываться главная страница менеджера проектов.
Получается воспроизвести проблему?
Alexander (Blend4Web Team)
08 March 2018 01:10
dal
Вторая камера не загружается ни как … хотя в JSONe есть … я проверил не один раз выводя все объекты и вызывая в лог имена

var objs = b4w.scenes.get_all_objects();
    for (var i = 0; i < objs.length; i++) {
        if (objs[i].type == "CAMERA")
            console.log(objs[i].name, objs[i]);
    }

У меня выводятся все три камеры, которые присутствуют на сцене.


при выполнении метода :
var cam_ortho_planesObj=m_cam.get_frustum_planes(camera, _mat4_tmp);

вываливается на копировании данных матрицы
/**
* Copy the values from one vec4 to another
*
* @param {Vec4} a the source vector
* @returns {Vec4} out
* @param {Vec4} out the receiving vector
* @method module:vec4.copy
*/
function copy(a, out) {
out[0] = a[0];
out[1] = a[1];
out[2] = a[2];
out[3] = a[3];
return out;
};

С СООБЩЕНИЕМ :
Uncaught TypeError: Cannot set property '0' of undefined
at Object.copy (b4w.js:5908)

В качестве параметра необходимо передавать специальный объект
вида:
{
        left:m_vec4.create(),
        right:m_vec4.create(),
        top:m_vec4.create(),
        bottom:m_vec4.create(),
        near:m_vec4.create(),
        far:m_vec4.create(),
    


Остальное посмотрю позже.
Alexander (Blend4Web Team)