Parallel Construction of Local Clearance Triangulations

The usage of navigation meshes for path planning in games and otherdomains is a common approach. One type of navigation mesh that recently has beendeveloped is the Local Clearance Triangulation (LCT). The overall aim of the LCT isto construct a triangulation in such a way that a property called theL...

Full description

Bibliographic Details
Main Authors: Gummesson, Simon, Johnson, Mikael
Format: Others
Language:English
Published: Blekinge Tekniska Högskola, Institutionen för datavetenskap 2019
Subjects:
LCT
GPU
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:bth-18886
id ndltd-UPSALLA1-oai-DiVA.org-bth-18886
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-bth-188862019-11-11T22:06:30ZParallel Construction of Local Clearance TriangulationsengGummesson, SimonJohnson, MikaelBlekinge Tekniska Högskola, Institutionen för datavetenskapBlekinge Tekniska Högskola, Institutionen för datavetenskap2019LCTGPGPUGPUNavmeshComputer and Information SciencesData- och informationsvetenskapThe usage of navigation meshes for path planning in games and otherdomains is a common approach. One type of navigation mesh that recently has beendeveloped is the Local Clearance Triangulation (LCT). The overall aim of the LCT isto construct a triangulation in such a way that a property called theLocal Clearancecan be used to calculate a path in a more efficient and cheap way. At the time ofwriting the thesis there only exists one solution that creates an LCT, this solution isonly using the CPU. Since the process of creating an LCT involves the insertion ofmany points and edge flips which only affects a local area it would be interesting toinvestigate the potential performance gain of using the GPU.Objectives.The objective of the thesis is to develop a GPU version based on thecurrent CPU LCT solution and to investigate in which cases the proposed GPU al-gorithm performs better.Methods.A GPU version and a CPU version of the proposed algorithm has beendeveloped to measure the performance gain of using the GPU, there are no algorith-mic differences between these versions. To measure the performance of the algorithmtwo tests have been constructed, the first test is called the Object Insertion test andmeasures the time it takes to build an LCT using generated test maps. The sec-ond test is called the Internal test and measures the internal performance of thealgorithm. A comparison between the GPU algorithm with an LCT library calledTriplanner was also done.Results.The proposed algorithm performed better on larger maps when imple-mented on a GPU compared to a CPU implementation of the algorithm. The GPUperformance compared to the Triplanner was faster in some of the larger maps.Conclusions.An algorithm that builds an LCT from scratch is presented. Theresults show that using the proposed algorithm on the GPU substantially increasesthe performance of the algorithm compared to when implementing it on a CPU. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:bth-18886application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic LCT
GPGPU
GPU
Navmesh
Computer and Information Sciences
Data- och informationsvetenskap
spellingShingle LCT
GPGPU
GPU
Navmesh
Computer and Information Sciences
Data- och informationsvetenskap
Gummesson, Simon
Johnson, Mikael
Parallel Construction of Local Clearance Triangulations
description The usage of navigation meshes for path planning in games and otherdomains is a common approach. One type of navigation mesh that recently has beendeveloped is the Local Clearance Triangulation (LCT). The overall aim of the LCT isto construct a triangulation in such a way that a property called theLocal Clearancecan be used to calculate a path in a more efficient and cheap way. At the time ofwriting the thesis there only exists one solution that creates an LCT, this solution isonly using the CPU. Since the process of creating an LCT involves the insertion ofmany points and edge flips which only affects a local area it would be interesting toinvestigate the potential performance gain of using the GPU.Objectives.The objective of the thesis is to develop a GPU version based on thecurrent CPU LCT solution and to investigate in which cases the proposed GPU al-gorithm performs better.Methods.A GPU version and a CPU version of the proposed algorithm has beendeveloped to measure the performance gain of using the GPU, there are no algorith-mic differences between these versions. To measure the performance of the algorithmtwo tests have been constructed, the first test is called the Object Insertion test andmeasures the time it takes to build an LCT using generated test maps. The sec-ond test is called the Internal test and measures the internal performance of thealgorithm. A comparison between the GPU algorithm with an LCT library calledTriplanner was also done.Results.The proposed algorithm performed better on larger maps when imple-mented on a GPU compared to a CPU implementation of the algorithm. The GPUperformance compared to the Triplanner was faster in some of the larger maps.Conclusions.An algorithm that builds an LCT from scratch is presented. Theresults show that using the proposed algorithm on the GPU substantially increasesthe performance of the algorithm compared to when implementing it on a CPU.
author Gummesson, Simon
Johnson, Mikael
author_facet Gummesson, Simon
Johnson, Mikael
author_sort Gummesson, Simon
title Parallel Construction of Local Clearance Triangulations
title_short Parallel Construction of Local Clearance Triangulations
title_full Parallel Construction of Local Clearance Triangulations
title_fullStr Parallel Construction of Local Clearance Triangulations
title_full_unstemmed Parallel Construction of Local Clearance Triangulations
title_sort parallel construction of local clearance triangulations
publisher Blekinge Tekniska Högskola, Institutionen för datavetenskap
publishDate 2019
url http://urn.kb.se/resolve?urn=urn:nbn:se:bth-18886
work_keys_str_mv AT gummessonsimon parallelconstructionoflocalclearancetriangulations
AT johnsonmikael parallelconstructionoflocalclearancetriangulations
_version_ 1719290161059069952