Skip to main content
Log in

Parallel cloth simulation with effective collision detection for interactive AR application

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

In this paper, we present a parallel cloth simulation with an efficient collision detection algorithm for interactive AR applications. In the first step of the proposed method, a set of sphere colliders is automatically defined for the 3D moving object colliding with a cloth model for the effective collision detection even on low-end devices. In the second step, the collision detection and handling between a set of sphere colliders and a cloth model are performed in parallel. We propose an efficient collision handling method based on a sphere to prevent the penetration of cloth into the object which can be happened due to the low mesh resolution of the cloth model. The proposed method was implemented as a plugin for Unity which is widely used for the real-time game development. Comparative experimental tests with the cloth object basically provided by Unity was performed in order to analyze the performance of the proposed method. As a result, we confirmed that the proposed method can reduce the cumbersome work to manually build colliders on a 3D model, and can effectively express more accurate and plausible behavior of the cloth that collides with the object.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. Chen J, Zheng Y, Song Y, Sun H, Bao H, Huang J (2017) Cloth compression using local cylindrical coordinates. Vis Comput 33(6–8):801–810

    Article  Google Scholar 

  2. Cirio G, Lopez-Moreno J, Oaduy MA (2017) Yarn-level cloth simulation with sliding persistent contacts. IEEE Trans Vis Comput Graph 23(2):1152–1162

    Article  Google Scholar 

  3. De Aguiar E, Sigal L, Treuille A, Hodgins JK (2010) Stable spaces for real-time clothing. ACM Trans Graph (TOG) 29(4):106

  4. Fourth order Runge-Kutta. https://en.wikipedia.org/wiki/Runge%E2%80%93Kutta_methods

  5. Kaldor JM, James DL, Marschner S (2010) Efficient yarn-based cloth with adaptive contact linearization. ACM Trans Graph (TOG) 29(4):105

  6. Liu L, Wang R, Su Z (2014) Mesh-based anisotropic cloth deformation for virtual fitting. Multimedia Tools and Applications 71(2):411–433

    Article  Google Scholar 

  7. Macklin M, Müller M, Chentanez N, Kim, TY (2014) Unified particle physics for real-time applications. ACM Trans Graph (TOG) 33(4):153

  8. Mass-spring system. https://en.wikipedia.org/wiki/Mass-spring-damper_model

  9. Pei S, Zhang J, Jiang L, Kim MS, Gaudiot JL (2016) Reevaluating the overhead of data preparation for asymmetric multicore system on graphics processing. KSII Trans Internet Inf Syst 10(7):3231–3244

    Google Scholar 

  10. Ray-Sphere intersection. https://www.siggraph.org/education/materials/HyperGraph/raytrace/rtinter1.htm

  11. Rodríguez-Navarro J, Susín Sánchez A (2006) Non structured meshes for cloth GPU simulation using FEM. In: 3rd workshop in virtual reality interactions and physical simulation. EUROGRAPHICS, Madrid, p 1–7

  12. Schuettel P (2017) The concise Fintech compendium. School of Management Fribourg, Fribourg

    Google Scholar 

  13. Sung N-J, Hong M, Lee S-H, Choi Y-J (2017) Simulation of deformable objects using GLSL 4.3. KSII Trans Internet Inf Syst 11(8):4120–4132

    Google Scholar 

  14. Tang M, Tong R, Narain R, Meng C, Manocha D (2013) A GPU-based streaming algorithm for high-resolution cloth simulation. Pacific Graphics 32(7):21–30

    Google Scholar 

  15. Teschner M, Heidelberger B, Mṻller M, Gross M (2014) A versatile and robust model for geometrically complex deformable solids. In: Proc. of the Computer Graphics International (CGI’04), pp. 312–319

  16. Wolf D (2013) OpenGL 4 shading language cookbook, second edition. PACKT Publishing, Birmingham

    Google Scholar 

  17. Wu K, Yuksel C (2017) Real-time cloth rendering with fiber-level detail. IEEE Trans Vis Comput Graph: 1–12. https://doi.org/10.1109/TVCG.2017.2731949

Download references

Acknowledgements

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (Ministry of Science, ICT & Future Planning) (No. 2017R1A2B1005207) and was supported by the Soonchunhyang University Research Fund.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Min Hong.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Kim, M., Sung, NJ., Kim, SJ. et al. Parallel cloth simulation with effective collision detection for interactive AR application. Multimed Tools Appl 78, 4851–4868 (2019). https://doi.org/10.1007/s11042-018-6063-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-018-6063-9

Keywords

Navigation