Nikolay Gavrilov
personal web page
|
|
Qt applications for Scientific Visualization. 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.
Calculation of the electrostatic field on the GPU using the Monte Carlo method. 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.
|
|
| © 2009-2022 Nikolay Gavrilov |