The background of this thesis is lightning simulation based on OpenGL. Author discusses the main problems and key technologies from modeling,designing and programming.Firstly, introduces the basic knowledge of the lightning, which is natural phenomena of spectacularity and complexity.Secondly, expatiates the mathematics model of producing lightning channel, which includes physical properties of lightning and factors of influence & restrict (such as computational complexity,computational time). The results were as follows: this model can produce real lightning image, at the same time, can satisfy physical properties of lightning.Thirdly, expatiates the key technologies of 3D graphics technology which use to implement the lightning simulation, which includes how to render the color,halo,glow,illumination effect of lightning; how to make use of characteristics in OpenGL Utility Toolkit ,in order to real-time rendering of ligtning .Lastly, briefly introduces how to extend and improve this simulation of lightning. |