Open Access iconOpen Access

ARTICLE

crossmark

Real-time Volume Preserving Constraints for Volumetric Model on GPU

Hongly Va1, Min-Hyung Choi2, Min Hong3,*

1 Department of Software Convergence, Soonchunhyang University, Asan, 31538, Korea
2 Department of Computer Science and Engineering, University of Colorado Denver, Denver, 80217, CO, USA
3 Department of Computer Software Engineering, Soonchunhyang University, Asan, 31538, Korea

* Corresponding Author: Min Hong. Email: email

Computers, Materials & Continua 2022, 73(1), 831-848. https://doi.org/10.32604/cmc.2022.029576

Abstract

This paper presents a parallel method for simulating real-time 3D deformable objects using the volume preservation mass-spring system method on tetrahedron meshes. In general, the conventional mass-spring system is manipulated as a force-driven method because it is fast, simple to implement, and the parameters can be controlled. However, the springs in traditional mass-spring system can be excessively elongated which cause severe stability and robustness issues that lead to shape restoring, simulation blow-up, and huge volume loss of the deformable object. In addition, traditional method that uses a serial process of the central processing unit (CPU) to solve the system in every frame cannot handle the complex structure of deformable object in real-time. Therefore, the first order implicit constraint enforcement for a mass-spring model is utilized to achieve accurate visual realism of deformable objects with tough constraint error. In this paper, we applied the distance constraint and volume conservation constraints for each tetrahedron element to improve the stability of deformable object simulation using the mass-spring system and behave the same as its real-world counterparts. To reduce the computational complexity while ensuring stable simulation, we applied a method that utilizes OpenGL compute shader, a part of OpenGL Shading Language (GLSL) that executes on the graphic processing unit (GPU) to solve the numerical problems effectively. We applied the proposed methods to experimental volumetric models, and volume percentages of all objects are compared. The average volume percentages of all models during the simulation using the mass-spring system, distance constraint, and the volume constraint method were 68.21%, 89.64%, and 98.70%, respectively. The proposed approaches are successfully applied to improve the stability of mass-spring system and the performance comparison from our experimental tests also shows that the GPU-based method is faster than CPU-based implementation for all cases.

Keywords


Cite This Article

APA Style
Va, H., Choi, M., Hong, M. (2022). Real-time volume preserving constraints for volumetric model on GPU. Computers, Materials & Continua, 73(1), 831-848. https://doi.org/10.32604/cmc.2022.029576
Vancouver Style
Va H, Choi M, Hong M. Real-time volume preserving constraints for volumetric model on GPU. Comput Mater Contin. 2022;73(1):831-848 https://doi.org/10.32604/cmc.2022.029576
IEEE Style
H. Va, M. Choi, and M. Hong, “Real-time Volume Preserving Constraints for Volumetric Model on GPU,” Comput. Mater. Contin., vol. 73, no. 1, pp. 831-848, 2022. https://doi.org/10.32604/cmc.2022.029576



cc Copyright © 2022 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1655

    View

  • 884

    Download

  • 0

    Like

Related articles

Share Link