Xinjiang Agricultural Sciences ›› 2025, Vol. 62 ›› Issue (3): 609-618.DOI: 10.6048/j.issn.1001-4330.2025.03.010

• Crop Genetics and Breeding·Cultivation Physiology·Physiology and Biochemistry • Previous Articles     Next Articles

Research on virtual wheat growth simulation and visualization system based on PyOpenGL

LEI Jiacheng(), ZHANG Jingjing(), HAN Bo, LU Ziao   

  1. College of Computer and Information Engineering, Xinjiang Agricultural University, Urumqi 830052, China
  • Received:2024-09-03 Online:2025-03-20 Published:2025-05-14
  • Correspondence author: ZHANG Jingjing
  • Supported by:
    Dynamic Prediction and Intelligent Decision-Making of Crop Growth and Development in Fields(2022A02011-2);Science and Technology Innovation 2030-a New Generation of Artificial Intelligence Major Project(2022ZD0115805)

基于PyOpenGL的虚拟小麦生长模拟及可视化系统

雷嘉诚(), 张婧婧(), 韩博, 鲁子翱   

  1. 新疆农业大学计算机与信息工程学院,乌鲁木齐 830052
  • 通讯作者: 张婧婧
  • 作者简介:雷嘉诚(1995-),男,新疆石河子人,硕士,研究方向为农业信息化,(E-mail) 1425912125@qq.com
  • 基金资助:
    大田作物生长发育动态预测与智能决策(2022A02011-2);科技创新2030—“新一代人工智能”重大项目(2022ZD0115805)

Abstract:

Objective】The 3D visualization function of virtual wheat growth holds significant importance for the quantitative research of wheat growth patterns.【Methods】In order to present the morphological and color changes of virtual wheat during growth, as well as its perception of lighting conditions, PyOpenGL was utilized to construct a 3D visualization system of simulated wheat growth. The system integrated morphological data with model construction, texture mapping, and lighting and shading techniques to simulate dynamic wheat growth and its field environment. The interactive and information display functions of the visual simulation system were designed by using Pyside6 user interface development tool.【Results】The study was based on the morphological characteristics of real wheat and the measured data,design the construction of the visualization system,can dynamically show the changes of wheat growth,real-time display of current wheat information description and simulation of the surrounding environment.【Conclusion】The system can intuitively and coherently present the growth process of wheat,it has a high degree of parameterization and extensibility,the corresponding growth effect can be quickly generated by modifying the basic data and parameters.

Key words: wheat; 3D visualization; PyOpenGL; growth simulation

摘要:

目的】基于小麦虚拟生长的三维可视化功能定量化研究小麦生长规律,为玉米、棉花等作物的可视化研究提供一定的技术积累。【方法】应用PyOpenGL构建小麦虚拟生长三维可视化系统,呈现虚拟小麦在生长过程中的形态、颜色的变化及对光照环境的感知,将形态数据与构建模型、纹理映射、光照与阴影技术融合,用以实现小麦动态的生长变化及其田间环境的模拟,并结合Pyside6用户界面开发工具,设计可视化系统的交互与信息显示功能。【结果】研究依据真实小麦的形态特征与实测数据,完成了虚拟小麦生长三维可视化系统的构建,可动态展示小麦生长的变化,实时显示当前小麦的信息描述与周边环境的模拟。【结论】该系统能够直观且连贯的展示小麦生长过程,同时具有较高的参数化和扩展性,可通过修改基础数据及参数快速生成对应的生长效果。

关键词: 小麦, 三维可视化, PyOpenGL, 生长模拟

CLC Number: