3D vector fields visualization using graphics processing units
DOI:
https://doi.org/10.15276/hait.03.2019.1Keywords:
3D vector fields, ray casting, scalar fields, rendering, visualizationAbstract
The paper describes a method of visualization of three-dimensional vector fields adapted for GPUs. The aim of this work is to develop and implement a method of visualization of three-dimensional vector fields, effectively using GPUs. The software for visualization of three-dimensional vector field based on algorithms developed by the authors is created. This application provides visualization of three-dimensional vector fields through an interactively controlled animation sequence. The main criteria for evaluating the performance of visualization algorithms are the ease of interpretation and performance. The paper deals with the problems of adaptation of the computational model of vector field visualization algorithms to the implementation based on the GPU. Effective data representation for methods implemented based on vertex and pixel shaders of graphic processors is developed. The generalized model of calculations based on the graphic processor is offered. The program for interactive visualization of sections of a three-dimensional field of speeds by means of animation is created. A method of decomposition of a three-dimensional texture cube to represent a three-dimensional vector field is developed. All proposed algorithms are implemented in the form of software modules that can be used to build a visualization system. This paper describes a method of ray casting for visualizing three-dimensional vector fields. The distinguishing features of this method are the separation of the screen into cells (spans) and the pipelining of calculations using an intermediate description of the frame in the form of a list of primitives. Splitting calculations into two phases using an intermediate frame description allows achieving maximum performance at the stage of pixel calculations that require the most resources and determine the performance of the system as a whole. The advantages of such an approach over the frame-buffer visualization method are shown. The use of modern graphics equipment allows achieving the best results in terms of performance. Three-dimensional vector fields are used in scientific visualization, image processing and for special effects.