Particle System-Based Multi-Hierarchy Dynamic Visualization of Ocean Current Data
Abstract
:1. Introduction
2. Materials and Methods
2.1. Ocean Current Data
2.2. Framework
- Data Preprocessing: The core of data preprocessing is to obtain and analyse the current data stored in NetCDF file, divide and re-output them to a new format for transmission. As discussed in Section 2.1, we develop a data preprocessing program to help us complete the work of parse, synthesis and format conversion. During the execution of the program, the circulation and tidal current data at each moment are split from the original data according to the time dimension, and then they are combined. Moreover, the vector information of the original dataset is stored in the RGBA channels of texture space; u and v components of the flow field are stored in the R and G channels and stretched to (0.255). The B channel of texture stores the critical point of the flow field, and the A channel is used to judge the sea and land position.
- Camera Control: In our method, particles are only drawn in the current viewport. The display will be redrawn if the camera is moved, which improve efficiency and facilitate the adjustment of density. Camera and viewport information such as camera position, rotation angle and viewport size is obtained to calculate the appropriate number of particles using our proposed algorithm before rendering; this makes adaptive resolution representation possible to present multi-hierarchy ocean current information.
- Dynamic Rendering: This part mainly consists of four subsections: (1) seeding, (2) symbol design, (3) particle tracking and (4) rendering. Drawing process is also shown on the right side of Figure 1. The spherical seed point distribution algorithm is introduced to place a fixed number of particles randomly and evenly in the viewport. A texture is created using a shader program, and pixels are equal to the number of particles in implementation. In addition to saving the position information of particles, each pixel also saves other properties such as age. The position and other properties are constantly updated at each frame. Initially, the particle age is set to zero to record its state.
2.3. Methodology
2.3.1. Spherical Seed Placement Algorithm
2.3.2. Adaptive Density Adjustment Strategy
2.3.3. Streamlets Generation Based on Visual Perception
3. Experiments and Results
3.1. Experiments on Validity of the Seed Placement Methods
3.2. Experiments on Visual Effect of the Flow Field Representation
3.3. Experiments on Feasibility of the Density Adjustment Strategy
3.4. Experiment on Rendering Efficiency
4. Conclusions and Future Work
- (1)
- Firstly, three spherical uniform distribution algorithms are studied and compared. The experimental results show that Marsaglia polar method has more advantages than the other two methods. The probability model is applied to the seed process of particle system, which effectively solves the problem of uneven streamline in the traditional method.
- (2)
- Secondly, we propose a viewport-adaptive density adjustment algorithm. The streamline density changes smoothly to avoid visual jumps and make the multi-resolution representation possible when the camera is zoomed in or out.
- (3)
- Thirdly, we also design a dynamic streamlet pattern. The asymmetry of the head and tail realized by the transparency and width, compared with the conventional streamline method, highlights the flow direction and intensity distribution of the flow field, and improves the occlusion and clutter.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Klemas, V. Remote Sensing of Coastal and Ocean Currents: An Overview. J. Coast. Res. 2012, 28, 576. [Google Scholar] [CrossRef]
- Laidlaw, D.H.; Kirby, R.M.; Jackson, C.D.; Davidson, J.S.; Miller, T.S. Comparing 2D Vector Field Visualization Methods: A User Study. IEEE Trans. Vis. Comput. Graph. 2005, 11, 12. [Google Scholar] [CrossRef] [PubMed]
- Ai, B.; Sun, D.; Liu, Y.; Li, C.; Yang, F.; Yin, Y.; Tian, H. Multi-Scale Representation of Ocean Flow Fields Based on Feature Analysis. IJGI 2020, 9, 307. [Google Scholar] [CrossRef]
- Sane, S.; Bujack, R.; Garth, C.; Childs, H. A Survey of Seed Placement and Streamline Selection Techniques. Comput. Graph. Forum 2020, 39, 785–809. [Google Scholar] [CrossRef]
- Huang, J.; Pan, Z.; Chen, G.; Chen, W.; Bao, H. Image-Space Texture-Based Output-Coherent Surface Flow Visualization. IEEE Trans. Visual. Comput. Graph. 2013, 19, 1476–1487. [Google Scholar] [CrossRef] [PubMed]
- Baker, M.P.; Bushell, C. After the Storm: Considerations for Information Visualization. IEEE Comput. Grap. Appl. 1995, 15, 12–15. [Google Scholar] [CrossRef]
- Liu, Z. A Prototype Framework for Parallel Visualization of Large Flow Data. Adv. Eng. Softw. 2019, 130, 14–23. [Google Scholar] [CrossRef]
- Ware, C.; Kelley, J.G.W.; Pilar, D. Improving the Display of Wind Patterns and Ocean Currents. Bull. Amer. Meteor. Soc. 2014, 95, 1573–1581. [Google Scholar] [CrossRef]
- Reeves, W.T. Particle Systems—A Technique for Modeling a Class of Fuzzy Objects. ACM Trans. Graph. 1983, 2, 91–108. [Google Scholar] [CrossRef]
- Lobo, M.; Telea, A.C.; Hurter, C. Feature Driven Combination of Animated Vector Field Visualizations. Comput. Graph. Forum 2020, 39, 429–441. [Google Scholar] [CrossRef]
- Bujack, R.; Middel, A. State of the Art in Flow Visualization in the Environmental Sciences. Env. Earth Sci. 2020, 79, 65. [Google Scholar] [CrossRef]
- Zhang, J.; Yuan, X. A Survey of Parallel Particle Tracing Algorithms in Flow Visualization. J. Vis. 2018, 21, 351–368. [Google Scholar] [CrossRef]
- Rautenhaus, M.; Bottinger, M.; Siemen, S.; Hoffman, R.; Kirby, R.M.; Mirzargar, M.; Rober, N.; Westermann, R. Visualization in Meteorology—A Survey of Techniques and Tools for Data Analysis Tasks. IEEE Trans. Visual. Comput. Graph. 2018, 24, 3268–3296. [Google Scholar] [CrossRef]
- Wang, S.B.; Pan, Z.G. Comparison, Analysis and Review of 2D Flow Visualization. J. Syst. Simul. 2014, 26, 1875–1881. [Google Scholar]
- Samsel, F.; Petersen, M.; Abram, G.; Turton, T.L.; Ahrens, J. Visualization of Ocean Currents and Eddies in a High-Resolution Global Ocean-Climate Model. In Supercomputing 2015; Association for Computing Machinery: New York, NY, USA, 2015. [Google Scholar]
- Zhang, F.; Mao, R.; Du, Z.; Liu, R. Spatial and Temporal Processes Visualization for Marine Environmental Data Using Particle System. Comput. Geosci. 2019, 127, 53–64. [Google Scholar] [CrossRef]
- Fu, S. Visualization of Global Ocean Flows Based on Particle System. Master’s Thesis, Shandong University of Science and Technology, Qingdao, China, 2015. [Google Scholar]
- Zhang, X.; Zhang, M.; Jiang, L.; Yue, P. An Interactive 4D Spatio-Temporal Visualization System for Hydrometeorological Data in Natural Disasters. Int. J. Digit. Earth 2020, 13, 1258–1278. [Google Scholar] [CrossRef]
- Wang, S.; Li, W. Capturing the Dance of the Earth: PolarGlobe: Real-Time Scientific Visualization of Vector Field Data to Support Climate Science. Comput. Environ. Urban Syst. 2019, 77, 101352. [Google Scholar] [CrossRef]
- Ba, Z.; Shan, G.; Liu, J.; Xia, S. A Feature-Based Seeding Method for Multi-Level Flow Visualization. J. Comput. -Aided Des. Comput. Graph. 2016, 28, 32–40. [Google Scholar]
- Bahaj, A.S. Generating Electricity from the Oceans. Renew. Sustain. Energy Rev. 2011, 15, 3399–3416. [Google Scholar] [CrossRef]
- Marsaglia, G. Choosing a Point from the Surface of a Sphere. Ann. Math. Statist. 1972, 43, 645–646. [Google Scholar] [CrossRef]
- Thomas, D.B.; Luk, W.; Leong, P.H.W.; Villasenor, J.D. Gaussian Random Number Generators. ACM Comput. Surv. 2007, 39, 11-es. [Google Scholar] [CrossRef]
- Sherlock, M.J.; Hasan, M.; Samavati, F.F. Interactive Data Styling and Multifocal Visualization for a Multigrid Web-Based Digital Earth. Int. J. Digit. Earth 2021, 14, 288–310. [Google Scholar] [CrossRef]
- Li, Z.; Yan, H. Transformation in Scale for Continuous Zooming. In Manual of Digital Earth; Guo, H., Goodchild, M.F., Annoni, A., Eds.; Springer Singapore: Singapore, 2020; pp. 279–324. [Google Scholar] [CrossRef] [Green Version]
- Ai, T. Dynamic Symbol and Dynamic Map. J. Wuhan Tech. Univ. Surv. Mapp. 1998, 01, 49–53. [Google Scholar]
- Kettunen, P.; Oksanen, J. Motion of Animated Streamlets Appears to Surpass Their Graphical Alterations in Human Visual Detection of Vector Field Maxima. Cartogr. Geogr. Inf. Sci. 2019, 46, 489–501. [Google Scholar] [CrossRef] [Green Version]
- Mashima, D.; Kobourov, S.; Hu, Y. Visualizing Dynamic Data with Maps. IEEE Trans. Vis. Comput. Graph. 2012, 18, 1424–1437. [Google Scholar] [CrossRef] [PubMed]
- Cybulski, P.; Wielebski, Ł. Effectiveness of Dynamic Point Symbols in Quantitative Mapping. Cartogr. J. 2019, 56, 146–160. [Google Scholar] [CrossRef]
- Fang, Y.; Ai, B.; Fang, J.; Xin, W.; Zhao, X.; Lv, G. Multi-Scale Flow Field Mapping Method Based on Real-Time Feature Streamlines. IJGI 2019, 8, 335. [Google Scholar] [CrossRef] [Green Version]
- Keqin, W.; Zhanping, L.; Song, Z.; Moorhead, R.J. Topology-Aware Evenly Spaced Streamline Placement. IEEE Trans. Visual. Comput. Graph. 2010, 16, 791–801. [Google Scholar] [CrossRef] [PubMed]
- Zhang, X.; Yue, P.; Chen, Y.; Hu, L. An Efficient Dynamic Volume Rendering for Large-Scale Meteorological Data in a Virtual Globe. Comput. Geosci. 2019, 126, 1–8. [Google Scholar] [CrossRef]
Option | Parameter |
---|---|
Spatial resolution | 0.25° × 0.25° |
Temporal resolution | 3 h |
Longitudinal range | 180° W−180° E |
Latitudinal range | 90° S−90° N |
Dimension | 1440 × 720 |
Data size | 1.13 GB |
Option | Parameter |
---|---|
Camera projection | perspective projection |
Viewing frustum | 60° |
Reference ellipsoid | WGS84 |
Viewport | 1920*1080 |
Method | Space Efficiency | Uniform Variates |
---|---|---|
Muller’s | ||
Cook’s | ||
Marsaglia’s |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Shi, Q.; Ai, B.; Wen, Y.; Feng, W.; Yang, C.; Zhu, H. Particle System-Based Multi-Hierarchy Dynamic Visualization of Ocean Current Data. ISPRS Int. J. Geo-Inf. 2021, 10, 667. https://doi.org/10.3390/ijgi10100667
Shi Q, Ai B, Wen Y, Feng W, Yang C, Zhu H. Particle System-Based Multi-Hierarchy Dynamic Visualization of Ocean Current Data. ISPRS International Journal of Geo-Information. 2021; 10(10):667. https://doi.org/10.3390/ijgi10100667
Chicago/Turabian StyleShi, Qingtong, Bo Ai, Yubo Wen, Wenjun Feng, Chenxi Yang, and Hongchun Zhu. 2021. "Particle System-Based Multi-Hierarchy Dynamic Visualization of Ocean Current Data" ISPRS International Journal of Geo-Information 10, no. 10: 667. https://doi.org/10.3390/ijgi10100667
APA StyleShi, Q., Ai, B., Wen, Y., Feng, W., Yang, C., & Zhu, H. (2021). Particle System-Based Multi-Hierarchy Dynamic Visualization of Ocean Current Data. ISPRS International Journal of Geo-Information, 10(10), 667. https://doi.org/10.3390/ijgi10100667