Forum

User posts Mikhail Luzyanin
03 February 2017 11:51
my script contains boolean functions, then decimate, wireframe, subdivision, solidify.
Sorry, but Blend4Web dosn't support modifyers and their dynamic applying. You can apply all your modifyers and then export the result to the blend4web engine.

GUI buttons can be made using HTML code or Blend4Web logic node system.

So, I think you will need to remake all that you made in some different way than more native to the web. Instead of python you will need to use javascript, instead of Blender Game Logic you will need to use JavaScript code or Blend4Web Logic Node System if it fits your needs, and so on…

Can you tell us wat you want to achieve and we can offer you another solution which can be implemented using Blend4Web tools.
Blend4web and that kind of thing.
03 February 2017 10:36
If I were to rotate the scene before using one of these "links" the "Link" would be broken as in the node tree would be ignored until I reloaded the project. I figured it out though. Thank you for your response.
Maybe it's a bug, can you attache an example of broken file?
Blend4web and that kind of thing.
03 February 2017 10:34
I have a rigged character that is disappearing when looked at from certain angles. However, if I remove the armature modifier from the mesh it looks fine and the same if I remove all the vertex groups. Creating a new camera didn't fix anything either. I've also unparented the mesh from the armature as well. Hope that all makes sense.
HI! Try to set "Disable Frustram culling" on character's geometry. If it won't help please attache an example with blend file so we can study it diply and find the problem.
Blend4web and that kind of thing.
03 February 2017 10:29
Let me elaborate, I am making a web store for boxes. I want my customers to use the
interface and change the size of the box there and see it in 3D and after finalising the materials
to be used they place the order.
Welcome! Can you show us some examples of customization you want to create (may be examples of different boxes or already existing customizer), so to be shure that we give you exact answer and may be we give you some recomendation how to achieve this.
Blend4web and that kind of thing.
03 February 2017 10:24
Hello,
I have already create a project in blender with some boutons that run script python to modeling object 3D.
Now, I want to run my project with buttons ovec the web, that's why i install blend4web.
I want to display also my buttons or create a buttons which run my script python.
I already search on logic editor but i don't found the solution;
Can you help me with a tutorial or an example to do this?
Thanks

Good morning! What exactly you want from scrypt to do. Please specify it's action. Some of things can be implemented using logic node system, otherwise you need to code it in javascript (not python), or may be it can be done with combination of logic node system and a part of javascript code.

is there any reply?
I think we have a different timezone, so you wrote when we all already gone to sleep.
Blend4web and that kind of thing.
02 February 2017 10:35
Wow. That's so straightforward. I'm so glad I asked you. That would have taken me forever to figure it out.
Glad that pointed you to the right way.
I have two more question:
1. In the helicopter scene (here), all the numbers(1,2,3,4,5) on the markers and the two expanded insets (x2 and x3) are always facing the camera when I rotate the camera. How is this achieved? I looked at the blender file and they are not anchored or meta-taged (it's weird that the anchor option is not even shown on the property panel)
There's a special option on the object called Billboaring. You can enable this option on any object and this object always stay in front of you with -Y-axis.

2. It looks like that materials and lights are rendered differently in Cycles Render and Blend4web/browsers(Maybe I am doing something wrong). I guess it makes sense cause the engines are different. So should I just do modeling and animation in blender, and do materials and lighting solely in blend4web? I feel that it would be waste of time trying to tweak the materials in Cycles Render since it doesn't entirely carry over to blend4web.
To avoid errors it better for you to use nodes that showed only in Blend4Web engine mode. Some of Cycles Node Material already supported but they still in development mode, so they not recommended to use in production.
Blend4web and that kind of thing.
01 February 2017 18:24
Yes, I have watch several tutorials about making the button. But it seems like if I parent the button it to the camera, it will get behind the models if I zoom in and get too close to the models. But this doesn't happen in the OLED display scene. Is there any tricks to avoid that? Thank you!
There's a little trick. On the material you can find a special checkbox with name "Render Above All", so as you can see by the name this material will be rendered above all other objects. So, you can set this checkbox on your button's material and it will be always visible. You can read about it here.
Blend4web and that kind of thing.
01 February 2017 16:12
2. If I code all the buttons in html, how should I add interactivity to the buttons to manipulate the models? Is there any good examples that I can look at?
It was made using Blend4Web logic node system that allows to create a simple interactivity in a scene by combination of differet logic nodes. You can read about logic nodes in our documentation and find some tutorials on our youtube chanel. Buttons was created directly in Blender and then paranted to the camera.
Blend4web and that kind of thing.
31 January 2017 18:34
Hi Mikhail,

Thanks for the reply! Your suggestion was a great success :)
Glad to hear that it helps.^)
Blend4web and that kind of thing.
31 January 2017 18:33
Hi all,

I just learned how to import an HDRI to blend4web thanks to the blend4web forums.

As a follow up question, I would like to know if it is possible for a model to cast a shadow on the world texture.

My question is the same as found in this link: http://blender.stackexchange.com/questions/518/how-to-make-a-model-cast-shadows-onto-the-world-texture-background. I would like to know how it is possible to apply this in blend4web.

Thank you very much!
No, world texture (or cubemap) render shadeless, so it can't recieve any shadow, but you can create a fake plane with the shadow recieve on it. You can see the implementstion of this in Fountain demo on our site. Most of environment in the scene is the cubemap but a part near the fountain is a special mesh with simple shader wich make a bridge between cube map and fountain's pedestal.
Blend4web and that kind of thing.