Сообщения, созданные пользователем Юрий Ковеленов
10 августа 2017 08:59
Blend4Web somehow cases this. Leaving it here for further investigation
https://developer.blender.org/T52316
UPD fixed
https://developer.blender.org/T52316
UPD fixed
08 августа 2017 17:16
08 августа 2017 16:55
07 августа 2017 17:39
Hi Tom,
An annotation itself is a <div> element which you can make clickable with JavaScript. Here is more.
[UPD]
In turn, hiding/unhiding can be easily implemented as explained here.
Within the display there is a text link which allows the opening of a page in a new window.This appears to be made with standard HTML means. In short, the information window is implemented as a <div> element with text description and a link on it. This <div> element is shown upon mouse click on an annotation (rounded icon with "i" on it). I guess the authors used so called custom annotations in this case.
An annotation itself is a <div> element which you can make clickable with JavaScript. Here is more.
[UPD]
In turn, hiding/unhiding can be easily implemented as explained here.
07 августа 2017 16:03
07 августа 2017 15:43
07 августа 2017 14:37
Hi!
That worked but all the bolts fade at once. I need a way to fade out only a single group of bolts.Off the top of my head, you can assign a different material for each group of bolts - BoltMaterial1, BoltMaterial2, etc
And as a side question, is animating the material the only way to fade these objects out?Yes, I guess this is the only method currently available in Blend4Web.
03 августа 2017 11:54
Hi Lukasz!
WebGL apps normally cannot be run without a web server (local or on the web) - this is a security restriction imposed by the browsers. See more here: https://en.wikipedia.org/wiki/Same-origin_policy
So the Project Manager is not relevant here.
Still, you can work around this problem in the following ways:
1. Use Blend4Web HTML format based on the standard web player
2. If it is not enough, extend the functionality of the standard web player (basically, create your own application packed in a standalone HTML file). The Project Manager can help you a lot here, as you can use it for compilation of the modified Web Player app, which in turn, is used as a template by the Blender/Blend4Web HTML exporter. There was a dedicated topic somewhere on this forum on how to do that.
3. Bundle the web server with your JS app to form a desktop application. See here, here or here for example.
Hope this helps!
WebGL apps normally cannot be run without a web server (local or on the web) - this is a security restriction imposed by the browsers. See more here: https://en.wikipedia.org/wiki/Same-origin_policy
So the Project Manager is not relevant here.
Still, you can work around this problem in the following ways:
1. Use Blend4Web HTML format based on the standard web player
2. If it is not enough, extend the functionality of the standard web player (basically, create your own application packed in a standalone HTML file). The Project Manager can help you a lot here, as you can use it for compilation of the modified Web Player app, which in turn, is used as a template by the Blender/Blend4Web HTML exporter. There was a dedicated topic somewhere on this forum on how to do that.
3. Bundle the web server with your JS app to form a desktop application. See here, here or here for example.
Hope this helps!
28 июля 2017 18:14
27 июля 2017 17:05