Published January 2021 | Version v1
Journal article

On pixel-exact rendering for high-order mesh and solution

  • 1. GAMMA Project, Inria Saclay-Île-de-France, 1 rue Honoré d'Estienne d'Orves, Palaiseau, 91120 (France)

Description

Highlights: • Full Based GPU rendering. • Pixel exact rendering on straight elements (independently of the degree of the solution). • Almost pixel exact for elements with non-linear geometrical mapping. • Iso-lines rendering on GPU. • Accurate bounds approximation based on Bezier expansion and subdivision. With the increasing use of high-order methods and high-order meshes, scientific visualization software need to adapt themselves to reliably render the associated meshes and numerical solutions. In this paper, a novel approach, based on OpenGL 4 framework, enables a GPU-based rendering of high-order meshes as well as an almost pixel-exact rendering of high-order solutions. Several aspects of the OpenGL Shading Language and in particular the use of dedicated shaders (GPU programs) allows to answer this visualization challenge. Fragment shaders are used to compute the exact solution for each pixel, made possible by the transfer of degrees of freedom and shape functions to the GPU with textures. Tessellation shaders, combined with geometric error estimates, allow us to render high-order curved meshes by providing an adaptive subdivision of elements on the GPU directly. A convenient way to compute bounds for high-order solutions is described. The interest of using Bézier basis instead of Lagrange functions lies in the existence of fast and robust evaluation of polynomial functions with de Casteljau algorithm. A technique to plot highly nonlinear isolines and wire frames with a desired thickness is derived. It is based on a finite difference scheme performed on GPU. In comparison with standard techniques, we remove the use of any linear interpolation step and the need to generate a priori a fixed subdivided mesh. This reduces the memory footprint, improves the accuracy and the speed of the rendering. Finally, the method is illustrated with various 3D examples.

Availability note (English)

Available from http://dx.doi.org/10.1016/j.jcp.2020.109860

Additional details

Identifiers

DOI
10.1016/j.jcp.2020.109860;
PII
S0021999120306343;

Publishing Information

Journal Title
Journal of Computational Physics (Print)
Journal Volume
424
Journal Page Range
vp.
ISSN
0021-9991
CODEN
JCTPAH

INIS

Country of Publication
Netherlands
Country of Input or Organization
International Atomic Energy Agency (IAEA)
INIS RN
54002012
Subject category
S97: MATHEMATICAL METHODS AND COMPUTING;
Descriptors DEI
ALGORITHMS; COMPUTER CODES; DEGREES OF FREEDOM; ERRORS; EXACT SOLUTIONS; GEOMETRY; POLYNOMIALS
Descriptors DEC
FUNCTIONS; MATHEMATICAL LOGIC; MATHEMATICAL SOLUTIONS; MATHEMATICS

Optional Information

Copyright
Copyright (c) 2020 Elsevier Inc. All rights reserved.