论坛

由用户创建的信息 尤里·卡夫兰诺
10 December 2014 15:12
Hi Marc,

Nice to meet you on our forum! You'll be answered shortly
开发主管 | 新浪微博
10 December 2014 03:56
Also, if I wanted to give a transparent background to a B4W-generated .json file, where would I place the code
Please check the balloons mini app for background transparency - it is enabled by setting the alpha initialization parameter to true.
开发主管 | 新浪微博
09 December 2014 21:31
Good to know about the strip length, and it makes sense. However, having just looked at the Blend file I posted, I don't see where to set the length for a sound file or NLA strip.
This can be done in the NLA editor:

Please check out this tutorial for sound+NLA setup

I assumed the node layout for the watch and sunglasses were made in and exported from Cycles.
So called shader nodes resemble Cycles but they are able to work in realtime and so can be exported to Blend4Web. They are covered in detail in almost every of our tutorials for artists. Baking can also be useful - e.g. the matcap texture for gold was baked in Cycles first and then used for the material.
开发主管 | 新浪微博
09 December 2014 20:03
Hi Duarte,

We got a reflection test here (attached) - please check your and our settings. BTW, we currently support plane reflections only. If you need window reflection you may probably want to use cubemaps instead of dynamic reflections (e.g. like on the sports car windows).

Looking at your screenshot - does the yellow material have alpha blend setting enabled too? The conflicting alpha blend surfaces could be a likely reason for this disappearing.

Edit: the transparency should not have any effect on reflectivity, e.g. water in this demo perfectly reflects things.
开发主管 | 新浪微博
09 December 2014 19:08
Thanks we'll take a look.
开发主管 | 新浪微博
09 December 2014 11:39
offtopic: Here is a paper towel rack my dad had made, I made it as b4w for a quick test
Looks great, thanks for sharing!
开发主管 | 新浪微博
09 December 2014 11:15
more important than random selection is both Chrome and FireFox to handle the audio properly. IE would also be nice.
Could you please post here the source files for your test case (including sounds). That would speed up the bug fixing process much. Thanks!
cannon.js is not being updated, so far as I can tell, and has not been for awhile.
Yeah this isn't an easy job, to make a full-fledged physics engine.
I look forward to reading what the team comes up with!
Stay tuned, there will be some cool things by Christmas.
开发主管 | 新浪微博
09 December 2014 11:03
New item is available (via Aspectek's twitter).
Direct link



I would be great if the user could press the remote's buttons to see what happens. Possible with NLA Script.
开发主管 | 新浪微博
09 December 2014 10:58
开发主管 | 新浪微博
09 December 2014 10:41
random selection of multiple speakers assigned per tube would be awesome. This is just a test, not a "serious" project, but something I would build upon if it was readily available. And by "it". I mean working audio in at least Chrome and FF, and a random selector of audio sources.
That is now possible through coding only, as it is too advanced task for the NLA Script for now.
Here is a page that when you shoot the ball and it hits the floating plank, it switches to another page.
Just to mention - it appears that cannon.js physics is not frame independent - I get very different ball fly speed at 60 and 300 FPS.
Give the world that in B4W!
Sure! Our guys are now preparing the other parts of the gamedev tut to demonstrate these and other possibilities.


开发主管 | 新浪微博