The invention provides a real-time
online visualization method and device for multi-resolution grid data, and belongs to the technical field of
data processing and visualizing.The method comprises the steps that firstly, grid data are merged into sequence columns in the Z direction to form a multi-resolution stacked grid model, the multi-resolution stacked grid model is stored in an HDF5 file according to resolution levels, and parallel I / O is achieved in combination with MinIO
distributed object storage; secondly, a Z-Order index and
directory server strategy is designed, and the
data scheduling and transmission efficiency is improved; a browser end adopts a virtual
quadtree structure to organize data, and realizes multi-thread real-
time data receiving in combination with WebWorker and
WebSocket, so that the blockage of a main thread is avoided; finally, the LOD level is dynamically selected based on the viewpoint distance, and efficient
volume rendering is achieved through a GPU texture array and LOD InfoTexture. According to the method, online real-time updating is supported, the loading
delay is remarkably reduced, and the visual
frame rate is improved.