Improving the Accuracy of FFT-based GPGPU Ocean Surface Simulations
dc.contributor.author | Eriksson, Jacob | |
dc.contributor.author | Wingård, Joakim | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
dc.contributor.examiner | Assarsson, Ulf | |
dc.contributor.supervisor | Sintorn, Erik | |
dc.date.accessioned | 2022-12-08T09:36:06Z | |
dc.date.available | 2022-12-08T09:36:06Z | |
dc.date.issued | 2022 | |
dc.date.submitted | 2022 | |
dc.description.abstract | In this paper, we explore how the current state of the art in real-time ocean simula tions can be improved in terms of simulation accuracy, while preserving performance. Current methods, both in academia and in the industry, simulate an ocean model in frequency space on the GPU, convert said model on an approximately frame-by frame basis to the spatial domain using the Fourier transform, and then read back the resulting heightfield to the CPU as input to the application’s physics engine. We propose a fully GPU-based simulation framework that eliminates these GPU readbacks, successfully eliminating the latency-induced simulation errors present in current solutions, while preserving both ocean interactivity and performance. Along this report we also present a prototype of our framework as an Unreal Engine project. From comparing our proposed framework with the current state of the art, we find: • a significant correction in simulation accuracy of boats and their wakes; • near-equivalent GPU performance and improved CPU performance; • the need to rewrite certain physics behaviors for the GPU that are commonly available as built-in functionality in modern CPU-based physics engines; • an arguably more complicated implementation. We conclude that the errors are significant enough to consider in related work and that the proposed approach is worthwhile investigating further in future work. The prototype code is available at: https://github.com/NeonSky/master-thesis | |
dc.identifier.coursecode | DATX05 | |
dc.identifier.uri | https://odr.chalmers.se/handle/20.500.12380/305901 | |
dc.language.iso | eng | |
dc.setspec.uppsok | Technology | |
dc.subject | computer graphics | |
dc.subject | 3D graphics | |
dc.subject | real-time rendering | |
dc.subject | Fourier transform | |
dc.subject | FFT | |
dc.subject | simulation | |
dc.subject | GPGPU | |
dc.subject | interactive | |
dc.subject | ocean wave spectrum | |
dc.subject | oceanography | |
dc.title | Improving the Accuracy of FFT-based GPGPU Ocean Surface Simulations | |
dc.type.degree | Examensarbete för masterexamen | sv |
dc.type.degree | Master's Thesis | en |
dc.type.uppsok | H | |
local.programme | Computer science – algorithms, languages and logic (MPALG), MSc |