由用户创建的信息 尤里·卡夫兰诺
27 August 2016 09:03
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!
开发主管 | 新浪微博
26 August 2016 11:26
Hi and welcome to the Blend4Web forums!
Yes, Blend4Web offers JavaScript API which you can use to modify the geometry in run-time.
Can blend4web create a dynamic product configurator that will make the 3D model stretch and grow when user types in new dimensions?
It would be like this one, except instead of choosing dimensions from a list, you type in your dimensions and it will create it to that size.
Yes, Blend4Web offers JavaScript API which you can use to modify the geometry in run-time.
开发主管 | 新浪微博
25 August 2016 18:05
Hi and welcome to the Blend4Web forums!
Are you using b4w.min.js from the deploy/apps/common directory in the SDK?
Are you using b4w.min.js from the deploy/apps/common directory in the SDK?
开发主管 | 新浪微博
25 August 2016 18:01
25 August 2016 17:39
Hi and welcome to the Blend4Web forums!
You can use the render-to-texture feature for this
https://www.blend4web.com/doc/en/textures.html#d-scene
See also this topic.
Hope this helps!
You can use the render-to-texture feature for this
https://www.blend4web.com/doc/en/textures.html#d-scene
See also this topic.
Hope this helps!
开发主管 | 新浪微博
25 August 2016 10:07
24 August 2016 14:28
What have changed between now and 15 minutes ago ? I still don't know .This is probably the browser cache. You can keep the browser console open (F12) and set it to non-caching mode.
开发主管 | 新浪微博
22 August 2016 21:09
https://habrahabr.ru/post/307952/
(нас там нет )
Негодуем, отписываемся
(нас там нет )
Негодуем, отписываемся
开发主管 | 新浪微博