Ode-based simple cloth simulation demo

Source: Internet
Author: User

Features:

1. Based on the Mass Point model, non-damping vibration and damping vibration are achieved.

2. Developed the cloth mesh.

3. Import the OBJ sphere model and simulate the soft body.

4. Calculate the volume of soft body using a simple method.


Use the mass-spring model to simulate the fabric.

 

Import the OBJ model and use the mass-spring model to simulate the soft body.
The following is the bounce of the soft body on the ground.


 

The basic practice is to apply additional force to the object, and the rest will be handed over to the ode for simulation.

If the spring cycle is not set properly, the program will crash.

If you have time, we will sort out the code and put it up to communicate with you.

 

The resource path of the original demo has some problems. Now it is updated.
Http://download.csdn.net/source/1618463

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.