User posts Yuri Kovelenov
10 October 2015 18:27
Hi LuneBrain and welcome to the Blend4Web forums!
halo.blend
halo.html
See also here for supported halo settings.
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
06 October 2015 17:14
Hi and welcome to the Blend4Web forums!
Otherwise, you can use plain HTML/CSS and some JavaScript programming to make HUD, as it is done in this example.
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.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).
As example, something like the Mi-34 Hermit demo.
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
02 October 2015 07:36
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
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 wish such rigs (skinning + shape keys) were supported in Blend4Web but unfortunately they are not supported for the moment.
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.
So, I'v tried to bake each mesh concerned in "vertex animation", and then, in the export, it works.Yep, this may be a workaround only in some cases when your model is low-poly and the animation is short.
BUT : The file has became hundred times bigger !!! unloadable on the web !!
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:Awesome review, thank you!
https://www.youtube.com/watch?v=38CtvfvykAo