fGrassD.dfm 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. object FormGrass: TFormGrass
  2. Left = 220
  3. Top = 170
  4. Caption = 'Grass'
  5. ClientHeight = 404
  6. ClientWidth = 602
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. OnCreate = FormCreate
  15. TextHeight = 13
  16. object GLSceneViewer: TGLSceneViewer
  17. Left = 0
  18. Top = 0
  19. Width = 487
  20. Height = 404
  21. Camera = Camera
  22. Buffer.BackgroundColor = clBackground
  23. Buffer.Lighting = False
  24. FieldOfView = 152.194625854492200000
  25. PenAsTouch = False
  26. Align = alClient
  27. OnClick = GLSceneViewerClick
  28. TabOrder = 0
  29. end
  30. object Panel: TPanel
  31. Left = 487
  32. Top = 0
  33. Width = 115
  34. Height = 404
  35. Align = alRight
  36. TabOrder = 1
  37. object LeafLabel: TLabel
  38. Left = 8
  39. Top = 32
  40. Width = 47
  41. Height = 13
  42. Caption = 'LeafLabel'
  43. end
  44. object NodeCountLabel: TLabel
  45. Left = 8
  46. Top = 72
  47. Width = 47
  48. Height = 13
  49. Caption = 'LeafLabel'
  50. end
  51. object NodeHLabel: TLabel
  52. Left = 8
  53. Top = 112
  54. Width = 47
  55. Height = 13
  56. Caption = 'LeafLabel'
  57. end
  58. object NodeAngleLabel: TLabel
  59. Left = 8
  60. Top = 152
  61. Width = 47
  62. Height = 13
  63. Caption = 'LeafLabel'
  64. end
  65. object Label1: TLabel
  66. Left = 8
  67. Top = 280
  68. Width = 26
  69. Height = 13
  70. Caption = 'Label'
  71. end
  72. object WindRangeLabel: TLabel
  73. Left = 8
  74. Top = 192
  75. Width = 47
  76. Height = 13
  77. Caption = 'LeafLabel'
  78. end
  79. object WindPowerLabel: TLabel
  80. Left = 8
  81. Top = 232
  82. Width = 47
  83. Height = 13
  84. Caption = 'LeafLabel'
  85. end
  86. object Leafbar: TTrackBar
  87. Left = 8
  88. Top = 48
  89. Width = 97
  90. Height = 17
  91. Max = 10000
  92. Frequency = 1000
  93. Position = 1000
  94. TabOrder = 0
  95. ThumbLength = 10
  96. OnChange = LeafbarChange
  97. end
  98. object AnimateBox: TCheckBox
  99. Left = 8
  100. Top = 8
  101. Width = 65
  102. Height = 17
  103. Caption = 'Animation'
  104. Checked = True
  105. State = cbChecked
  106. TabOrder = 1
  107. end
  108. object NodeCountBar: TTrackBar
  109. Left = 8
  110. Top = 88
  111. Width = 97
  112. Height = 17
  113. Min = 1
  114. Position = 3
  115. TabOrder = 2
  116. ThumbLength = 10
  117. OnChange = LeafbarChange
  118. end
  119. object NodeHBar: TTrackBar
  120. Left = 8
  121. Top = 128
  122. Width = 97
  123. Height = 17
  124. Max = 100
  125. Frequency = 10
  126. Position = 10
  127. TabOrder = 3
  128. ThumbLength = 10
  129. OnChange = LeafbarChange
  130. end
  131. object NodeAngleBar: TTrackBar
  132. Left = 8
  133. Top = 168
  134. Width = 97
  135. Height = 17
  136. Max = 90
  137. Frequency = 9
  138. Position = 20
  139. TabOrder = 4
  140. ThumbLength = 10
  141. OnChange = LeafbarChange
  142. end
  143. object WindRangeBar: TTrackBar
  144. Left = 8
  145. Top = 208
  146. Width = 97
  147. Height = 17
  148. Max = 1000
  149. Frequency = 100
  150. Position = 200
  151. TabOrder = 5
  152. ThumbLength = 10
  153. OnChange = LeafbarChange
  154. end
  155. object WindPowerBar: TTrackBar
  156. Left = 8
  157. Top = 248
  158. Width = 97
  159. Height = 17
  160. Max = 100
  161. Frequency = 10
  162. Position = 20
  163. TabOrder = 6
  164. ThumbLength = 10
  165. OnChange = LeafbarChange
  166. end
  167. end
  168. object GLScene: TGLScene
  169. Left = 8
  170. Top = 8
  171. object Terrain: TGLTerrainRenderer
  172. Material.Texture.Disabled = False
  173. Direction.Coordinates = {000000000000803F0000000000000000}
  174. Position.Coordinates = {0000D0C1000000000000D0410000803F}
  175. Scale.Coordinates = {CDCC4C3ECDCC4C3E0AD7A33C00000000}
  176. Up.Coordinates = {0000000000000000000080BF00000000}
  177. HeightDataSource = GLBitmapHDS
  178. TileSize = 128
  179. TilesPerTexture = 0.300000011920929000
  180. MaxCLODTriangles = 65535
  181. ContourWidth = 0
  182. end
  183. object Wind1: TGLDummyCube
  184. Tag = 5
  185. Position.Coordinates = {000000C000000040000000000000803F}
  186. CubeSize = 1.000000000000000000
  187. VisibleAtRunTime = True
  188. end
  189. object Wind2: TGLDummyCube
  190. CubeSize = 1.000000000000000000
  191. VisibleAtRunTime = True
  192. end
  193. object Wind3: TGLDummyCube
  194. CubeSize = 1.000000000000000000
  195. VisibleAtRunTime = True
  196. end
  197. object DirectOpenGL: TGLDirectOpenGL
  198. UseBuildList = False
  199. OnRender = DirectOpenGLRender
  200. Blend = False
  201. end
  202. object Camera: TGLCamera
  203. DepthOfView = 100.000000000000000000
  204. FocalLength = 50.000000000000000000
  205. CameraStyle = csInfinitePerspective
  206. Position.Coordinates = {0000000000004040000020410000803F}
  207. end
  208. end
  209. object GLCadencer: TGLCadencer
  210. Scene = GLScene
  211. OnProgress = GLCadencerProgress
  212. Left = 8
  213. Top = 64
  214. end
  215. object GLNavigator: TGLNavigator
  216. VirtualUp.Coordinates = {000000000000803F0000000000000000}
  217. MovingObject = Camera
  218. UseVirtualUp = True
  219. AutoUpdateObject = True
  220. Left = 88
  221. Top = 8
  222. end
  223. object GLUserInterface: TGLUserInterface
  224. MouseSpeed = 20.000000000000000000
  225. GLNavigator = GLNavigator
  226. Left = 88
  227. Top = 64
  228. end
  229. object GLBitmapHDS: TGLBitmapHDS
  230. InfiniteWrap = False
  231. MaxPoolSize = 0
  232. Left = 176
  233. Top = 8
  234. end
  235. object GLAsyncTimer: TGLAsyncTimer
  236. Enabled = True
  237. OnTimer = AsyncTimer1Timer
  238. ThreadPriority = tpNormal
  239. Left = 240
  240. Top = 8
  241. end
  242. object MatLib: TGLMaterialLibrary
  243. Left = 176
  244. Top = 64
  245. end
  246. end