fOctreeD.dfm 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. object FormOctreedemo: TFormOctreedemo
  2. Left = 175
  3. Top = 104
  4. Caption = 'Octree Demo'
  5. ClientHeight = 436
  6. ClientWidth = 615
  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 GLSceneViewer2: TGLSceneViewer
  17. Left = 0
  18. Top = 49
  19. Width = 615
  20. Height = 387
  21. Camera = GLCamera2
  22. Buffer.BackgroundColor = clBlack
  23. Buffer.ShadeModel = smSmooth
  24. FieldOfView = 151.023590087890600000
  25. PenAsTouch = False
  26. Align = alClient
  27. OnMouseDown = GLSceneViewer2MouseDown
  28. OnMouseMove = GLSceneViewer2MouseMove
  29. TabOrder = 0
  30. ExplicitWidth = 554
  31. ExplicitHeight = 337
  32. end
  33. object Panel1: TPanel
  34. Left = 0
  35. Top = 0
  36. Width = 615
  37. Height = 49
  38. Align = alTop
  39. BevelOuter = bvNone
  40. TabOrder = 1
  41. ExplicitWidth = 546
  42. object Label1: TLabel
  43. Left = 312
  44. Top = 1
  45. Width = 32
  46. Height = 13
  47. Caption = 'Label1'
  48. end
  49. object Label2: TLabel
  50. Left = 312
  51. Top = 16
  52. Width = 32
  53. Height = 13
  54. Caption = 'Label2'
  55. end
  56. object Label3: TLabel
  57. Left = 311
  58. Top = 30
  59. Width = 32
  60. Height = 13
  61. Caption = 'Label3'
  62. end
  63. object Label5: TLabel
  64. Left = 8
  65. Top = 8
  66. Width = 32
  67. Height = 13
  68. Caption = 'Label5'
  69. end
  70. object LABuild: TLabel
  71. Left = 8
  72. Top = 24
  73. Width = 36
  74. Height = 13
  75. Caption = 'LABuild'
  76. end
  77. object Label4: TLabel
  78. Left = 168
  79. Top = 32
  80. Width = 32
  81. Height = 13
  82. Caption = 'Label4'
  83. end
  84. object LabelFPS: TLabel
  85. Left = 472
  86. Top = 16
  87. Width = 20
  88. Height = 13
  89. Caption = 'FPS'
  90. end
  91. object CheckBox1: TCheckBox
  92. Left = 168
  93. Top = 16
  94. Width = 97
  95. Height = 17
  96. Caption = 'Auto collide'
  97. Checked = True
  98. State = cbChecked
  99. TabOrder = 0
  100. end
  101. object CBOctree: TCheckBox
  102. Left = 168
  103. Top = 0
  104. Width = 97
  105. Height = 17
  106. Caption = 'Octree enabled'
  107. Checked = True
  108. State = cbChecked
  109. TabOrder = 1
  110. end
  111. end
  112. object GLScene1: TGLScene
  113. Left = 112
  114. Top = 80
  115. object GLLightSource1: TGLLightSource
  116. Ambient.Color = {000000001283003F0000803F0000803F}
  117. ConstAttenuation = 1.000000000000000000
  118. Position.Coordinates = {00004842000016430000C8420000803F}
  119. LightStyle = lsOmni
  120. Specular.Color = {0000803F00000000000000000000803F}
  121. SpotCutOff = 180.000000000000000000
  122. end
  123. object DummyCube1: TGLDummyCube
  124. CubeSize = 1.000000000000000000
  125. object FreeForm1: TGLFreeForm
  126. Direction.Coordinates = {000000000000803F0000000000000000}
  127. Scale.Coordinates = {CDCCCC3DCDCCCC3DCDCCCC3D00000000}
  128. Up.Coordinates = {00000000000000000000803F00000000}
  129. end
  130. end
  131. object Sphere1: TGLSphere
  132. Material.FrontProperties.Emission.Color = {0000803F0000803F000000000000803F}
  133. Direction.Coordinates = {000000000000803F0000000000000000}
  134. Up.Coordinates = {E9DC72BF000000009BE8A13E00000000}
  135. Radius = 0.300000011920929000
  136. Slices = 6
  137. Stacks = 6
  138. object ArrowLine1: TGLArrowLine
  139. Material.FrontProperties.Diffuse.Color = {CDCC4C3FCDCC4C3FCDCC4C3F9A99193F}
  140. Material.FrontProperties.Emission.Color = {1283803E1283803E000000000000803F}
  141. Material.BlendingMode = bmTransparency
  142. Position.Coordinates = {0000000000000000CDCCCC3D0000803F}
  143. BottomRadius = 0.050000000745058060
  144. Height = 1.000000000000000000
  145. TopRadius = 0.100000001490116100
  146. TopArrowHeadHeight = 0.500000000000000000
  147. TopArrowHeadRadius = 0.200000002980232200
  148. BottomArrowHeadHeight = 0.500000000000000000
  149. BottomArrowHeadRadius = 0.200000002980232200
  150. end
  151. end
  152. object GLCamera2: TGLCamera
  153. DepthOfView = 100.000000000000000000
  154. FocalLength = 50.000000000000000000
  155. TargetObject = DummyCube1
  156. Position.Coordinates = {0000A040000010C10000A0410000803F}
  157. Direction.Coordinates = {00000000000000000000803F00000000}
  158. Up.Coordinates = {67C57BBF3B5B393E0000000000000000}
  159. end
  160. end
  161. object GLCadencer1: TGLCadencer
  162. Scene = GLScene1
  163. OnProgress = GLCadencer1Progress
  164. Left = 16
  165. Top = 80
  166. end
  167. object Timer1: TTimer
  168. Interval = 300
  169. OnTimer = Timer1Timer
  170. Left = 64
  171. Top = 80
  172. end
  173. end