English

中国农机化学报

中国农机化学报 ›› 2022, Vol. 43 ›› Issue (8): 128-135.DOI: 10.13733/j.jcam.issn.20955553.2022.08.018

• 农业信息化工程 • 上一篇    下一篇

#br# 基于数据驱动的虚拟场景搭建及#br# 模型检索优化方法#br#

容秀婵1,邹湘军1, 2,李承恩1,林俊强1,姚书杰1,邹天龙2   

  1. 1. 华南农业大学工程学院,广州市,510642;

    2. 佛山市中科农业机器人与智慧农业创新研究院,广东佛山,528200
  • 出版日期:2022-08-15 发布日期:2022-07-28
  • 基金资助:
    广东省科技厅项目(2120001008424)

Datadriven virtual scene construction and model retrieval optimization method

Rong Xiuchan, Zou Xiangjun, Li Chengen, Lin Junqiang, Yao Shujie, Zou Tianlong.   

  • Online:2022-08-15 Published:2022-07-28

摘要: 为更科学、高效地搭建虚拟场景渲染平台,解决大量虚拟场景模型的存储与检索的难度问题,运用虚拟仿真技术对使用先进的农业装备和合理规划的果园进行评估、对大量的虚拟场景模型特征信息进行提取及参数化建模,存储到数据库中,建立哈希索引列加速检索。以Unity3D为场景的开发平台,结合典型开源关系型数据库MySQL为虚拟场景模型特征信息参数存储载体,并建立哈希索引列。在数据驱动下,快速构建出符合需求的三维模型,实现了大量三维模型的快速检索调用。以果园场景为例,将天气系统仿真场景数据、多种类果树模型数据、实景扫描地形数据导入数据库中,构建果园场景数据库,快速创建虚拟果园场景仿真平台。仿真结果表明,该方法构建的数据库可以较好地支持场景平台的虚拟设计与仿真,且提升三维模型的检索效率,缩短了农业虚拟场景渲染平台的开发周期,为虚拟场景渲染平台的设计及搭建提供技术借鉴。

关键词: 虚拟场景模型, Unity3D, 虚拟仿真, MySQL

Abstract:  In order to build a virtual scene rendering platform more scientifically and efficiently, and solve the difficulty of storing and retrieving a large number of virtual scene models, Virtual simulation technology was used to evaluate the orchard using advanced agricultural equipment and reasonable planning, extract and parameterize a large number of virtual scene model feature information, store it in the database, and build a hash index column to accelerate retrieval. Unity3D was used as the scene development platform, combined with a typical open source relational database MySQL as the storage carrier for the characteristic information parameters of the virtual scene model and a hash index column. Driven by data, a threedimensional model that met the needs was quickly constructed, and a large number of threedimensional models were quickly retrieved and called. Taking the orchard scene as an example, the weather system simulation scene data was imported consisting of various fruit tree model data, and realscene scanned terrain data was used to construct an orchard scene database and quickly create a virtual orchard scene simulation platform. The simulation results showed that the database constructed by this method better supported the virtual design and simulation of the scene platform and improved the retrieval efficiency of the 3D model. Additionally, it also shortened the development cycle of the agricultural virtual scene rendering platform, and provided the best solution for the virtual scene rendering platform.

Key words: virtual scene model, Unity3D, virtual simulation, MySQL

中图分类号: