JOURNAL OF NANJING FORESTRY UNIVERSITY ›› 2017, Vol. 41 ›› Issue (06): 109-114.doi: 10.3969/j.issn.1000-2006.201609039

Previous Articles     Next Articles

Real-time dynamic visual simulation of sunlight and shadows in forest scenes

HUANG Ruirong,ZHANG Huaiqing*,LI Yongliang,YANG Tingdong,MA Zaiyang,LIU Yang   

  1. Research Institute of Forest Resource Information Techniques,Chinese Academy of Forestry, Beijing 100091, China
  • Online:2017-12-18 Published:2017-12-18

Abstract: 【Objective】3D forest visualization simulation is an active area of current forest research. In order to combine resource optimization with natural light when simulating shadow real-time dynamics in large-scale forest scenes, a novel rotation method based on child nodes was proposed.【Method】The sun and shadow child nodes, and a blind on the common root node were established by Billboard and PSSM, and then rotate the child nodes within the world coordinate system simultaneously to implement real-time dynamic process simulation of tree shadow shapes during the daytime. In addition, rendering efficiency was compared.【Result】The results showed that shadow rendering efficiency reached 70.0 frames/s when loading up to 5 000 trees; when loading more than 6 000 trees, rendering efficiency declined gently,both with and without the presence of shadows, and average rendering efficiency in forest scenes with shadow was almost 0.7 times than that of scenes without shadow.Additionally, shadow rendering efficiency was 16.0 frames/s in real-time dynamic forest scenes composed of approximately 19 000 trees.【Conclusion】 The experimental data for this approach can be easily obtained, and the simple, fast,and efficient algorithmcan render more realistic forest scenes, meet the requirements of real-time visualization,and produce better visual effects.

CLC Number: