Background. In order to increase the visual fidelity of characters in video games, strand-based hair rendering within Unreal Engine 4 is explored in this thesis. Because of the complex nature of hair, explicit hair models can be very costly to render and simulate. It is theorized that utilizing customized hair and simulation settings, tailored to specific types of hairstyles could alleviate this issue while preserving visual fidelity. Objectives. The aim of this thesis is to provide an insight into what can be done to increase visual appeal and computer performance of physical simulation for different types of hairstyles and determine if customized settings may cause a significant impact on the perceived level of realism. The objectives of this thesis are to acquire a set of different strand-based hairstyles, determine a set of customized hair and simulation settings which can be applied to them, create a test scene inside of Unreal Engine 4 and render out a set of images and videos to be used in a user experiment, measure the performance of each customized setting and finally synthesize the acquired data. Methods. In order to achieve the aims and objectives of this thesis, a user experiment that utilizes the 2AFC method to let participants compare image- and video-pairs is performed as well as a performance experiment using the built-in profiling tools in Unreal Engine 4. In addition, a pilot experiment was performed in order to ascertain that the experiments would be feasible on the available hardware. Results. The results show that there was a significant difference in the perceived level of realism when different simulation settings was applied to the hairstyles, with customized settings being preferred to the default setting. The voting results on the image-pairs showed a preference for fine hair strands while the strand count did not have as much of an impact. It was shown that participants could easier distinguish between the different simulation- and hair-settings in long hair compared to short hair. The performance experiment showed that the amount of hair strands had the biggest impact on computer performance. Conclusions. Customizing hair and simulation settings to different types of hairstyles could provide a heightened perceived level of realism and a limited performance boost, from what could be derived from these experiments. Lowering the hair strand count was determined to be the most effective method of increasing performance. The performance of strand-based hair is currently not quite reaching a consistent 60 frames per second on the tested hardware, but with further optimizations it is believed that this could be acquired, especially on more powerful graphics cards. Future work should keep focus on increasing the stability of real-time strand-based hair simulation.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:bth-20172 |
Date | January 2020 |
Creators | Larsson-Ståhl, Jennifer |
Publisher | Blekinge Tekniska Högskola, Institutionen för datavetenskap |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0014 seconds