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 条
  • [31] Real-time motion simulation of 3D convex rigid bodies
    Fu, You-Jia
    Yang, Ke-Jian
    Xitong Fangzhen Xuebao / Journal of System Simulation, 2007, 19 (06): : 1303 - 1306
  • [32] Realistic 3D Terrain Roaming and Real-Time Flight Simulation
    Que, Xiang
    Liu, Gang
    He, Zhenwen
    Qi, Guang
    3D RESEARCH, 2014, 5 (04): : 1 - 11
  • [33] 3D Parallel Multigrid Methods for Real-Time Fluid Simulation
    Wan, Feifei
    Yin, Yong
    Zhang, Suiyu
    3D RESEARCH, 2018, 9 (01):
  • [34] Real-time 3D fluid simulation on GPU with complex obstacles
    Liu, Y
    Liu, X
    Wui, E
    12TH PACIFIC CONFERENCE ON COMPUTER GRAPHICS AND APPLICATIONS, PROCEEDINGS, 2004, : 247 - 256
  • [35] Method of 3D real-time display of SOC photolithography simulation
    Cui, Bin
    Wan, Wang-Gen
    Tang, Jing-Zhou
    Huang, Bing
    Xitong Fangzhen Xuebao / Journal of System Simulation, 2008, 20 (23): : 6383 - 6386
  • [36] Real-Time Simulation and Rendering of 3D Smoke on GPU Programme
    Chen Ge
    Li Yunfei
    Yin Xue
    PROCEEDINGS OF THE 2009 2ND INTERNATIONAL CONGRESS ON IMAGE AND SIGNAL PROCESSING, VOLS 1-9, 2009, : 3575 - +
  • [37] Real-time 3D fluid simulation on GPU with complex obstacles
    Liu, You-Quan
    Liu, Xue-Hui
    Wu, En-Hua
    Ruan Jian Xue Bao/Journal of Software, 2006, 17 (03): : 568 - 576
  • [38] VCELL: A 3D Real-time Visual Simulation in Support of Combat
    Ahmed, Ahmed Sayed
    Moallemi, Mohammad
    Wainer, Gabriel
    Mahmoud, Samy
    PROCEEDINGS OF THE 2011 SUMMER COMPUTER SIMULATION CONFERENCE, 2011, : 225 - 234
  • [39] Real-time 3D simulation of a Pressurized Water Nuclear Reactor
    Janosy, Janos Sebestyen
    Kereszturi, Andras
    Hazi, Gabor
    Pales, Jozsef
    Vegh, Endre
    2010 12TH INTERNATIONAL CONFERENCE ON COMPUTER MODELLING AND SIMULATION (UKSIM), 2010, : 414 - 419
  • [40] 3-D graphical simulation of complete manufacturing systems in real-time
    Freund, E
    Feist, R
    Pensky, DH
    Wischnewski, R
    Proceedings of the Sixth IASTED International Conference on Control and Applications, 2004, : 29 - 34