| The plant root system is one of the important organs of plants,which is not only responsible for the absorption and transfer of water and nutrients,but also for stabilizing the plant body and forming physical and chemical links with the soil.Therefore,the study of plant roots is of great importance in plant growth,development and production.Traditional plant root studies mainly rely on laboratory observations and field surveys,which have time and space limitations and cannot deeply explore the patterns and mechanisms of root growth.With the continuous development of computer technology and 3D visualization technology,the use of computer simulation of plant root growth has become an important research tool to better simulate and investigate the growth patterns and mechanisms of plant roots.In this paper,we take plant root system as the research object,analyze the morphological structure of plant root system,extract the morphological parameters of the root system,use computer graphics technology,establish a three-dimensional geometric model of plant root system,and combine with mathematical interpolation algorithm to complete the real-time growth of plant root system.The root system visualization simulation system was developed to realize the root system modeling and real-time growth of different kinds of plants.(1)The overall structure and parameter settings of the root system model were determined.By analyzing the morphological structure and growth characteristics of the plant root system,the basic units of the root system model composition were determined,and the root system tree topology based on the root units was proposed.The relevant morphological parameters are extracted,and the calibration of the parameters of the root unit is completed.(2)The construction method of the root system model is proposed.The cross-sectional edge calculation algorithm is used to complete the extraction of the cross-sectional 3D data at the unit control points,and the corresponding transformation matrix is established to transform the crosssection to each unit control point through the spatial coordinate transformation technique.Combined with Mesh 3D mesh automatic generation algorithm,the modeling method of procedural generation of root system 3D model is used.Combined with the linear interpolation function,the temporary transition nodes between the cell control nodes during the root system model growth were determined in real time to realize the dynamic growth of the root system 3D model.(3)A root system growth visualization system was developed.Based on Unity engine and C#programming to realize the expression of parent-child relationship of root nodes and root units and the construction of root unit 3D model.Developed custom editor plug-in to realize custom editing of root system parameters.Program the vertex shader and slice element shader in the root system rendering pipeline to complete the material modeling of the root.Set up data export interface,combined with XML serialization and deserialization to achieve root system data persistence and ensure data storage and reading.Adopt LOD hierarchical rendering method to reduce memory usage and optimize system performance.Design the system operation interface,publish and package it as an executable file to facilitate users’ observation and research on root system models.Users can collect different plant root system pictures and videos,set reasonable morphological parameters,complete root system modeling,and import data files into the system to visualize the growth of different kinds of roots,realize visual observation of root systems and research of growth conditions,and solve problems related to plant root system research in agricultural production,scientific research and teaching. |