27 10 Vol. 27 No. 10 2015 10 Journal of System Simulation Oct., 2015 1 2 2 1 1 1. 363000 2. 361005 7 10% TP391.9 A 1004-731X (2015) 10-2546-08 DOI:10.16182/j.cnki.joss.2015.10.047 Research on Simulation System of 3D Orchid Flower Blossoming Process Xu Yanhuang 1, Yao Junfeng 2, Yang Baorong 2, Wang Qidi 1, Sun Yuzhen 1 (1. Zhangzhou City College, Zhangzhou 363000, China; 2. Software School of Xiamen University, Xiamen 361005, China) Abstract: As the national flower of China, orchid has various kinds of types and shapes, and its bloom process has never been simulated before. A model library of orchid organs was established and a transformation algorithm with random-valued parameters was proposed based on the model library of orchid organs by studying botanical knowledge of orchids and taking orchids with different morphological characteristics as research subjects for virtual modeling. Different segmental transformations were respectively performed on each organ of orchids to simulate growth of the organs according to the growth law of orchids. Different examples for simulating different type of orchids were provided to illustrate the realistic of dynamic growth of orchid by using the transformation algorithm. Meanwhile, the positive user interactive function of the simulation system enabled users to experience different orchids in different scenarios. Seven species of orchids were simulated in the system, and sales volume of orchids increased by 10% at the exhibition by using the system. Keywords: orchids; growth simulation; virtual reality; display system 1 2015-06-08 2015-07-24; (JB14210) (2013HZ0004-1) (1982-) ( 1973-) 20 60 [1] [2-3] [4-5] 2546
27 10 Vol. 27 No. 10 2015 10, : Oct., 2015 [4,6-7] [3,5,8-10] [1] [11-13] [7] [14] [15-16] 1 [17] [18] 1 5 1 Loading 2 3 4 5 1 2 2.1 v 15 5 10 15 2547
27 10 Vol. 27 No. 10 2015 10 Journal of System Simulation Oct., 2015 2(a) 2(b) 2(c) 2(d) r1 r2 ( ) ( ) 3 2.3 (a) (b) (c) (d) 2.2 2 20 p1[4][5][3] 35 p[7][5][3] 3 4 g angle g dg 2548
27 10 Vol. 27 No. 10 2015 10, : Oct., 2015 state true Step1 g 0+rand()%2 Step2 angle +rand()%5 Step3 dg Step4 if(g<angle/2) dg=dg+0.01 else dg=dg-0.01 Step5 if(dg<0.05) dg=0.05 Step6 g+=dg Step7 if(g<=angle) Step4 Step8 if(g>angle){ g=angle; state=false;} g angle 2.4 S void DrawLeafS(int n) 5(a) n leafls leafws DrawLeafS(int n) n=i n=k void DrawLeafQ(int a,int n) 5(b) (int)a n a leafls a leafws a 1 m n 4 l (1) l=l+ l (1) l l l l state false leafln leafwn leaflmax m A0Am 2 A0Am =(m-1)* A1A2 -(m-1)*(m-2)/2*d+ A0A1 +ram 1<=m<n) (2) n d A0An A0A1 2549
27 10 Vol. 27 No. 10 2015 10 Journal of System Simulation Oct., 2015 ram m (3) rotm=rot1+360/k+ram(k {2,3}) (3) k 2 k 3 6 (a) DrawLeafS (b) DrawLeafQ 5 3 VC OpenGL [24-25] 7 8 8(a) 8(b) 8(c) 8(d) 6 8(e) 8(f) 2550 8(g)
27 10 Vol. 27 No. 10 2015 10, : Oct., 2015 7 (a) (b) (c) (d) 9 10 (e) (f) (g) 4 8 (a) (b) 7 9-10 11 (c) (d) (e) (f) 11 2551
27 10 Vol. 27 No. 10 2015 10 Journal of System Simulation Oct., 2015 [7,12-16,23] [12] [9] [7] [15] 1000 10% 100 5 [1],. [J]., 2010, 37(9): 1523-1530. [2],,,. [J]., 2010, 27(1): 174-176. [3],. [J]., 2010, 26(1): 5-8. [4],,,. [J]., 2011, 28(1): 375-377. [5],,,. [J]., 2011, 28(10): 3957-3959, 3966. [6],,,. [J]., 2012, 28(16): 145-152. [7],. [J]. ( ), 2009, 43(12): 2191-2195. [8],,. [M]. :, 2010: 472-475. [9],,,. [J]., 2012, 40(1): 46-49. 2559 2552
27 10 Vol. 27 No. 10 2015 10, : Oct., 2015 on Graphics (S0730-0301), 2006, 3(25): 835-846. [2] Yasutaka Furukawa, Brian Curless, Steven M Seitz. Towards Internet-scale multi-view stereo [C]// IEEE Computer Vision and Pattern Recognition. USA: IEEE, 2010: 1434-1441. [3] M Kazhdan, H Hoppe. Screened poisson surface reconstruction [C]// ACM Transactions on Graphics. USA: IEEE, 2013, 32(3): 1-13. [4] Byungjoon Chang, Sangkyu Woo, Insung Ihm. GPU-based parallel construction of compact visual hull meshes [J]. The Visual Computer (S0178-2789), 2014, 30(2): 201-211. [5] Sorensen, Rhein, Mahoney. Reconstruction of textureless regions using structure from motion and image-based interpolation [C]// International Conference on Image Processing. USA: IEEE, 2014: 1847-1851. [6],. [J]., 2013, 25(10): 2449-2453. [7],,. [J].. 2014, 41(4): 813-822. [8] S Fuhrmann, F Langguth, M Goesele. MVE A Multi View Reconstruction Environment [C]// Euro graphics Workshop on Graphics and Cultural Heritage. Germany: Eurographics, 2014. [9] Zhuoliang Kang, Gerard Medioni. Fast Dense 3D Reconstruction using an Adaptive Multi-scale Discrete-Continuous Variational method [C]// Winter Conference on Applications of Computer Vision. USA: IEEE, 2014: 53-60. [10] Changchang Wu, Sameer Agarwal, Brian Curless, et al. Multicore Bundle Adjustment [C]// Computer Vision and Pattern Recognition. USA: IEEE, 2011: 3057-3064. [11] Carl Olsson, Olof Enqvist. Stable Structure from Motion for Unordered Image Collections [C]// Conference on Image Analysis. USA: IEEE, 2011: 524-535. [12] T Wu, S Yeung, J Jia, et al. A Closed-Form Solution to Tensor Voting: Theory and Applications [J]. IEEE Transactions on Pattern Analysis and Machine Intelligence (S0162-8828), 2012, 34(8): 1482-1495. [13] A Chambolle, T Pock. A first-order primal-dual algorithm for convex problems with applications to imaging [J]. Journal of Mathematical Imaging and Vision (S0924-9907), 2011, 40(1): 120-145. [14] W E Lorensen, H E Cline. Marching cubes: A high resolution 3d surface construction algorithm [C]// ACM Siggraph Computer Graphics. USA: IEEE, 1987, 21: 163-169. ( 2552 ) [10],,. OpenGL [J]., 2010, 38(1): 36-40. [11],. IFS [J]., 2008, 27(6): 21-24 [12],,,. [J]., 2010, 26(3): 3-5. [13],,. OpenGL [J]., 2008, 36(25): 11054-11056. [14] Peiyu Qin, Chuanbo Chen. Simulation Model of Flower Using the Integration of L-systerns with Bezier Surfaces [J]. International Journal of Computer Science and Network Security (S1738-7906), 2006, 6(2A): 65-68. [15]. [D]. :, 2011. [16],. [J]., 2012, 48(8): 185-188. [17]. [M]. :, 2010. [18]. [M]. :, 2013. [19],. [M]. :, 2004. [20]. [D]. :, 2012. [21],,,. [J]., 2011, 44(7): 1338-1345. [22] Chen X J, Neubert B, Xu Y Q, et al. Sketch-Based Tree Modeling Using Markov Random Field [J]. ACM Transactions On Graphics (S0730-0301), 2008, 27(5) Article 109:1-9. [23] Ding Z, Xu S, Ye X, et al. Flower Solid Modeling Based on Sketches [J]. Journal of Zhejiang University SCIENCE A (S1673-565X), 2008, 9(4): 481-488. [24] Richard S Wright Jr, Nicholas Haemel Graham Sellers Benjamin Lipchak. OpenGL (5 ) [M]. :, 2012. [25]. OpenGL (7 ) [M]. :, 2010. 2559