论坛

由用户创建的信息 尤里·卡夫兰诺
10 October 2015 18:27
Hi LuneBrain and welcome to the Blend4Web forums!
I am now using the Halo Texture to be able to visualise each vertex as a little white dot (so it looks like the original evanescent pointcloud) which works well in blenderrender but nothing is displayed when I run the html exported file in my browser.
Please take a look at my Halo material setup:
halo.blend
halo.html
See also here for supported halo settings.
开发主管 | 新浪微博
08 October 2015 21:24
Hello and welcome!
I wanted to know if it is possible to focus a scenes Eye camera on an object, with an object name. I understand how to get the obj from the scene using "get_object_by_name", but once i have that objext how do i focus my camera on it?
This can be done using the camera.set_look_at() method. You might retrieve the object's position and use it as a target.
开发主管 | 新浪微博
06 October 2015 18:08
Оффтоп- хостинг кейс сенситив ak47 неравно АК47.. А локально - равно!
Переходите на Linux, будет как на сервере.
开发主管 | 新浪微博
06 October 2015 17:14
Hi and welcome to the Blend4Web forums!
I'm looking for someting like a head up display, a 2D object (like a text menu, for example) that always look at the camera and don't change its position and dimensions while rotating and moving my camera.
As example, something like the Mi-34 Hermit demo.
This can be done by parenting UI elements to the camera, like in this demo (the corresponding blend file can be found in the SDK).
Otherwise, you can use plain HTML/CSS and some JavaScript programming to make HUD, as it is done in this example.
开发主管 | 新浪微博
03 October 2015 20:46
Hi!
Could you please show the logic node setup for the drawer demo that you had in the blog post?
This example's blend file can be found in the SDK at blender/interactivity/node_play_anim.blend (also on github)
开发主管 | 新浪微博
02 October 2015 07:36
В случае динамически загружаемых сцен используйте метод с указанием второго аргумента - идентификатора сцены.

var object= m_scenes.get_object_by_name("objects1FileObject1", 1);
开发主管 | 新浪微博
01 October 2015 20:49
Hi,
Is there a way to scale along an axis with the API? TSR and set_scale() only allow for a single number, but if I wanted to stretch an object along the Z-axis, how would I do that?
Although Blend4Web does not support non-uniform scaling, you can easily achieve the stretching effect by using shape keys. Please see this code snippet for an example of how to use them.
开发主管 | 新浪微博
01 October 2015 18:51
В этом видео (на англ.) есть краткий обзор менеджера проектов.
https://www.youtube.com/watch?v=38CtvfvykAo
开发主管 | 新浪微博
01 October 2015 15:44
Hi Nicolas, it is a pleasure to meet you!
Now my new problem is with shape keys.

I've tried to export an animation with shape keys controlled by a driver in an armature.
It doesn't work.
The rig works in the html export, ( i've even baked the action to have IK working correctly ) except for the shape keys.
The morph doesn't show.
I wish such rigs (skinning + shape keys) were supported in Blend4Web but unfortunately they are not supported for the moment.
So, I'v tried to bake each mesh concerned in "vertex animation", and then, in the export, it works.
BUT : The file has became hundred times bigger !!! unloadable on the web !!
Yep, this may be a workaround only in some cases when your model is low-poly and the animation is short.
So my question is : i've seen the examples where a slider can make shape keys work, but how to do it with the drivers from bones of the armature instead of a slider ? I mean, it doesn't need to be changed manually by the user, but to be animated in the nla after a select and play for example.
Implementing shape key animation has been added in our TODO list!
开发主管 | 新浪微博
01 October 2015 07:31
I just finished a video on some of the new features of release 15.09:
https://www.youtube.com/watch?v=38CtvfvykAo
Awesome review, thank you!
开发主管 | 新浪微博