Abstract:
This paper adopts the dynamic follow-the-leader method to achieve the balance between visual effect and speed in hair simulation.Firstly,we present a fast interpolation algorithm based on Gaussian kernel function,which can interpolate smooth hair fast.Then,the offset function is used to alter positions along the hair strand and create curliness on the hair.Finally,this paper proposes a wind model based on mathematics and physics,which can be used to simulate dynamic hair driven by wind in real time through controlling wind speed adjusted by wind factor.We render and shade the hair by two shading models,Kajiya-kay and Marschner,in real time,and deep opacity maps algorithm is also used to generate hair self-shadowing.The final experiments prove that our wind model performs well in the dynamic hair simulation,and has good real time results as well.