由用户创建的信息 dal
12 February 2018 11:51
I've attached and example. Is this what you want to achieve?
Note that there are two approaches:
1) using Set Camera Move Style node (the entry point is muted)
2) using Move Camera node
The second approach has more smooth result because it has less calculations which could cause data lost and thus cause twitching.
Note that there are two approaches:
1) using Set Camera Move Style node (the entry point is muted)
2) using Move Camera node
The second approach has more smooth result because it has less calculations which could cause data lost and thus cause twitching.
Alexander (Blend4Web Team)
12 February 2018 11:22
12 February 2018 11:15
Use tag input with type=file https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file
Alexander (Blend4Web Team)
12 February 2018 10:48
Hello Alexander, if I export the project with Project Manager, the problem come back again . Do you have any idee ?
Maybe I misunderstood.
What do you mean when you are saying "export"? Is this a project export command that allows you to import your project into another SDK, e.g. installed on a different computer? In this case you should apply the same patch on that SDK.
If you mean "deploy", then as I 've already said, you should first recompile the engine. And if you are using webplayer, you should recompile it: from project manager find Webplayer app and click "build project". Then try to build your own project and deploy it.
Alexander (Blend4Web Team)
09 February 2018 12:30
08 February 2018 15:14
Здравствуйте!
Не могли бы вы уточнить, какой результат вам нужен? Должны ли быть скопированы припэрэнченные объекты? В данный момент в этой области архитектура движка довольно слаба, поэтому желательно знать что конкретно вы хотите сделать, чтобы мы придумали наиболее эффективный путь.
Не могли бы вы уточнить, какой результат вам нужен? Должны ли быть скопированы припэрэнченные объекты? В данный момент в этой области архитектура движка довольно слаба, поэтому желательно знать что конкретно вы хотите сделать, чтобы мы придумали наиболее эффективный путь.
Alexander (Blend4Web Team)
08 February 2018 12:53
Посмотрите серию статей по материалам. Готовый материал алмаза доступен в pro-версии.
Alexander (Blend4Web Team)
08 February 2018 11:02
08 February 2018 10:56
I would do it this way (check send_req_examp.blend)
Alexander (Blend4Web Team)
07 February 2018 11:59
Ok, now I understand.
Just one thing is still not clear fro me. What means "export the colors". Will the "exported colors" be downloaded by the user in json format? Or the colors should be sent to the server in json format? I supposed that your case is second. And in this case you can use logic nodes in the way I mentioned.
Second approach is to modify WebPlayer.
Your html bundle was created from Webplayer app and json resource. So if you want to keep the webplayer controls, you should modify the original webplayer
Third approach is to create your own app.
1) Your example is an html bundle. It is obfuscated and not intended for editing. So you should have source blend-file.
2) Create a new project in Project Manager
This project will have separate html, js, and json
3) move your blend-file to the projects/your_project/blender directory, textures to the projects/your_project/assets
4) Replace the json of this new created project (projects/your_project/assets) with your json. To make this you should export your blend-file to json (Blender: File->Export->Blend4Web(json))
After all these steps your application should be able to run and show the same picture as it was except that there will be no webplayer controls at right bottom corner.
Since the original app uses Logic Nodes, you should establish interaction between javascript and nodes.
Just one thing is still not clear fro me. What means "export the colors". Will the "exported colors" be downloaded by the user in json format? Or the colors should be sent to the server in json format? I supposed that your case is second. And in this case you can use logic nodes in the way I mentioned.
Second approach is to modify WebPlayer.
Your html bundle was created from Webplayer app and json resource. So if you want to keep the webplayer controls, you should modify the original webplayer
Third approach is to create your own app.
1) Your example is an html bundle. It is obfuscated and not intended for editing. So you should have source blend-file.
2) Create a new project in Project Manager
This project will have separate html, js, and json
3) move your blend-file to the projects/your_project/blender directory, textures to the projects/your_project/assets
4) Replace the json of this new created project (projects/your_project/assets) with your json. To make this you should export your blend-file to json (Blender: File->Export->Blend4Web(json))
After all these steps your application should be able to run and show the same picture as it was except that there will be no webplayer controls at right bottom corner.
Since the original app uses Logic Nodes, you should establish interaction between javascript and nodes.
Alexander (Blend4Web Team)