fQuadtreeCullingD.dfm 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. object frmQuadtreeVisCulling: TfrmQuadtreeVisCulling
  2. Left = 297
  3. Top = 155
  4. Caption = 'Quadtree Visibility Culling'
  5. ClientHeight = 436
  6. ClientWidth = 632
  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. KeyPreview = True
  14. Position = poScreenCenter
  15. WindowState = wsMaximized
  16. OnCreate = FormCreate
  17. OnDestroy = FormDestroy
  18. OnKeyPress = FormKeyPress
  19. TextHeight = 13
  20. object GLSceneViewer1: TGLSceneViewer
  21. Left = 0
  22. Top = 41
  23. Width = 632
  24. Height = 395
  25. Camera = GLCamera1
  26. Buffer.FogEnvironment.FogStart = 3000.000000000000000000
  27. Buffer.FogEnvironment.FogEnd = 3950.000000000000000000
  28. Buffer.BackgroundColor = clWhite
  29. Buffer.Lighting = False
  30. FieldOfView = 151.586471557617200000
  31. PenAsTouch = False
  32. Align = alClient
  33. TabOrder = 0
  34. end
  35. object Panel1: TPanel
  36. Left = 224
  37. Top = 216
  38. Width = 185
  39. Height = 49
  40. TabOrder = 1
  41. object Label1: TLabel
  42. Left = 8
  43. Top = 8
  44. Width = 82
  45. Height = 13
  46. Caption = 'Generating Trees'
  47. end
  48. object ProgressBar1: TProgressBar
  49. Left = 8
  50. Top = 24
  51. Width = 169
  52. Height = 17
  53. TabOrder = 0
  54. end
  55. end
  56. object Panel2: TPanel
  57. Left = 0
  58. Top = 0
  59. Width = 632
  60. Height = 41
  61. Align = alTop
  62. TabOrder = 2
  63. object Label2: TLabel
  64. Left = 344
  65. Top = 9
  66. Width = 32
  67. Height = 13
  68. Caption = 'Label2'
  69. end
  70. object cbUseQuadtree: TCheckBox
  71. Left = 16
  72. Top = 8
  73. Width = 65
  74. Height = 17
  75. Caption = 'Quadtree'
  76. Checked = True
  77. State = cbChecked
  78. TabOrder = 0
  79. end
  80. object cbUseExtendedFrustum: TCheckBox
  81. Left = 96
  82. Top = 8
  83. Width = 105
  84. Height = 17
  85. Caption = 'E&xtended Frustum'
  86. Checked = True
  87. State = cbChecked
  88. TabOrder = 1
  89. end
  90. object cbShowQuadtree: TCheckBox
  91. Left = 224
  92. Top = 8
  93. Width = 97
  94. Height = 17
  95. Caption = 'Show &Quadtree'
  96. TabOrder = 2
  97. OnClick = cbShowQuadtreeClick
  98. end
  99. end
  100. object GLScene1: TGLScene
  101. Left = 36
  102. Top = 56
  103. object GLSkyDome1: TGLSkyDome
  104. Direction.Coordinates = {000000000000803F0000000000000000}
  105. Up.Coordinates = {0000000000000000000080BF00000000}
  106. Bands = <
  107. item
  108. StartColor.Color = {0000803F0000803F0000803F0000803F}
  109. StopAngle = 15.000000000000000000
  110. end
  111. item
  112. StartAngle = 15.000000000000000000
  113. StopAngle = 90.000000000000000000
  114. StopColor.Color = {938C0C3E938C0C3E938E0E3F0000803F}
  115. Stacks = 4
  116. end>
  117. Stars = <>
  118. end
  119. object GLTerrainRenderer1: TGLTerrainRenderer
  120. Material.MaterialLibrary = GLMaterialLibrary1
  121. Material.LibMaterialName = '1'
  122. Direction.Coordinates = {000000000000803F0000000000000000}
  123. Scale.Coordinates = {00000042000000420000004000000000}
  124. Up.Coordinates = {00000000000000000000803F00000000}
  125. HeightDataSource = GLBitmapHDS1
  126. TileSize = 32
  127. TilesPerTexture = 8.000000000000000000
  128. ContourWidth = 0
  129. end
  130. object queryVisible: TGLDirectOpenGL
  131. UseBuildList = False
  132. OnRender = queryVisibleRender
  133. Blend = False
  134. end
  135. object GLDirectOpenGL1: TGLDirectOpenGL
  136. UseBuildList = False
  137. Blend = False
  138. end
  139. object trees: TGLDummyCube
  140. CubeSize = 1.000000000000000000
  141. end
  142. object GLHUDText1: TGLHUDText
  143. Position.Coordinates = {0000804000008040000000000000803F}
  144. BitmapFont = GLWindowsBitmapFont1
  145. Text = '0'
  146. Rotation = 0.000000000000000000
  147. end
  148. object tree: TGLSprite
  149. Material.BlendingMode = bmTransparency
  150. Material.Texture.ImageAlpha = tiaSuperBlackTransparent
  151. Material.Texture.TextureMode = tmReplace
  152. Material.Texture.Disabled = False
  153. Width = 280.000000000000000000
  154. Height = 300.000000000000000000
  155. Rotation = 0.000000000000000000
  156. end
  157. object GLDirectOpenGL2: TGLDirectOpenGL
  158. Visible = False
  159. UseBuildList = False
  160. OnRender = GLDirectOpenGL2Render
  161. Blend = False
  162. end
  163. object GLSphere1: TGLSphere
  164. Position.Coordinates = {00000000000000000000FAC30000803F}
  165. Visible = False
  166. Radius = 90.000000000000000000
  167. end
  168. object GLCamera1: TGLCamera
  169. DepthOfView = 4000.000000000000000000
  170. FocalLength = 50.000000000000000000
  171. Position.Coordinates = {0000000000000000000020410000803F}
  172. end
  173. end
  174. object GLBitmapHDS1: TGLBitmapHDS
  175. MaxPoolSize = 0
  176. Left = 220
  177. Top = 60
  178. end
  179. object GLMaterialLibrary1: TGLMaterialLibrary
  180. Materials = <
  181. item
  182. Name = '1'
  183. Tag = 0
  184. Material.Texture.TextureMode = tmReplace
  185. Material.Texture.Disabled = False
  186. Texture2Name = '2'
  187. end
  188. item
  189. Name = '2'
  190. Tag = 0
  191. Material.Texture.TextureMode = tmModulate
  192. Material.Texture.Disabled = False
  193. end>
  194. Left = 32
  195. Top = 156
  196. end
  197. object GLCadencer1: TGLCadencer
  198. Scene = GLScene1
  199. OnProgress = GLCadencer1Progress
  200. Left = 128
  201. Top = 56
  202. end
  203. object GLNavigator1: TGLNavigator
  204. VirtualUp.Coordinates = {000000000000803F000000000000803F}
  205. MovingObject = GLCamera1
  206. UseVirtualUp = True
  207. AutoUpdateObject = True
  208. Left = 284
  209. Top = 152
  210. end
  211. object GLUserInterface1: TGLUserInterface
  212. MouseSpeed = 12.000000000000000000
  213. GLNavigator = GLNavigator1
  214. Left = 316
  215. Top = 64
  216. end
  217. object Timer1: TTimer
  218. OnTimer = Timer1Timer
  219. Left = 424
  220. Top = 156
  221. end
  222. object GLWindowsBitmapFont1: TGLWindowsBitmapFont
  223. Font.Charset = DEFAULT_CHARSET
  224. Font.Color = clWhite
  225. Font.Height = -13
  226. Font.Name = 'MS Sans Serif'
  227. Font.Style = []
  228. Left = 160
  229. Top = 152
  230. end
  231. end