fOctreeRender.dfm 4.5 KB

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