Forum

Dynamic cloth simulation

17 May 2017 22:02
Hi there,

I just discovered Blen4Web and I am definitely impressed by the technology. Good job !

I am currently working on a project that aims to dress an avatar dynamically via a catalog of products. The user clicks on an item and it loads an asset into the scene.
I was wondering if there was a way to add some sort of cloth simulation to give the clothes a more realistic look.
I saw the tutorial on the cloth simulation workflow. I am wondering if there was a similar workflow where I could:
1. load an empty scene
2. load an avatar from blend / json files
3. load a piece of cloth from blend / json files

The avatar would depend on some measurements that the user inputs.
The piece of cloth will be load separately as well.

Thank you !
18 May 2017 11:58
Have a look in your SDK at the Cartoon Interior project: Blend4web_sdk/apps_dev/tutorials/cartoon_interior/cartoon_interior.html.

Or online here: https://www.blend4web.com/apps/tutorials/cartoon_interior/cartoon_interior.html
This projects loads a scene and then loads JSON file objects as the user clicks buttons. So each JSON object was exported from its own Blender file.

Hope that helps.
 
Please register or log in to leave a reply.