Node Change Color
25 August 2016 18:01
26 August 2016 04:12
Hi Yuri Kovelenov
I can not understand the way of save the hole scene including object,material after reference of viewer app sources.
But one think understand.In storage we can able to store and get string only.
I want the method like Three.js exporter in blend4web.
Is possible to save and load again functionality in blend4web?
Pls help to acheive this.
I can not understand the way of save the hole scene including object,material after reference of viewer app sources.
But one think understand.In storage we can able to store and get string only.
I want the method like Three.js exporter in blend4web.
Is possible to save and load again functionality in blend4web?
Pls help to acheive this.
26 August 2016 04:17
26 August 2016 16:35
Hi selvaraj,
The user can save parameters in the scene, such as what models are loaded, what color and textures are applied, etc in two ways:
1. client side: serialize params in JSON string and store in the browser local storage
This way is good for temporary storing, for example if the user reloads the page you can restore his or her design by checking the storage, de-serializing and applying the data
2. server side: send params to the server and store in a database associated with the user account.
This way is good for permanent storing, such as for favorites or for manufacturing.
In any way, WebGL/Blend4Web applications are no different than regular web applications.
Hope this helps!
The user can save parameters in the scene, such as what models are loaded, what color and textures are applied, etc in two ways:
1. client side: serialize params in JSON string and store in the browser local storage
This way is good for temporary storing, for example if the user reloads the page you can restore his or her design by checking the storage, de-serializing and applying the data
2. server side: send params to the server and store in a database associated with the user account.
This way is good for permanent storing, such as for favorites or for manufacturing.
In any way, WebGL/Blend4Web applications are no different than regular web applications.
Hope this helps!
01 September 2016 08:03
01 September 2016 09:46