One of the special problems of physical simulations is handling deformable material. These materials can have an extremely complex behavior and their simulation demands time consuming algorithms. However, there are a wide variety of these materials: for example rubber, textile, body tissue etc. Simulation of these materials is often required in real time systems, so faster, approximating solutions have been made.
This document aims to show how position based dynamics works and, with the help of this method, it is possible to create a physical simulation, which runs most of its calculations on the graphics processing unit. The document details the difficulties that emerge while implementing the algorithm and presents some test scenes where, with the help of the method, the behavior of deformable and plastic materials can be examined.
The implementation of the algorithm was successful. If the parameters of the program are appropriate, it is possible to create realistic results even in real time.