The Researches and Practices of Realistic Terrain Display in Computer Games

Author
ChengDongZhe
Advisor
WangZuoXuan
School
Jilin University
Major
Applied Computer Technology
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2009
Downloads
145
Citations
3

Request the full text

Abstract

With the computer hardware and software development, computer graphics has entered a new period, realistic graphics has reached a real-time rendering time. Military exercises, military simulation, virtual reality display of the terrain has been on high-end machines can run smoothly and achieve the desired results. Realistic terrain and game shows also fall far short of this effect, one of the reasons why the user’s machine configurations are relatively low, not so fast CPU and GPU, more than enough memory. Software so designers must optimize the management of the bottom in order to achieve the desired effect. Another reason why computer games are not only realistic terrain display, but also including the game logic, artificial intelligence, physics simulation, collision detection and so on, which requires a part-time except for the realistic display, but also deal with these elements.More research only focuse on a simple majority of the treatment on the terrain, such as: the number of quadtree LOD (Level of Detail) method, ROAM (Real-time Optimally Adapting Meshes), in order to quickly make a lot of rendering effective management methods and rapid treatment methods, but few to add a variety of environmental elements, not add to the real terrain of the environment, and with its combination of good.This article focused on the game show realistic terrain and collision treatment, started from the terrain data optimization, and then add a variety of environmental elements, and finally deal with the collisions between objects and objects ,the collisions between terrain and objects.In this paper, generating the terrain data used to two kinds of algorithm, according to the needs , each algorithm has its own characteristics. The first method can generate a lot of the small hills, adjusting the parameters, you can adjust the height and rolling hills status. The first two kinds of terrain generation algorithm, you can finish stitching terrain. Because there are a lot of terrain algorithm, and all of them are pre-processing stages, so any kind of algorithm can be used will not affect the real-time rendering.For rendering terrain data, this article uses LOD quadtree approach ,and do optimize. The first pre-optimized treatment called DH matrix, fan-Pro program so not more than one level, thus avoiding rendering the LOD at the same time to carry out cracks . Because of pre-treatment, in order to save a lot of real-time rendering of time, speed up the rendering speed; second optimization is a new CPU and GPU in parallel, using Direct9.0, classification of the vertex format and materials, should be able to deal with dynamic vertex data, can also deal with the static vertex data, rendering the terrain so that a fan reached the fastest speed of the best, so that the entire terrain to reach the fastest rendering.In order to enhance the Surface realism, add a three-texture terrain, including terrain textures, light texture and detail texture. A high degree of terrain with different textures of the different terrain surface texture, using interpolation to generate ,the user based on the actual height of the terrain to give different texture, the final automatically generated real, continuous, the texture transition. Can also be in accordance with the direction of the sun to generate the surface texture of the light, the light texture generation process easy fast, this algorithm is actually 2D, for a rough simulation, because the human eye to distinguish the light is relatively low, so be confused as real ones, to achieve the desired results and can be changed according to the need for light, rapid re-generation of 2D terrain texture light, thereby changing the topography light can also be based on the color of the light source to regulate the light color to color to adapt to the terrain so that the corresponding light source color.Realistic in order to enhance the environment, add up the sky, the sea, halo, trees, shadows, and other animals. Rendering the water change, using a simple texture coordinates for Analog and mixed-use for rendering transparent, resulting in a calm and the water flow, if the machine can be hardware necessary to use differential equations to simulate the real water, and achieve the effect of reflection and refraction. The sky using the sky box rendering technology, coupled with a 6 cube box noodle texture, with the Z buffer to achieve, and you can add dynamic effects of refraction reflection sky. Objects in the shadow of the shadow of the use of two kinds of algorithm - Z buffer algorithm and Z test fails to test the success of a buffer algorithm, based on the needs of the dynamic changes in light source, the real simulation of static and dynamic shadow objects. The movement of animal bones animation using skin, bone in accordance with the level between the vertex, each bone are tied to the corresponding set of vertices, by updating the bone level, to change the vertex and vertex bone with inter-mixed hybrid method to a real animation to achieve animals roaming in the scene. In this paper, the use of billboard technology animation to simulate the explosion of mixed results, two kinds of ads to brand technology, are completely towards a camera, one is the only rendering in accordance with the Y axis. Billboards can be used to simulate trees, but also can simulate the effect of particles, rain, snow and other effects.In order to further speed up the display, the use of quadtree methods, tailor-made terrain camera, each leaf node surrounded by a space surrounded by boxes, and then the camera cut with the corresponding leaf node. With BHV (bounding hierarchical volumes) to manage objects in the scene and the camera quickly cut, do not put all the deleted objects can be seen go out. And added clever unlimited terrain, a terrain block to carry out splicing, rendering repeated to achieve a deceptive visual effects, so players really think that in the unlimited terrain, it saves a lot of memory space, and unlimited terrain rendering also reached the fastest results. Finally, add a physical collision with a quad-tree method for rapid management of objects on the topography and terrain, and deal with their mutual collision detection. First set up in accordance with the location of objects in the tree, and then the camera cut leaf node tree.

Table of contents

Summary 4-7 Chapter 1 Introduction 7-9 1.1 Overview 7 1.2 Research Status 7-8 < br /> 1.3 This article contents 8-9 Chapter 2 terrain generation algorithm 9-13 2.1 Fault Formation 9-11 2.2 Midpoint Displacement 11-13 Chapter 3 terrain textures 13-26 3.1 terrain textures introduced 13-14 3.2 small texture interpolation generates large textures 14-19 3.3 add detail texture 19-21 3.4 Add lightmapped 21-26 Chapter 4 quadtree LOD terrain rendering 26-40 4.1 quadtree (QUATREE) division introduced 26-27 divided matrix 4.2 terrain LOD quadtree 27-30 4.3 modified DH matrix generation method 30-34 4.4 vertex Manager 34-36 4.5 rendering terrain 36-40 Chapter 5 camera cut terrain 40-44 Chapter 6 skybox 44-47 Chapter 7 simple seawater 47-48 first 8 billboard 48-52 Chapter 9 halo 52-56 Chapter 10 objects and terrain scene BHV 56-60 10.1 quadtree structure BHV 56-59 10.2 rendering quadtree BHV 59-60 Chapter 11 shadow body 60-65 11.1 introduction stencil buffer 60-61 11.2 construct shadow body 61-63 11.3 rendering shadow volumes 63-65 Chapter 12 collision 65-69 12.1 three kinds of primitive collision algorithm 65-67 12.2 collision scene processing 67-68 12.3 terrain tracking algorithm 68-69 Chapter 13 unlimited terrain 69-72 Chapter 14 summary and Outlook 72-73 References 73 - 75 Thanks 75-76 Summary 76-78 Abstract 78-80

Related dissertations

  1. The Three-dimensional Display System in Launch Field
    YuJianXin ·Harbin Institute of Technology ·2013 ·Master's thesis
  2. Optimization of Quadtree LOD and Application in the Terrain Simulation
  3. Terrain-VDR: Interactive Parallel Rendering System for Out-of-Core Terrain Dataset
    YinPing ·Zhejiang University ·2006 ·Master's thesis
  4. Remote sensing images used on the battlefield visualization environment comprehensive treatment technology research
    LiaoYun ·PLA Information Engineering University ·2005 ·Master's thesis
  5. Research on Large-Scale Terrain Real-Time Visualization Base on Quadtreee and Blocking Technology
    HuangQuanPin ·Chengdu University of Technology ·2005 ·Master's thesis
  6. Research and Application of Three Dimension Terrain Visualization
    PengHai ·Wuhan University of Technology ·2010 ·Master's thesis
  7. BSP and quadtree -based scene management research
  8. Research on LOD Technology in Terrain Visualization
    WangXiaoJun ·Suzhou University ·2009 ·Master's thesis
  9. Study on Construction Machinery Based Virtual Lab Based on VRML
  10. Model Optimization Technique Based on Viewpoint-dependent and Application
  11. Research and Implementation of Continuous Distance-dependent Level of Detail (CDLOD) Terrain Rendering Algorithms
    LiChangSheng ·University of Jinan ·2013 ·Master's thesis
  12. An Adaptive Fractal Image Compression
    Taha Mohammed Hasan ·Harbin Institute of Technology ·2013 ·Doctoral dissertation
  13. Complex Scene Rendering Optimization on GPU
  14. Research on simulation method of deep space target infrared optical properties
  15. The Study on Even Cluster-based Routing Protocols in Wireles Ssensor Networks
    LiuFang ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  16. Wireless video multicast research in wavelet domain soft
  17. Research of Complex Boundary Adaptive Quadrilateral Mesh Generation Based on Quadtree Mesh
    ZhangQingChun ·Northeastern University ·2012 ·Master's thesis
  18. Research on3D Models Management and Visualization of City Building
    WangTao ·Liaoning Technical University ·2013 ·Master's thesis
  19. Research on the Integration Method of3-dimentional Terrain Model and Ground Feature Model Based on Level of Detail
    HuZuoJin ·Lanzhou Jiaotong University ·2013 ·Master's thesis
  20. Algorithm for Generation of Terrain and3D Visuaiization of the Coal Mining Subsidence Area
    HeZuo ·Anhui University ·2014 ·Master's thesis