Font Size: a A A

Virtual Player Roaming And Path Planning Of Marine Engine Room

Posted on:2021-03-05Degree:MasterType:Thesis
Country:ChinaCandidate:Y B WeiFull Text:PDF
GTID:2392330602490948Subject:Marine Engineering
Abstract/Summary:PDF Full Text Request
Under the background that virtual reality technology is widely used,marine simulators are gradually changing from two-dimensional simulation to three-dimensional visual simulation.Aiming at the problems of single roaming function and general roaming quality of virtual characters in the current 3D turbine simulator,this paper proposes to use improved A*algorithm to realize the automatic roaming of virtual characters to a single target,and on this basis,the genetic algorithm and A*algorithm In order to realize the automatic roaming of virtual characters to multiple targets.Taking the virtual cabin of Yukun ship as a scene,a simulation experiment of automatic roaming of virtual characters was successfully carried out.This article mainly did the following work:Improve the traditional A*algorithm to optimize the quality of the planned path.In response to the problem of excessive turning points of paths planned by the traditional A*algorithm,the A*algorithm was smoothed;for the problem that the paths planned by the traditional A*algorithm were close to obstacles,the A*algorithm was safely processed;for improvements After the problem that the efficiency of the A*,algorithm is obviously reduced,the two-way search mechanism is introduced into the A*algorithm,and the two-way search mechanism is optimized.The simulation experiment of path planning in MATLAB proves the effectiveness of the improved algorithm.Based on the improved A*algorithm,the function of multi-object path planning is realized.Combining genetic algorithm and improved A*algorithm to achieve multi-objective path planning.Aiming at the problem of unsmooth roaming caused by the high density of the ship's engine room equipment,the genetic A*algorithm has been clustered and improved,so that multiple target points are automatically grouped under certain constraints to optimize the multi-target path planning process.Simulation experiments of path planning prove the effectiveness of the improved algorithm.The virtual cabin is built on the basis of the "Yukun" wheel auxiliary cabin,in which the automatic roaming function of the virtual character is designed and implemented.In the unity3d three-dimensional engine,the ship virtual engine room scene is built,and the script is written in C#language to form the virtual character automatic roaming function.Carrying out the experiment of automatic roaming simulation of the ship's virtual engine room,which proves that the improved path planning algorithm successfully expands the roaming function and effectively improves the roaming quality.Made a theoretical attempt.
Keywords/Search Tags:Virtual reality, marine simulator, path planning, genetic algorithm, a~* algorithm
PDF Full Text Request
Related items