MeshTaichi

Author:

Yu Chang1,Xu Yi2,Kuang Ye3,Hu Yuanming3,Liu Tiantian3

Affiliation:

1. University of Electronic Science and Technology of China and Taichi Graphics, China

2. Tsinghua University and Taichi Graphics, China

3. Taichi Graphics, China

Abstract

Meshes are an indispensable representation in many graphics applications because they provide conformal spatial discretizations. However, mesh-based operations are often slow due to unstructured memory access patterns. We propose MeshTaichi, a novel mesh compiler that provides an intuitive programming model for efficient mesh-based operations. Our programming model hides the complex indexing system from users and allows users to write mesh-based operations using reference-style neighborhood queries. Our compiler achieves its high performance by exploiting data locality. We partition input meshes and prepare the wanted relations by inspecting users' code during compile time. During run time, we further utilize on-chip memory (shared memory on GPU and L1 cache on CPU) to access the wanted attributes of mesh elements efficiently. Our compiler decouples low-level optimization options with computations, so that users can explore different localized data attributes and different memory orderings without changing their computation code. As a result, users can write concise code using our programming model to generate efficient mesh-based computations on both CPU and GPU backends. We test MeshTaichi on a variety of physically-based simulation and geometry processing applications with both triangle and tetrahedron meshes. MeshTaichi achieves a consistent speedup ranging from 1.4× to 6×, compared to state-of-the-art mesh data structures and compilers.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design

Reference45 articles.

1. Large steps in cloth simulation

2. Perspectives: Why New Programming Languages for Simulation;Bernstein Gilbert Louis;ACM Transactions on Graphics (TOG),2016

3. Ebb

4. A morphable model for the synthesis of 3D faces

5. Mario Botsch Stephan Steinberg Stephan Bischoff and Leif Kobbelt. 2002. Openmesh-a generic and efficient polygon mesh data structure. (2002). Mario Botsch Stephan Steinberg Stephan Bischoff and Leif Kobbelt. 2002. Openmesh-a generic and efficient polygon mesh data structure. (2002).

Cited by 3 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. GeoTaichi: A Taichi-powered high-performance numerical simulator for multiscale geophysical problems;Computer Physics Communications;2024-08

2. Preconditioned Nonlinear Conjugate Gradient Method for Real-time Interior-point Hyperelasticity;Special Interest Group on Computer Graphics and Interactive Techniques Conference Conference Papers '24;2024-07-13

3. Spectral reordering for faster elasticity simulations;The Visual Computer;2024-06-18

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3