| With the development of computer hardware and photorealistic rendering technology, virtual reality technology has been rapid development. The virtual reality technology has been widely used in military, aerospace, medicine, entertainment, education, art, business, visual computing, manufacturing and architectural designand industries. The real-time three-dimensional virtual campus roaming YNUVR system is an important application of virtual reality technology. It is also a real-time, immersion and interactive virtual reality system that has an important significance to the construction of digital campus.The main job of real-time three-dimensional virtual campus roaming YNUVR system is realistic scene rendering and roaming interactive system development. Focusing on the virtual reality technology and Realistic Rendering Technology, this thesis will analyze, through the research of the relevant literature review in China and abroad. Analyze modeling technology and discover a design of real-time campus roaming system. GPU is a rendering coprocessor that can accelerate Rendering, so this paper also introduce the GPU and the programmable graphics rendering pipeline. Research and analyze the classic Local illumination Model and the hemisphere lighting model. Discover a design of GPU-based hemisphere lighting model which has three levels of ambient light source to simulation ambient light in campus roaming system. This paper do a detailed research on the basic theory of global illumination and GPU-based Spheric harmonic lighting used for simulated diffuse light in the campus roaming system. Describes the concepts and principles of the texture mapping technology which can Improve the scene photorealistic effect, and also analyze the texture filtering method. At last, With the real-time realistic rendering technology and virtual reality roaming technology algorithm, I use C++, OpenGL and GLSL to achieve a good effect of realism and real-time interactive YNUVR campus roaming system. |