TL;DR
This paper introduces a novel algorithm for rendering trimmed NURBS surfaces that goes beyond geometric accuracy to preserve visual appearance, especially under varying lighting conditions. By considering illumination artifacts during tessellation, it achieves high-quality, interactive visualization of complex models, including deformable ones, without the need for computationally expensive preprocessing.
What Problem Does This Paper Address?
Computer-Aided Design (CAD) and manufacturing heavily rely on trimmed Non-Uniform Rational B-Spline (NURBS) surfaces to represent complex shapes. For interactive visualization, especially in fields like virtual prototyping or computer games, these NURBS surfaces need to be converted into a polygonal representation (tessellation). Traditional tessellation methods primarily focus on geometric accuracy, ensuring the polygonal mesh closely matches the original surface. However, this often leads to visual artifacts, particularly shading inconsistencies, when the surface is viewed under different lighting conditions. Existing solutions, like using normal maps, require preprocessing and are unsuitable for deformable models. This paper addresses the challenge of achieving both geometric and appearance fidelity in real-time visualization of trimmed NURBS, especially for dynamic scenes.
Methods
The core contribution of this paper is an appearance-preserving tessellation algorithm. Unlike previous methods that focused solely on geometric error (e.g., Hausdorff distance), this new algorithm incorporates an appearance error into its tessellation criteria. This appearance error accounts for how illumination artifacts, such as shading, might be misrepresented due to the discrete polygonal approximation.
Key aspects of their method include:
- View-Dependent Dynamic LOD: The algorithm generates Levels of Detail (LODs) on the fly, adapting the tessellation density based on the viewer's perspective. This is crucial for interactive frame rates.
- Independent Tessellation: To support deformable models, each NURBS patch is tessellated independently, avoiding reliance on connectivity information between patches.
- Fat Borders Method: To address potential gaps that arise from independent tessellation, they employ the "Fat Borders" method to ensure continuity between adjacent patches.
- Modified Error Measure: The paper introduces a novel error metric that combines geometric error with an estimated shading error. This shading error is approximated using surface curvatures (specifically, the maximum curvature) to estimate the deviation of the surface normal from its bilinear approximation. This avoids the need for expensive per-pixel normal calculations.
- No Preprocessing: A significant advantage is that the algorithm does not require any preprocessing of the NURBS models, making it ideal for dynamic or deformable scenarios.
Datasets
The paper evaluates its method using two trimmed NURBS models: a "wheel rim" and a "golf" model. These models are described as having 1 and 9 materials respectively, with the golf model comprising 151 trimmed NURBS patches and 8036 control points. The paper does not introduce new benchmark datasets but uses these existing models to demonstrate the effectiveness of their approach.
Key Insights and Ideas
- Appearance is More Than Geometry: The most critical insight is that for realistic visualization, especially with dynamic lighting, simply matching the surface's shape isn't enough. The way light interacts with the surface (shading) is equally, if not more, important for perceived quality.
- Curvature as a Proxy for Shading Error: Using surface curvature to estimate the shading error is an elegant and computationally efficient way to approximate the visual impact of tessellation. This avoids the need for complex, per-pixel calculations that would be too slow for real-time applications.
- Deformable Models Need Preprocessing-Free Solutions: The requirement for interactive visualization of deformable models strongly dictates the need for algorithms that don't rely on precomputed data like normal maps. This paper directly addresses this gap.
- Marginal Triangle Increase for Significant Visual Gain: The algorithm achieves substantial improvements in visual quality with only a small increase in the number of rendered triangles compared to standard tessellation.
Key Results
- Performance: The appearance-preserving tessellation achieves frame rates nearly identical to standard geometric tessellation, with only a minor performance loss (around 2.7% on average) compared to a significant drop (17%) when using normal maps.
- Triangle Count: The number of additional triangles required for appearance preservation is marginal, averaging about 6% more than standard tessellation.
- Visual Quality:
- Isophotes and Reflection Lines: The method excels at visualizing surface continuity features like isophotes and reflection lines, revealing discontinuities that are missed or poorly rendered by normal map approaches.
- Normal Approximation: The normal approximation error is significantly lower with the appearance-preserving method compared to standard tessellation and even slightly better than normal maps in some metrics.
- Deformable Models: The algorithm successfully handles deformable NURBS models, providing interactive feedback during animation.
Limitations and Future Work
- Limitations:
- The paper acknowledges that while the average screen-space error might appear slightly higher for the appearance-preserving method, the visual quality is much higher due to the accurate representation of shading.
- The normal map approach, while not used for deformable models, is mentioned as having a higher cost when materials change due to texture switching.
- Future Work:
- The authors suggest extending the algorithm to visualize other important surface properties like temperature distribution or curvature.
- They also mention the potential for further optimization and exploration of different shading models.
Summary updated