Fast GPU computation of the mass properties of a general shape and its application to buoyancy simulation
- Authors
- Kim, Jinwook; Kim, Soojae; Ko, Heedong; Terzopoulos, Demetri
- Issue Date
- 2006-09
- Publisher
- SPRINGER
- Citation
- VISUAL COMPUTER, v.22, no.9-11, pp.856 - 864
- Abstract
- To simulate solid dynamics, we must compute the mass, the center of mass, and the products of inertia about the axes of the body of interest. These mass property computations must be continuously repeated for certain simulations with rigid bodies or as the shape of the body changes. We introduce a GPU-friendly algorithm to approximate the mass properties for an arbitrarily shaped body. Our algorithm converts the necessary volume integrals into surface integrals on a projected plane. It then maps the plane into a framebuffer in order to perform the surface integrals rapidly on the GPU. To deal with non-convex shapes, we use a depth-peeling algorithm. Our approach is image-based; hence, it is not restricted by the mathematical or geometric representation of the body, which means that it can efficiently compute the mass properties of any object that can be rendered on the graphics hardware. We compare the speed and accuracy of our algorithm with an analytic algorithm, and demonstrate it in a hydrostatic buoyancy simulation for real-time applications, such as interactive games.
- Keywords
- ALGORITHMS; FLUID; ALGORITHMS; FLUID; general-purpose computation on GPUs; mass property computation; physics-based animation; rigid-body dynamics; buoyancy simulation
- ISSN
- 0178-2789
- URI
- https://pubs.kist.re.kr/handle/201004/135191
- DOI
- 10.1007/s00371-006-0071-x
- Appears in Collections:
- KIST Article > 2006
- Files in This Item:
There are no files associated with this item.
- Export
- RIS (EndNote)
- XLS (Excel)
- XML
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.