Unit1.dfm 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'Octree Demo'
  5. ClientHeight = 549
  6. ClientWidth = 738
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. OnCreate = FormCreate
  15. OnDestroy = FormDestroy
  16. PixelsPerInch = 96
  17. TextHeight = 13
  18. object GLSceneViewer1: TGLSceneViewer
  19. Left = 0
  20. Top = 81
  21. Width = 738
  22. Height = 468
  23. Camera = GLCamera1
  24. Buffer.BackgroundColor = clBackground
  25. Buffer.FaceCulling = False
  26. FieldOfView = 144.457351684570300000
  27. Align = alClient
  28. TabOrder = 0
  29. end
  30. object Panel1: TPanel
  31. Left = 0
  32. Top = 0
  33. Width = 738
  34. Height = 81
  35. Align = alTop
  36. TabOrder = 1
  37. DesignSize = (
  38. 738
  39. 81)
  40. object Label3: TLabel
  41. Left = 16
  42. Top = 8
  43. Width = 71
  44. Height = 13
  45. Caption = 'Leaf Threshold'
  46. end
  47. object Label2: TLabel
  48. Left = 120
  49. Top = 8
  50. Width = 404
  51. Height = 13
  52. Caption =
  53. '(Green = Colliding with other object, Red = inside query box/sph' +
  54. 'ere, Yellow = both)'
  55. end
  56. object LabelCollisions: TLabel
  57. Left = 495
  58. Top = 34
  59. Width = 43
  60. Height = 13
  61. Alignment = taRightJustify
  62. Anchors = [akTop, akRight]
  63. Caption = 'Collisions'
  64. ExplicitLeft = 527
  65. end
  66. object TrackBar_LeafThreshold: TTrackBar
  67. Left = 8
  68. Top = 24
  69. Width = 150
  70. Height = 25
  71. Max = 20
  72. Min = 3
  73. Position = 10
  74. TabOrder = 0
  75. TickStyle = tsNone
  76. OnChange = TrackBar_LeafThresholdChange
  77. end
  78. object Button_ResetOctreeSize: TButton
  79. Left = 272
  80. Top = 27
  81. Width = 105
  82. Height = 21
  83. Caption = 'Reset Octree Size'
  84. TabOrder = 1
  85. OnClick = Button_ResetOctreeSizeClick
  86. end
  87. end
  88. object GLScene1: TGLScene
  89. Left = 16
  90. Top = 64
  91. object GLDummyCube1: TGLDummyCube
  92. CubeSize = 1.000000000000000000
  93. end
  94. object GLDirectOpenGL1: TGLDirectOpenGL
  95. UseBuildList = False
  96. OnRender = GLDirectOpenGL1Render
  97. Blend = False
  98. end
  99. object GLCube1: TGLCube
  100. Material.MaterialLibrary = GLMaterialLibrary1
  101. Material.LibMaterialName = 'CommonMaterial'
  102. CubeSize = {0000A0400000A04000000041}
  103. end
  104. object GLSphere1: TGLSphere
  105. Material.MaterialLibrary = GLMaterialLibrary1
  106. Material.LibMaterialName = 'CommonMaterial'
  107. Position.Coordinates = {0000C0400000C0400000C0400000803F}
  108. Radius = 2.500000000000000000
  109. end
  110. object GLPlane1: TGLPlane
  111. Material.FrontProperties.Diffuse.Color = {CDCC4C3FCDCC4C3FCDCC4C3FCDCC4C3E}
  112. Material.BlendingMode = bmTransparency
  113. Direction.Coordinates = {0000000000000080000080BF00000000}
  114. Position.Coordinates = {0000000000000000000020410000803F}
  115. Up.Coordinates = {6A41323FD9BD373F0000000000000000}
  116. Visible = False
  117. Height = 40.000000000000000000
  118. Width = 40.000000000000000000
  119. end
  120. object GLLines1: TGLLines
  121. Nodes = <>
  122. Options = []
  123. end
  124. object GLCamera1: TGLCamera
  125. DepthOfView = 100.000000000000000000
  126. FocalLength = 75.000000000000000000
  127. TargetObject = GLDummyCube1
  128. Position.Coordinates = {0000404100008040000000410000803F}
  129. object GLLightSource1: TGLLightSource
  130. ConstAttenuation = 1.000000000000000000
  131. SpotCutOff = 180.000000000000000000
  132. end
  133. end
  134. end
  135. object GLCadencer1: TGLCadencer
  136. Scene = GLScene1
  137. OnProgress = GLCadencer1Progress
  138. Left = 16
  139. Top = 120
  140. end
  141. object GLSimpleNavigation1: TGLSimpleNavigation
  142. Form = Owner
  143. GLSceneViewer = GLSceneViewer1
  144. ZoomSpeed = 1.250000000000000000
  145. FormCaption = 'GLScene Octree - %FPS'
  146. KeyCombinations = <
  147. item
  148. ShiftState = [ssLeft, ssRight]
  149. Action = snaZoom
  150. end
  151. item
  152. ShiftState = [ssLeft]
  153. Action = snaMoveAroundTarget
  154. end
  155. item
  156. ShiftState = [ssRight]
  157. Action = snaMoveAroundTarget
  158. end>
  159. Left = 16
  160. Top = 176
  161. end
  162. object GLMaterialLibrary1: TGLMaterialLibrary
  163. Materials = <
  164. item
  165. Name = 'CommonMaterial'
  166. Tag = 0
  167. Material.FrontProperties.Diffuse.Color = {CDCC4C3FCDCC4C3FCDCC4C3FCDCCCC3E}
  168. Material.DepthProperties.DepthTest = False
  169. Material.DepthProperties.DepthWrite = False
  170. Material.BlendingMode = bmTransparency
  171. Material.FaceCulling = fcCull
  172. end>
  173. Left = 16
  174. Top = 224
  175. end
  176. end