Projection-driven grid-BSP tree for real-time trimming on GPU

IF 1.3 4区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING
Jiaming Zhu , Yang Lu , Ruicheng Xiong , Cong Chen , Ligang Liu
{"title":"Projection-driven grid-BSP tree for real-time trimming on GPU","authors":"Jiaming Zhu ,&nbsp;Yang Lu ,&nbsp;Ruicheng Xiong ,&nbsp;Cong Chen ,&nbsp;Ligang Liu","doi":"10.1016/j.cagd.2025.102451","DOIUrl":null,"url":null,"abstract":"<div><div>In Computer Aided Design (CAD), trimmed non-uniform rational B-spline (NURBS) is the industrial standard to represent the shapes of models. Trimming, the process of removing unnecessary portions of a surface, remains a major performance bottleneck in the recent CAD model rendering methods based on real-time surface tessellation. In this paper, we identify the core reasons for the inefficiency in existing real-time trimming methods, and present a new trimming method that incurs nearly no cost in the state-of-the-art NURBS surface rendering pipeline. Our approach begins with building a projection-driven grid-bsp-tree with a fixed depth of two and leaf nodes containing only one single curve segment, effectively minimizing the overall cost of tree traversal and ray-curve intersections. Additionally, we reduce the cost of trimming tests by approximating trimming curves into poly-lines while keeping the storage consumption at a minimum, where the quality of the approximation is measured by a novel on-surface error metric. Compared with existing works, our method achieves consistent error control for across the entire model using a more reasonable error metric while requiring less memory. Compared to the previous kd-tree-based method, our method achieves a 70% speedup, reducing the trimming process to just 5% of the total rendering time, effectively eliminating it as a major performance bottleneck. Due to its superior performance, our method provides significant advantages for rendering large-scale CAD models.</div></div>","PeriodicalId":55226,"journal":{"name":"Computer Aided Geometric Design","volume":"119 ","pages":"Article 102451"},"PeriodicalIF":1.3000,"publicationDate":"2025-04-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Aided Geometric Design","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167839625000408","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

In Computer Aided Design (CAD), trimmed non-uniform rational B-spline (NURBS) is the industrial standard to represent the shapes of models. Trimming, the process of removing unnecessary portions of a surface, remains a major performance bottleneck in the recent CAD model rendering methods based on real-time surface tessellation. In this paper, we identify the core reasons for the inefficiency in existing real-time trimming methods, and present a new trimming method that incurs nearly no cost in the state-of-the-art NURBS surface rendering pipeline. Our approach begins with building a projection-driven grid-bsp-tree with a fixed depth of two and leaf nodes containing only one single curve segment, effectively minimizing the overall cost of tree traversal and ray-curve intersections. Additionally, we reduce the cost of trimming tests by approximating trimming curves into poly-lines while keeping the storage consumption at a minimum, where the quality of the approximation is measured by a novel on-surface error metric. Compared with existing works, our method achieves consistent error control for across the entire model using a more reasonable error metric while requiring less memory. Compared to the previous kd-tree-based method, our method achieves a 70% speedup, reducing the trimming process to just 5% of the total rendering time, effectively eliminating it as a major performance bottleneck. Due to its superior performance, our method provides significant advantages for rendering large-scale CAD models.
投影驱动的网格- bsp树在GPU上的实时修剪
在计算机辅助设计(CAD)中,裁剪非均匀有理b样条(NURBS)是表示模型形状的工业标准。修剪,即去除表面不必要部分的过程,仍然是当前基于实时曲面镶嵌的CAD模型绘制方法的主要性能瓶颈。在本文中,我们确定了现有实时切边方法效率低下的核心原因,并提出了一种新的切边方法,该方法在最先进的NURBS表面渲染管道中几乎没有成本。我们的方法首先构建一个投影驱动的grid-bsp-tree,其固定深度为两个,叶子节点仅包含一个单一的曲线段,有效地减少了树遍历和光线曲线相交的总成本。此外,我们通过将切边曲线近似为多线段来降低切边测试的成本,同时将存储消耗保持在最小,其中近似值的质量是通过一种新的表面误差度量来测量的。与已有的方法相比,该方法使用更合理的误差度量实现了对整个模型的一致性误差控制,同时需要更少的内存。与之前基于kd树的方法相比,我们的方法实现了70%的加速,将修剪过程减少到总渲染时间的5%,有效地消除了它作为主要性能瓶颈的影响。由于其优越的性能,我们的方法为绘制大规模CAD模型提供了显着的优势。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computer Aided Geometric Design
Computer Aided Geometric Design 工程技术-计算机:软件工程
CiteScore
3.50
自引率
13.30%
发文量
57
审稿时长
60 days
期刊介绍: The journal Computer Aided Geometric Design is for researchers, scholars, and software developers dealing with mathematical and computational methods for the description of geometric objects as they arise in areas ranging from CAD/CAM to robotics and scientific visualization. The journal publishes original research papers, survey papers and with quick editorial decisions short communications of at most 3 pages. The primary objects of interest are curves, surfaces, and volumes such as splines (NURBS), meshes, subdivision surfaces as well as algorithms to generate, analyze, and manipulate them. This journal will report on new developments in CAGD and its applications, including but not restricted to the following: -Mathematical and Geometric Foundations- Curve, Surface, and Volume generation- CAGD applications in Numerical Analysis, Computational Geometry, Computer Graphics, or Computer Vision- Industrial, medical, and scientific applications. The aim is to collect and disseminate information on computer aided design in one journal. To provide the user community with methods and algorithms for representing curves and surfaces. To illustrate computer aided geometric design by means of interesting applications. To combine curve and surface methods with computer graphics. To explain scientific phenomena by means of computer graphics. To concentrate on the interaction between theory and application. To expose unsolved problems of the practice. To develop new methods in computer aided geometry.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信