Font Size: a A A

Design And Implementation Of Collision Module In 3D Game

Posted on:2019-08-26Degree:MasterType:Thesis
Country:ChinaCandidate:K ZouFull Text:PDF
GTID:2428330590959963Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the continuous progress of Internet technology,the game industry is also changing with each passing day.A great game experience requires not how gorgeous the screen of the game scene is,but the interactive experience of virtual reality.And one of the most important issues that a good gaming experience needs to solve is to detect and handle collisions between virtual objects in the game scene,so improve and solve the problem.The design of collision detection is necessary.The design problem of collision detection is a common problem in game development.There may be many objects in a game scene,most of which belong to distant position or relatively independent state.So the collision operation of an object does not need to traverse these objects,we can use a polygon surrounding one or more objects to discuss the collision problem,which can save important computation and time.In real physical systems,it is generally necessary to make a choice between speed and accuracy.This thesis mainly deals with the collision detection problems that are easy to encounter in the development of 3D games.Analysis and discussion are made.In order to solve the problem of collision detection,OBB bounding box algorithm is adopted and optimized.For the graphics technology needed in the game,this 3D game shooting system is designed and implemented on the platform of Visual Studio 2010 by using the related technology of OpenGL graphical interface library and using these technologies and Visual C development language.The system is mainly divided into the following basic functional modules: basic framework,collision detection and model control,particle system and animation system.Focus on implementing collision modules It includes collision detection between scene and bullet,collision detection between scene and model,model and bullet collision detection and so on.Finally,the performance test and function test of the system and each function module of the game are carried out.The test results show that the system has achieved the desired results and has certain practicability.It also has certain reference and reference significance for the collision detection problems encountered in the same type of game development process in the future.
Keywords/Search Tags:collision detection algorithm, hierarchical bounding box method, OpenGL, 3D game
PDF Full Text Request
Related items