| This thesis discusses how to display the lodge of natural scenery (grass, tree and smoke) based on the software MultiGen Creator/Vega Prime on personal computer.MultiGen Creator and Vega Prime are high efficient, cross-platform and extensible tools for implementing virtual realism system. The former is used for 3D modeling, the latter is used for program-realized animation. This article based on these two softwares, has realized 3D modeling of flight vehicle, 3D terrain creating and scenes-adding, 3D animation realizing, etc. The system taking some airport as the prototype, builds the virtual realism system for helicopter flights, adopting 3D model of grass and tree instead of disposing natural scenery with texture.The model of grass and tree is described as a set of connected branch segments. Each segment is assumed that one side is fixed and another is free. To reduce the amount of computation, the movement of each segment is calculated separately. Finally, the fixed end of each segment is moved to the free end of the adjacent segment to be connected so as to maintain the deformations from root to tip.Taking Linux's multi-proceses character into account, the whole animating system is divided in 2 parts: control process is responsible of setting variables and displaying data, while animation process in charge of animating simulation. The process to pass data from one process to another is achieved using Linux IPC, include message queue and UDP Socket. |