由用户创建的信息 Evgeny Rodygin
15 January 2016 10:58
Hello, Nils!
You can make this kind of stuff with B4W easily. It is a general Mirror Map
Furthermore, you can create even dynamic cube reflections which were introduced in 15.05.
Please, check this demo
You can make this kind of stuff with B4W easily. It is a general Mirror Map
Furthermore, you can create even dynamic cube reflections which were introduced in 15.05.
Please, check this demo
15 January 2016 10:30
14 January 2016 19:07
Hello and welcome to the forum!
What browser versions do you use? Does this error remain with the latest Chrome canary build?
Could you also post listings from chrome://gpu/ and from http://webglreport.com/?
What browser versions do you use? Does this error remain with the latest Chrome canary build?
Could you also post listings from chrome://gpu/ and from http://webglreport.com/?
14 January 2016 12:34
Ответ на сообщение пользователя LukeVideoHello!
Hello everybody.
I am trying to understand the manifold structure. I created a simple project. I created the starter files with the project manager. I edited the JS file but nothing seem to happen. Even if i break it on purpose nothing happens in the console of the web browser…
Any ideas?
An Zip of the project is attach to this post.
I suppose, you have reexported colision.html file with Export->Blend4Web(.html). This type of export can't work with js scripts. It packs everything into one file. Only JSON can be used here.
I created a new project. The code works. It's something to do with expoting Json i think?!!You can check our tutorials here. I switched to programming tutorials under this link.
If i want to find information or education material for javascript programming with Blend4Web what should i bee looking for?
I already found a couple of video on higher order function. That helped to understand manifold and how all that fits together. Is their a keyword or something that could help me?
Also i have to get a little familiar with the IPA. I haven't done much more than launch a couple of functions to change DOM elements in a web page… Nothing like building a webgl app !
Manifolds&sensors are core conceptions of b4w programming, so you are on the right way
Btw, we realize that we don't have enough material for novices, so we've started working on a series of such tutorials. We'll try to make them as clear as possible.
13 January 2016 13:06
Hi!
With regards to the door opening issue, it made sure the material was set to Special: Collision but the problem persisted. I did some testing by moving the room forward and left the door behind and I was able to go through the opening. It seems that once the door moves, it seems to leave behind a 'ghost' of itself which continues to block the opening. I have attached the blend file.Currently, moving objects with static mesh physics is not possible. We need to clarify this moment in the docs. In order for your example to work you need to enable Object Physics flag in object's physics settings instead of Special: Collision on its material. And it is better to apply scale for the door object (Ctr+A -> Scale).
Regarding the beer can dropping, I have placed the code in the .js file and ensured the objects were named appropriately. I left the sensor manifold ID as "SOME_UNIQUE_ID", assuming that it was not important what it was called. )ID here is an important param. You have assigned "ROOM" id to the Floor material. This id should be placed instead of "SOME_UNIQUE_ID".
However, I still did not hear any sound when the can falls. I noticed that the var_sensor is set to 'false', is this correct? (The beer can is the one that rolls off the right side of the table when the scene opens)You can always check what function parameters mean in our API doc. In our case the function create_collision_sensor uses the last param to check if it should calculate position and normal of the collision point.
10 January 2016 01:21
09 January 2016 19:40
09 January 2016 19:18
Nevertheless I really think that you could, with a few extra new nodes, be as powerful as the BGE. Specially with the all node 2.8 promises… Did you ever think of that as a opportunity?We would definitely improve logic editor. Actually, that's what we were discussing with Ton Roosendaal. Users have to be able to prepare everything in Blender and just export it to b4w without any additional coding. But anyway, serious projects should be written with JS because of performance matters and flexibility which can't be achieved with node logic.
I have controls for my character in a node-tree. Can I detect collision trigger a animation in JS while keeping controls in node?Yes, this should work.
08 January 2016 23:24
Ответ на сообщение пользователя дилетантМожет быть много разных проблем. Обычно для статической физики используются физические материалы, которые используют весь меш в качестве объекта соударения. О них можно прочитать здесь.
Добрый день! Сделал передвижение персонажа как в уроке "Управление от первого лица и физика" только без захвата мыши, но при направлении камеры к полу и нажатии клавиши "W", объект не остаётся на определённой высоте, а начинает сползать вниз и проходит через пол, хотя на пол выставлено "Object phisics"…
Важно понимать, что опция "Object physics" переопределяет физические настройки материала, поэтому её нужно будет отключить на объекте.
Вообще, тут нужно смотреть на ваш пример.
08 January 2016 23:17
Ответ на сообщение пользователя КириллДля этого существует опция Z Offset, которую можно найти в Дополнительных настройках материала.
… Как сортировать отображение текстур с альфа каналом?