Enhancing the HPC-Lab Snow Simulator with More Realistic Terrains and Other Interactive Features

Taking advantage of the raw processing power offered by today's graphic processing units (GPUs) has become a major research topic. The amount of repeated independent computation that goes into the simulation of physical systems such as wind and snow simulations makes them great candidates f...

Full description

Bibliographic Details
Main Author: Nordahl, Andreas
Format: Others
Language:English
Published: Norges teknisk-naturvitenskapelige universitet, Institutt for datateknikk og informasjonsvitenskap 2013
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:no:ntnu:diva-22993
id ndltd-UPSALLA1-oai-DiVA.org-ntnu-22993
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-ntnu-229932013-10-13T04:36:55ZEnhancing the HPC-Lab Snow Simulator with More Realistic Terrains and Other Interactive FeaturesengNordahl, AndreasNorges teknisk-naturvitenskapelige universitet, Institutt for datateknikk og informasjonsvitenskapInstitutt for datateknikk og informasjonsvitenskap2013Taking advantage of the raw processing power offered by today's graphic processing units (GPUs) has become a major research topic. The amount of repeated independent computation that goes into the simulation of physical systems such as wind and snow simulations makes them great candidates for GPU parallelization.The HPC-Lab at the Norwegian University of Science and Technology (NTNU) has had several master students contributing to a real-time snow simulation. This thesis presents the work done to implement a number of real-time rendering techniques to improve the realism of this snow simulator. The main implementation of our snow simulator, which this thesis is based on, runs on the GPU using CUDA.The rendering is done in OpenGL, so the use of CUDA/OpenGL interoperability has been integral to achieve the performance needed to render the simulator output in real-time. The additional rendering techniques introduced by this thesis work are mesh texturing and lighting, triplanar texturing, scalar texture mixing, Perlin noise texture blending, shadow mapping, distance fog, skybox, billboarding and procedural texturing. Keeping the strict real-time constraint of the snow simulator has been the most important factor in choice and implementation of the rendering techniques. Our results show that scalar mixing, shadow mapping, distance fog and skybox all give significant visual improvements to the snow simulator, at a relatively low cost, keeping the frame rate above 24 frames per second (fps) for terrains of resolution 1024x1024 vertices. Triplanar texturing, however, turns out to not be that well suited for the snow simulator because of the added computational cost of doing several texture samples for each fragment, and the lack of visual improvement due to the relatively flat terrain height maps used. Procedural texturing of the snow particles using Perlin noise are tested and shown to be as fast as using image textures, with nearly 25 fps when rendering 5 million particles using a wind field with resolution 128x32x128 over a 768x768 terrain on a PC with a NVIDIA's GTX480 card. It significantly improves the realism of the rendered snowfall. Ideas for further improvements are also included. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:no:ntnu:diva-22993Local ntnudaim:9033application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
description Taking advantage of the raw processing power offered by today's graphic processing units (GPUs) has become a major research topic. The amount of repeated independent computation that goes into the simulation of physical systems such as wind and snow simulations makes them great candidates for GPU parallelization.The HPC-Lab at the Norwegian University of Science and Technology (NTNU) has had several master students contributing to a real-time snow simulation. This thesis presents the work done to implement a number of real-time rendering techniques to improve the realism of this snow simulator. The main implementation of our snow simulator, which this thesis is based on, runs on the GPU using CUDA.The rendering is done in OpenGL, so the use of CUDA/OpenGL interoperability has been integral to achieve the performance needed to render the simulator output in real-time. The additional rendering techniques introduced by this thesis work are mesh texturing and lighting, triplanar texturing, scalar texture mixing, Perlin noise texture blending, shadow mapping, distance fog, skybox, billboarding and procedural texturing. Keeping the strict real-time constraint of the snow simulator has been the most important factor in choice and implementation of the rendering techniques. Our results show that scalar mixing, shadow mapping, distance fog and skybox all give significant visual improvements to the snow simulator, at a relatively low cost, keeping the frame rate above 24 frames per second (fps) for terrains of resolution 1024x1024 vertices. Triplanar texturing, however, turns out to not be that well suited for the snow simulator because of the added computational cost of doing several texture samples for each fragment, and the lack of visual improvement due to the relatively flat terrain height maps used. Procedural texturing of the snow particles using Perlin noise are tested and shown to be as fast as using image textures, with nearly 25 fps when rendering 5 million particles using a wind field with resolution 128x32x128 over a 768x768 terrain on a PC with a NVIDIA's GTX480 card. It significantly improves the realism of the rendered snowfall. Ideas for further improvements are also included.
author Nordahl, Andreas
spellingShingle Nordahl, Andreas
Enhancing the HPC-Lab Snow Simulator with More Realistic Terrains and Other Interactive Features
author_facet Nordahl, Andreas
author_sort Nordahl, Andreas
title Enhancing the HPC-Lab Snow Simulator with More Realistic Terrains and Other Interactive Features
title_short Enhancing the HPC-Lab Snow Simulator with More Realistic Terrains and Other Interactive Features
title_full Enhancing the HPC-Lab Snow Simulator with More Realistic Terrains and Other Interactive Features
title_fullStr Enhancing the HPC-Lab Snow Simulator with More Realistic Terrains and Other Interactive Features
title_full_unstemmed Enhancing the HPC-Lab Snow Simulator with More Realistic Terrains and Other Interactive Features
title_sort enhancing the hpc-lab snow simulator with more realistic terrains and other interactive features
publisher Norges teknisk-naturvitenskapelige universitet, Institutt for datateknikk og informasjonsvitenskap
publishDate 2013
url http://urn.kb.se/resolve?urn=urn:nbn:no:ntnu:diva-22993
work_keys_str_mv AT nordahlandreas enhancingthehpclabsnowsimulatorwithmorerealisticterrainsandotherinteractivefeatures
_version_ 1716604533485862912