Through the study of Distributed Virtual Reality (DVR) system architecture and relevant knowledge and based on the study of OGRE and RAKNET, a multi-user shared virtual scene framework is developed and implemented in this dissertation, The C/S structure and UDP protocol are adopted. The users can walk in the same virtual scene with the control of mouse and keyboard. Shared Virtual Scene management component adopts scene graph to make an effective maintenance of virtual scene database, state update message is used to keep the consistency in virtual scene. For reducing latency, the Pre-fetching mechanism and the multi-threaded mechanism are introduced. Because of the basis of open resources, the software cost of the whole system is cut short and it can be widely used. |