Advanced visualization with VisNow platform Case study #3 Vector data visualization This work is licensed under a Creative Commons Attribution- NonCommercial-NoDerivatives 4.0 International License.
Vector data concept Data component Vector legth >1 N-dimensional vector in each data point (practically N <= 3) Appicable for Regular and Irregular Field, both for node data and cell data Examples: Wind velocity vectors in numerical weather forecasting model Grid displacement field in image registration
3 1. Create test regular field 3D module (from test objects).
4 1. Create test regular field 3D module (from test objects). 2. Create modify components/coordinates module (from data filters) and connect it to the test field output.
5 1. Create test regular field 3D module (from test objects). 2. Create modify components/coordinates module (from data filters) and connect it to the test field output. 3. Uncheck all components except vortex in retain column and press run to drop them. 4. Check output port contents to see what happened to the components.
6 1. Create test regular field 3D module (from test objects). 2. Create modify components/coordinates module (from data filters) and connect it to the test field output. 3. Uncheck all components except vortex in retain column and press run to drop them. 4. Check output port contents to see what happened to the components. 5. Create glyphs module (from 3D mappers) and connect it to the last field. Manipulate glyphs parameters to make the vectors clearly visible.
Module: glyphs Glyphs are geometrical scalar primitives (sphere, raindrop, snowflake, box, diamond) that can represent a scalar data point with colour and size, or Geometrical vector primitives (arrow, arrow3d, cone, tube, circle, simple arrow, symmetric segment, segment) that can represent a vector data point with colour, size and direction. 7 Data component to map with glyphs Glyph selection Downsize Glyph smoothness Glyph scale Glyph presentation Data threshold
8 6. Remove glyphs module and create the regular field slice instead. 7. In the regular field slice module GUI select axis k sand slice number 49
9 6. Remove glyphs module and create the regular field slice instead. 7. In the regular field slice module GUI select axis k sand slice number 49 8. Create streamlines module (from 3D mappers) and connect modify components/coordinates output to the first input port and regular field slice output to the second one.
10 6. Remove glyphs module and create the regular field slice instead. 7. In the regular field slice module GUI select axis k sand slice number 49 8. Create streamlines module (from 3D mappers) and connect modify components/coordinates output to the first input port and regular field slice output to the second one. 9. In streamlines module GUI set downsize to x=3, y=3, z=2 (you can use wait buton or dynamic buton to stop refreshing)
11 10. Create time select/animate module (from 3D mappers) and connect it to the second output of streamlines module.
12 10. Create time select/animate module (from 3D mappers) and connect it to the second output of streamlines module. 11. In time select/animate module, on the presentation tab and display tab, switch off surface and image, and switch on points and set larger size of points
13 10. Create time select/animate module (from 3D mappers) and connect it to the second output of streamlines module. 11. In time select/animate module, on the presentation tab and display tab, switch off surface and image, and switch on points and set larger size of points. 12. Set data component to null on cmap tab and set the color to white
14 10. Create time select/animate module (from 3D mappers) and connect it to the second output of streamlines module. 11. In time select/animate module, on the presentation tab and display tab, switch off surface and image, and switch on points and set larger size of points. 12. Set data component to null on cmap tab and set the color to white 13. In computation tab set animation to cycle and number of frames to 200. 14. Play the animation. Watch it and stop.
15 Movie compilation First you need to store frames that will form the movie Then you need to compile a movie Movie compilation is done with external system command based on ffmpeg software https://www.ffmpeg.org/download.html Download, install and configure ffmpeg path if necessary, prior to movie compilation 15. Click RMB on Viewer3D window to open controls. In general tab set orientation glyph size to 0. 16. Write the animation movie. On output tab select tmp folder, file name and press store frames. 17. In time select/animate module start the animation to store frames and then stop it when you are done. 18. Go to viewer controls and press compile movie. The movie should be compiled.
visnow.icm.edu.pl Contact: visnow@icm.edu.pl University of Warsaw Bartosz Borucki, Krzysztof Nowiński, Kerstin Kantiem This work is licensed under a Creative Commons Attribution- NonCommercial-NoDerivatives 4.0 International License.