新疆农业科学 ›› 2025, Vol. 62 ›› Issue (3): 609-618.DOI: 10.6048/j.issn.1001-4330.2025.03.010

• 作物遗传育种·耕作栽培·生理生化 • 上一篇    下一篇

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

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

  1. 新疆农业大学计算机与信息工程学院,乌鲁木齐 830052
  • 收稿日期:2024-09-03 出版日期:2025-03-20 发布日期:2025-05-14
  • 通信作者: 张婧婧(1981-),女,湖南宁乡人,副教授,研究方向为农业信息化技术,(E-mail) zjj@xjau.edu.cn
  • 作者简介:雷嘉诚(1995-),男,新疆石河子人,硕士,研究方向为农业信息化,(E-mail) 1425912125@qq.com
  • 基金资助:
    大田作物生长发育动态预测与智能决策(2022A02011-2);科技创新2030—“新一代人工智能”重大项目(2022ZD0115805)

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 Published:2025-03-20 Online:2025-05-14
  • 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构建小麦虚拟生长三维可视化系统,呈现虚拟小麦在生长过程中的形态、颜色的变化及对光照环境的感知,将形态数据与构建模型、纹理映射、光照与阴影技术融合,用以实现小麦动态的生长变化及其田间环境的模拟,并结合Pyside6用户界面开发工具,设计可视化系统的交互与信息显示功能。【结果】研究依据真实小麦的形态特征与实测数据,完成了虚拟小麦生长三维可视化系统的构建,可动态展示小麦生长的变化,实时显示当前小麦的信息描述与周边环境的模拟。【结论】该系统能够直观且连贯的展示小麦生长过程,同时具有较高的参数化和扩展性,可通过修改基础数据及参数快速生成对应的生长效果。

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

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

中图分类号: 


ISSN 1001-4330 CN 65-1097/S
邮发代号:58-18
国外代号:BM3342
主管:新疆农业科学院
主办:新疆农业科学院 新疆农业大学 新疆农学会

出版单位:《新疆农业科学》编辑部
地址:乌鲁木齐市南昌路403号新疆农业科学院
邮编:830091
电话:0991-4502046
E-mail:xjnykx-h@xaas.ac.cn


版权所有 © 《新疆农业科学》编辑部
本系统由北京玛格泰克科技发展有限公司设计开发
总访问量:583613 今日访问:827 在线人数:13
网站
微信公众号
淘宝购买
微店购买