Real-Time Cloth Simulation Using Compute Shader in Unity3D for AR/VR Contentsopen access
- Authors
- Va, Hongly; Choi, Min-Hyung; Hong, Min
- Issue Date
- Sep-2021
- Publisher
- MDPI
- Keywords
- cloth simulation; Unity3D compute shader; mass-spring system; constraint enforcement
- Citation
- Applied Sciences-basel, v.11, no.17, pp 1 - 20
- Pages
- 20
- Journal Title
- Applied Sciences-basel
- Volume
- 11
- Number
- 17
- Start Page
- 1
- End Page
- 20
- URI
- https://scholarworks.bwise.kr/sch/handle/2021.sw.sch/19824
- DOI
- 10.3390/app11178255
- ISSN
- 2076-3417
- Abstract
- Featured Application The proposed method can be applied to represent the cloth object in Unity3D for AR/VR application, interactive game development, force-based deformable object simulation, etc. While the cloth component in Unity engine has been used to represent the 3D cloth object for augmented reality (AR) and virtual reality (VR), it has several limitations in term of resolution and performance. The purpose of our research is to develop a stable cloth simulation based on a parallel algorithm. The method of a mass-spring system is applied to real-time cloth simulation with three types of springs. However, cloth simulation using the mass-spring system requires a small integration time-step to use a large stiffness coefficient. Furthermore, constraint enforcement is applied to obtain the stable behavior of the cloth model. To reduce the computational burden of constraint enforcement, the adaptive constraint activation and deactivation (ACAD) technique that includes the mass-spring system and constraint enforcement method is applied to prevent excessive elongation of the cloth. The proposed algorithm utilizes the graphics processing unit (GPU) parallel processing, and implements it in Compute Shader that executes in different pipelines to the rendering pipeline. In this paper, we investigate the performance and compare the behavior of the mass-spring system, constraint enforcement, and ACAD techniques using a GPU-based parallel method.
- Files in This Item
- There are no files associated with this item.
- Appears in
Collections - ETC > 1. Journal Articles
![qrcode](https://api.qrserver.com/v1/create-qr-code/?size=55x55&data=https://scholarworks.bwise.kr/sch/handle/2021.sw.sch/19824)
Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.