Real-Time Cloth Simulation Using Compute Shader in Unity3D for AR/VR Contents

被引:9
|
作者
Va, Hongly [1 ]
Choi, Min-Hyung [2 ]
Hong, Min [3 ]
机构
[1] Soonchunhyang Univ, Dept Software Convergence, Asan 31538, South Korea
[2] Univ Colorado, Dept Comp Sci & Engn, Denver, CO 80217 USA
[3] Soonchunhyang Univ, Dept Comp Software Engn, Asan 31538, South Korea
来源
APPLIED SCIENCES-BASEL | 2021年 / 11卷 / 17期
基金
新加坡国家研究基金会;
关键词
cloth simulation; Unity3D compute shader; mass-spring system; constraint enforcement; MASS-SPRING MODEL; GPU; DEFORMATION; SYSTEMS;
D O I
10.3390/app11178255
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
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.
引用
收藏
页数:20
相关论文
共 50 条
  • [1] One Improved Real-Time Infrared Simulation System Based on Unity3D
    Zhang F.
    Wang T.
    Huang K.
    Mao J.
    Li M.
    Wang Z.
    Wang, Zhangye (zywang@cad.zju.edu.cn), 2018, Institute of Computing Technology (30): : 1177 - 1186
  • [2] Development of AR/VR Project Based on Unity3D Engine
    Liu, Lina
    Wang, Ran
    Xu, Shenwang
    Bai, Yu
    3RD ANNUAL INTERNATIONAL CONFERENCE ON INFORMATION SYSTEM AND ARTIFICIAL INTELLIGENCE (ISAI2018), 2018, 1069
  • [3] Simulation Approach to Sensor Placement Using Unity3D
    Chang, Kimberlee Chestnut
    Lane, Nicole
    Uhmeyer, Andrew
    Jones, Michael
    Hubbell, Matthew
    Reuther, Albert
    Seater, Robert
    2018 IEEE HIGH PERFORMANCE EXTREME COMPUTING CONFERENCE (HPEC), 2018,
  • [4] Low-Fidelity Radar Implementation for Real-Time Ship Manoeuvring Simulator with Unity3D
    Leite, B. G.
    Pereira, M. A. U.
    Szilagyi, E.
    Tannuri, E. A.
    TRANSNAV-INTERNATIONAL JOURNAL ON MARINE NAVIGATION AND SAFETY OF SEA TRANSPORTATION, 2023, 17 (04) : 945 - 951
  • [5] Real-Time Surface-Based Volume Constraints on Mass-Spring Model in Unity3D
    Va, Hongly
    Choi, Min-Hyung
    Hong, Min
    IEEE ACCESS, 2023, 11 : 17857 - 17869
  • [6] Convolutional Neural Network-Based Virtual Reality Real-Time Interactive System Design for Unity3D
    Li, Hongxia
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [7] Real-time Virtual Cloth Wrinkle Simulation using Energy Minimization
    Ma, Yu-Cai
    Long, Hai-Ru
    TEXTILE BIOENGINEERING AND INFORMATICS SYMPOSIUM PROCEEDINGS, VOLS 1-3, 2010, : 1107 - 1112
  • [8] MagicMirror: A 3-D Real-Time Virtual Try-On System Through Cloth Simulation
    Huang, Zhanyi
    Zhao, Wenqing
    Guo, Tangsheng
    Huang, Jin
    Li, Ping
    Sheng, Bin
    ADVANCES IN COMPUTER GRAPHICS, CGI 2023, PT II, 2024, 14496 : 287 - 299
  • [9] Simulation of Static and Dynamic Evacuation Algorithms in Intelligent Buildings Using Unity3D
    Waechter, Tim
    Droegemeier, Justin
    Hoffmann, Martin
    2021 17TH INTERNATIONAL CONFERENCE ON INTELLIGENT ENVIRONMENTS (IE), 2021,
  • [10] A real-time cloth draping simulation algorithm using conjugate harmonic functions
    Kang, Moon Koo
    Lee, Jeongjin
    COMPUTERS & GRAPHICS-UK, 2007, 31 (02): : 271 - 279