Nikolay Gavrilov
personal web page
gavrilov86@gmail.com

Qt applications for Scientific Visualization.

Download (3.43Mb)

While learning Qt technology I tried to create something like ParaView to visualize scientific volumetric data.

One of the programs renders isosurfaces of a scalar 3d field defined by an analytical function in the fragment shader file frB.h (Equ function). The program shows points where the scalar field value lays inside the interval defined by the vertical scrollbars on the right, i.e. you see all the points (x,y,z) where a < f(x,y,z) < b and inside a cropping box. The vertexes of the cropping box may be adjusted by dragging with the mouse.

Another program visualizes a vector field as a set of moving particles, their velocity being proportional to the vector length.

vector field
vector field
scalar field isosurfaces
scalar field isosurfaces


Calculation of the electrostatic field on the GPU using the Monte Carlo method.

Download (3.45Mb)

The program visualizes the isosurfaces of the electric potential field. This field is created by charged objects randomly located in the space. After pressing the Play button the moving particles begin to be generated inside the bounding box, these particles move according to the electrostatic vector field until they hit a zero-potential isosurface. In this way the program visualizes the electric potential field isosurface.

In order to calculate the electric potential field and electrostatic vector field values in a certain point the algorithm sums the field values contributed by all the triangles in the scene.

Isosurface points for the default scene
Isosurface points for the default scene
Negative charge prevails again
Negative charge prevails again
Unevenly charged horse
Unevenly charged horse


e-mail:gavrilov86@gmail.com
© 2009-2022 Nikolay Gavrilov