fOctreeD.dfm 4.3 KB

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