Group of plants, such as forest, grass-land, and garden, are necessary parts of natural scenes. Due to the large varieties and their natural complexity in geometry, modeling and rendering of large scenes with many plants are difficult and with challenge, which are limited by the capabilities of current graphics hardware. The objective of this study is to present a fast algorithm to simulate a virtual tomato garden based on GPUs acceleration. Parametric L-system is used to describe the topological structure of individual tomato plants. Vertex shader and fragment shader are utilized to do the computing of graphical interpretation of generated strings and the calculation of texture, light, and color of different organs, respectively. Moreover, level of detail is employed to describe different simulation level according to distance between the plant position and the viewpoint. The experiment results show that the proposed method can not only simulate the natural scene of tomato garden, but also can visually simulate the interactive behaviors between tomato plants and environmental factors.
展开▼