在流体仿真中,场景处理是将场景模型转化为可计算流体边界的重要途径.针对传统算法效率低的问题,提出一种面向流体仿真的场景处理方法.通过挖掘流体仿真计算的规律,定义面向流体计算特征的场景语义;利用该语义建立最优场景图来组织仿真场景,并对场景进行高效的处理.将文中方法应用到火灾仿真和流体动画中的实验结果表明,该方法能够提高场景处理效率,满足流体仿真计算的需求.
Scene processing is crucial in the transformation of a scene model into computable boundary condition in fluid simulation. In this paper, we present a novel scene processing method for fluid simulation. Our method is designed to covert 3D models into computable boundary condition while improving the processing efficiency. In our approach, fluid oriented semantics are defined by taking into account the principles of fluid computation. Based on the semantics, an optimized scene graph is constructed and used to achieve expected results efficiently. Finally, we apply our method to fire simulation as well as fluid animation. Experiments show that the proposed scene processing approach can be applied to fulfill the requirement of fluid simulation with improved efficiency.