Forum

User posts Mikhail Luzyanin
07 December 2016 14:11
I managed to combine some of the animated materials together (had 5 animated water and 2 gas materials before, now 1 each) and got rid of the extra mask textures (before 4, now 2). I cleaned up all the extra materials from the Blender file as well. I took new screenshots from the viewer (see att.) and as you can see the textures take now nearly 30 megs less than before. Unfortunately, the result was really minimal, the load still takes about 50 seconds instead of 30 as before adding the animations. Any other ideas - besides cleaning up the meshes (which I will do anyway soonish…)?
Yes, I see that amount of draw calls has decreased, but there's still lot of tham. Also optimisation of amount and image size can help. May be you can send your application (or just a animated part) in the support email, so we can look on it deeply.
Blend4web and that kind of thing.
07 December 2016 10:19
I know now what's causing it, I can hopefully do something about it.
Let us know if additional help needed.
Blend4web and that kind of thing.
06 December 2016 19:21
Thanks Mikhail,

Here are the screenshots, hope they help to analyse what's going on in the scene. Clearly the geometry and the textures take both a huge junk of MiBs, so I think they are the ones I need to go through first. However, the loading process slowed down remarkably when I added the animations and with them the new transparent materials. Any tips would be greatly appreciated!
Yes, I analysed your screenshots, It's really helpfull for understanding the problem. As, I said before it's not due to amount of animation, rather directly. So, I'll try to explaint. When you add any animation to an object it makes it dynamic, so that maked them independent from other objects. All objects with the same material batched into one meta-object, but after that each of this object started to be independent and created a so called "Draw Call" (you can see the amount of then in the top-right corner) each of this objects started to render separatly. This increases the load on the GPU.
So, you need optimize your objects in that way: combine as many materials into one material, may be you can make one animation for longer part of tubes and then play it step by step using NLA animation strip. It's only the way. So, than less the draw calls then better for perfomance, than less the dynamic objects than better for perfomans. You can add huge amount of animations but if they all will be played on only one dynamic object - this will increase perfomance of your application.
Blend4web and that kind of thing.
06 December 2016 15:43
Only downside with this setting is that because of all the animations, the loading time of the data in the beginning has nearly doubled even though the amound of data in MiBs hasn't actually grown much at all. Is there any way optimize the animations so that the load wouldn't take that long? Or is there an better way to change the materials, perhap
Most of animations are very simple, event for shaders so they can't slow loading too much, but complex materials and very big amount of them can. Can you make a screencshot from viewer with the loaded scene in it with hud info on. I marked with red which information will be helpfull to understand what slows it.


It's also will be helful if you send us a screenshots with Batch View, Opaque Wireframe and Render Time debug modes on.
Blend4web and that kind of thing.
05 December 2016 14:44
Может пора выпускать е-бук?
Blend4web and that kind of thing.
02 December 2016 18:52
Накидал "тяп-ляп", но, думаю принцип передаёт…
Карта уменьшена в 100 раз.
Спасибо за пример, мы посмотрим в чём проблема.
Blend4web and that kind of thing.
02 December 2016 17:32
Не помогает
Заметил это давно, но тогда с применением процедурных материалов, если найду файлик то скину, или попробую новый наваять.
Да было бы неплохо получить файл для анализа.
Blend4web and that kind of thing.
02 December 2016 16:58
Как избавиться от этого "муара" при движении камеры? Текстура масштабирована.
Тени на объекте включены? Возмонжно это самозатенение "муарит". Попробуйте покрутить во вьювере Blend4Web настройки теней Self-shadow polygon offset и Self-shadow normal offset.
Blend4web and that kind of thing.
02 December 2016 10:14
Ну Blend4Web тут точно не причем, это какие то настройки в блендере не дают. Возмонжно вы случайно залочили каналы по которым можно пробить ключи в данной анимации или что то еще. Так трудно понять, нужно смотреть файл.
Blend4web and that kind of thing.
01 December 2016 10:33
我们公司正在尝试使用你们的blend4web的产品,我们想把3d人物放在360全景图背景中。我们是在blend中用uv sphere制作360全景背景,现在遇到了问题,当我们把图片贴在sphere上,在sphere中看图片是反面的,所以我们想把图片贴在sphere内部,在sphere内部看是正面。请问我该怎么做?

嗨 您好,

您需要反转您的球体模型的法线。 这应该可以解决这个问题。
Blend4web and that kind of thing.