首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种基于莫顿码及镜像编码的平衡八叉树模型
引用本文:袁瑶,徐骏,顾剑锋.一种基于莫顿码及镜像编码的平衡八叉树模型[J].计算力学学报,2024,41(3):467-473.
作者姓名:袁瑶  徐骏  顾剑锋
作者单位:上海交通大学 材料改性与数值模拟研究所, 上海 200240;上海交通大学 材料改性与数值模拟研究所, 上海 200240;上海交通大学 材料基因组联合研究中心, 上海 200240
基金项目:国家重点研发计划(2018YFA0702900)资助项目.
摘    要:在接触分析和动画模拟等网格规模庞大、需要实时更新的应用场景下,普遍采用莫顿码实现包围盒层次树结构的快速重构。但现有的层次树由于结构平衡性差,普遍存在搜索效率不稳定的问题,为此本文在莫顿码法的基础上提出了一种兼顾构建与搜索效率的平衡八叉树模型BOT树(Balanced Octree)。设计了镜像编码来保证树的上层节点均有8个分支,且同层树节点所含三角面数之差不超过1。实际算例表明,BOT树与现有模型OIOT树在CUDA并行框架下对比,构建加速比最高可达1.29×,且网格规模越大,BOT树构建效率的优势越明显。同时,与OIOT树相比BOT树的筛除率更高,在凸体接触和边缘接触算例中加速比分别达到1.13×和1.06×。

关 键 词:层次包围盒树  平衡八叉树  cuda并行框架  莫顿码
收稿时间:2022/11/10 0:00:00
修稿时间:2023/1/5 0:00:00

A balanced octree based on morton code and mirror code
YUAN Yao,XU Jun,GU Jian-feng.A balanced octree based on morton code and mirror code[J].Chinese Journal of Computational Mechanics,2024,41(3):467-473.
Authors:YUAN Yao  XU Jun  GU Jian-feng
Institution:Institute of Materials Modification and Modeling, Shanghai Jiao Tong University, Shanghai 200240, China; Institute of Materials Modification and Modeling, Shanghai Jiao Tong University, Shanghai 200240, China;Materials Genome Initiative Center, Shanghai Jiao Tong University, Shanghai 200240, China
Abstract:In contact analysis and animation simulation,there are massive and frequent re-mesh operations.A series of algorithms based on Morton code method have been established to carry out fast construction of BVH trees.Unfortunately,search efficiency of BVH trees constructed by these algorithms is unstable due to their unbalance.Therefore,an alternative algorithm of the balanced octree (BOT) based on Morton code,targeting both fast construction and stable search efficiency,is proposed in this paper.A mirror code method is designed to ensure that each upper node of BOT contains 8 branches and the amount difference of triangle units belonging to those nodes on the same tree level is no larger than one.Experiments showed that,the parallel construction of BOT achieved 1.29×speedup over that of the existing OIOT under the CUDA framework.In addition,construction efficiency of BOT increase with larger mesh size.Meanwhile,a BOT tree has a higher filter rate.In parallel contact searching,it has achieved 1.13×and 1.06×speedup over OIOT in convex-contact and edge-contact cases,respectively.
Keywords:BVH  balanced octree  cuda  Morton code
点击此处可从《计算力学学报》浏览原始摘要信息
点击此处可从《计算力学学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号