Abstract:An algorithm combining Light of Sight (LOS) with the OpenGL software interface is proposed. The method uses the depth measuring and occlusion query functions of the OpenGL software interface to determine the effective emission surface in the detection direction and the transfer path of its radiation in mediums. Then, it uses LOS to obtain the radiation characteristics of the target in atmosphere in the detection direction. The simulation result shows that this algorithm is effective and has high computation efficiency.