Cloth Simulation from 3D Object

Anonymous 9 years ago 0
This discussion was imported from CodePlex

charismatubagus wrote at 2013-02-20 06:49:


I would like to know how I can load 3D Cloth Simulation file such as .obj from external software like Blender. Please reply with sample codes. Thanks a lot.

objo wrote at 2013-03-12 11:47:

It should be possible to load standard .obj files, use the ObjReader class. The Read method will return a Model3D. I don't know of any 'cloth' properties in the .obj file format, can you provide a link?

adrianreza wrote at 2013-03-25 03:51:

Hi, I have same question but little different, how can I implement cloth simulation with cloth model exported from 3D software like blender. I saw the cloth examples with flag model, is it possible for helixtoolkit to create similiar cloth simulation with cloth model and combine it with kinect sensor? Thanks.

objo wrote at 2013-04-15 12:57:

The VerletIntegrator may be reusable, but I will probably move this out of the library soon. I think you need a real 3D physics engine if you need to solve more advanced models. The cloth example was just a small test on WPF3D performance based on Thomas Jakobsens 'Advanced Character Physics' article.

The Kinect sensor is not supported in the toolkit (I don't want to add a reference to the Kinect SDK), but there is an example how to use Kinect with the toolkit!