摘要
对三维草地进行视景仿真,实时绘制随机风场作用下的草体元素,提高草地模拟的真实感。由于三维草地视景中的草体实体数量巨大,随着风场的作用发生随机的形态变化,传统方法难以有效实现对草地视景仿真。提出一种基于四方连续纹理生成的随机风场作用下的三维草地视景仿真方法。采用层状纹理方法进行三维草地场景生成再现,在随机风场作用下,采用轮廓点标记方法进行三维草地的特征分类,采用直方图算法进行模板距离度量,对三维草地在风场作用下的关键帧和当前帧进行模板匹配,对草地的等效直方图、轮廓区域中心位置、草地的镜面反射光强度、灰度极值四个属性进行归一化处理,实现四方连续纹理生成,提高风场作用下的视景仿真真实度。仿真结果表明,采用该算法进行随机风场作用下三维草地视景仿真,草体摆动效果真实性较好,动态模拟效果较好,草体目标位置的中心误差比传统方法降低,性能优越。
The 3D grassland of visual simulation, real-time rendering stochastic wind field under the action of the script element, improve grassland simulations sense of reality. Due to 3D grassland as king in cursive entity a huge number, with random changes in the morphology of the wind field, traditional method is difficult to effectively achieve the grassland scene simulation. A new method of 3D scene simulation based on the random wind field generated by the four continuous textures is proposed. Using the method of layered texture to generate the 3D grassland scene, using the method of the random wind field, the contour points marking method is used to carry out the feature classification. The histogram algorithm is used to template matching. The key frame and the current frame are matched with the wind field. Simulation results show that using the algorithm of stochastic wind field scene simulation script swing real effect better, simulation effect is better, cursive target location error than conventional methods reduce the apparent three-dimensional grassland, superior performance.
出处
《科技通报》
北大核心
2016年第3期79-83,共5页
Bulletin of Science and Technology
基金
四川省教育厅自然科学项目(16ZB0417)
四川省2014-2016年高等教育人才培养质量和教学改革项目(14-21-202)
成都农业科技职业学院教改项目(JG2015-01)
关键词
随机风场
草地
视景仿真
random wind field
grassland
visual simulation