基于Unity 3D的中国古代农耕虚拟场景智能展示平台

    Intelligent exhibition platform of Chinese ancient farming virtual scene based on Unity3D

    • 摘要: 中国传统农耕文化与精耕细作的农业精神是中国古代农业长期居于世界领先地位的关键因素。目前传播方式的限制阻碍了农耕文化与精神的传播和发展,鉴于此,提出一种结合虚拟现实技术开发虚拟农耕场景智能展示平台的方法。该研究提出的模型交互控制观察算法,精确地实现了模型的旋转与缩放查看;针对目前虚拟场景路径漫游中漫游物体角度不能变化的问题,提出一种物体朝向变化的虚拟场景漫游算法,使得路径虚拟漫游更贴合人的浏览角度。该研究基于Unity3D平台,采用3d Max建模工具,以C#为脚本语言设计并开发虚拟农耕场景智能展示平台。试验结果表明:虚拟农耕场景融合了交互与漫游技术,可还原古代农耕场景,宣传介绍典型生产技艺,为文化的展示提供参考。

       

      Abstract: Abstract: The limitation of the current mode of transmission has hindered the spread and development of farming culture and spirit. In view of the mentioned facts, a method of developing an intelligent exhibition platform based on virtual reality was proposed. In order to avoid the error and delay caused by interaction, we proposed an algorithm of model interactive control that could realize observing the 3D (three-dimensional) model by rotating and zooming it accurately. Meanwhile, we put forward a virtual scene roaming algorithm for orientation changing aiming at the problem that the present virtual scene path roaming algorithm cannot change the object's orientation, and as a result, the effect achieved by this algorithm was more similar to behavior of human. The intelligent exhibition platform of virtual farming scene was designed and developed based on the Unity3D platform, with 3D Max as the 3D modeling tool and C# as the scripting language. Virtual farming scene should be built on the basis of the objective facts, so that it can be in line with the historical background and reality. But one of the difficulties of this platform was that we had no real scene for reference, so we proposed a method of observation and measurement to solve the problem. According to the analysis and design of the data, the display platform was divided into 2 parts, the north ancient China with dry land and the south ancient China with paddy fields. Each part would be shown from 3 aspects, i.e. scene, farming tools and typical production skills. By observing the appearance, recording the structure, size and angle measurement of real farming tools and its components, we obtained the basic data to complete 3D modeling. There were 2 frequently used methods for 3D modeling: entity modeling and fractal modeling. Through the analysis of physical characteristics of objects, different modeling methods were adopted to complete modeling. With its convenient and intelligent features, key frame animation has become the most basic computer animation technology. In order to achieve the final animation effect, combined with the characteristics of the 3D models of this platform, we adopted key frame animation technology to complete the animation. In order to achieve the intelligent display of scenes, we used 3D virtual roaming technology, and the scene roaming was divided into 2 modes, automatic mode and manual mode. The first way could browse the virtual scene automatically by using the virtual scene roaming algorithm for orientation changing that we have proposed, while the second provided user an opportunity to view the scenes manually through a virtual character. We adopted human-computer interaction technology by using the algorithm of model interactive control that we have proposed. And the interaction accuracy was favorable. Unity3D was utilized as the development software for the platform. The completed 3D models were imported into Unity3D project file with a file format of .FBX. Both the scene roaming and interactive function of the platform were achieved by coding C# scripts. The virtual scene that could show experiment results of the platform rendered a good effect. The research result showed that blended with roaming and controlling, the intelligent platform restored an ancient farming scene, which publicizes the typical production skills, greatly improves the practicability of the platform, and offers a kind of new method for culture exhibition.

       

    /

    返回文章
    返回