fCulling.dfm 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. object FormCulling: TFormCulling
  2. Left = 188
  3. Top = 112
  4. Caption = 'Culling'
  5. ClientHeight = 486
  6. ClientWidth = 636
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Arial'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. Position = poScreenCenter
  15. OnCreate = FormCreate
  16. PixelsPerInch = 96
  17. TextHeight = 14
  18. object Viewer: TGLSceneViewer
  19. Left = 0
  20. Top = 0
  21. Width = 504
  22. Height = 486
  23. Camera = GLCamera1
  24. Buffer.BackgroundColor = 12040119
  25. FieldOfView = 156.746032714843800000
  26. PenAsTouch = False
  27. Align = alClient
  28. TabOrder = 0
  29. end
  30. object Panel2: TPanel
  31. Left = 504
  32. Top = 0
  33. Width = 132
  34. Height = 486
  35. Align = alRight
  36. TabOrder = 1
  37. DesignSize = (
  38. 132
  39. 486)
  40. object Label1: TLabel
  41. Left = 25
  42. Top = 8
  43. Width = 75
  44. Height = 15
  45. Anchors = [akTop, akRight]
  46. Caption = 'Culling Mode:'
  47. Font.Charset = DEFAULT_CHARSET
  48. Font.Color = clWindowText
  49. Font.Height = -12
  50. Font.Name = 'Arial'
  51. Font.Style = [fsBold]
  52. ParentFont = False
  53. end
  54. object Label2: TLabel
  55. Left = 29
  56. Top = 128
  57. Width = 47
  58. Height = 15
  59. Anchors = [akTop, akRight]
  60. Caption = 'Objects:'
  61. Font.Charset = DEFAULT_CHARSET
  62. Font.Color = clWindowText
  63. Font.Height = -12
  64. Font.Name = 'Arial'
  65. Font.Style = [fsBold]
  66. ParentFont = False
  67. end
  68. object RBNone: TRadioButton
  69. Left = 27
  70. Top = 33
  71. Width = 89
  72. Height = 17
  73. Anchors = [akTop, akRight]
  74. Caption = 'None'
  75. TabOrder = 0
  76. OnClick = RBNoneClick
  77. end
  78. object RBObject: TRadioButton
  79. Left = 27
  80. Top = 56
  81. Width = 89
  82. Height = 17
  83. Anchors = [akTop, akRight]
  84. Caption = 'Object based'
  85. TabOrder = 1
  86. OnClick = RBNoneClick
  87. end
  88. object RBHierarchical: TRadioButton
  89. Left = 27
  90. Top = 79
  91. Width = 89
  92. Height = 17
  93. Anchors = [akTop, akRight]
  94. Caption = 'Hierarchical'
  95. TabOrder = 2
  96. Visible = False
  97. OnClick = RBNoneClick
  98. end
  99. object RBActors: TRadioButton
  100. Left = 32
  101. Top = 208
  102. Width = 81
  103. Height = 17
  104. Caption = 'Actors'
  105. TabOrder = 3
  106. OnClick = RBSpheresClick
  107. end
  108. object RBSpheres: TRadioButton
  109. Left = 30
  110. Top = 170
  111. Width = 81
  112. Height = 17
  113. Caption = 'Spheres'
  114. Checked = True
  115. TabOrder = 4
  116. TabStop = True
  117. OnClick = RBSpheresClick
  118. end
  119. end
  120. object GLScene: TGLScene
  121. Left = 16
  122. Top = 16
  123. object GLLightSource1: TGLLightSource
  124. ConstAttenuation = 1.000000000000000000
  125. Position.Coordinates = {0000C8420000A042000070420000803F}
  126. SpotCutOff = 180.000000000000000000
  127. end
  128. object DCTarget: TGLDummyCube
  129. CubeSize = 1.000000000000000000
  130. object GLCamera1: TGLCamera
  131. DepthOfView = 100.000000000000000000
  132. FocalLength = 50.000000000000000000
  133. TargetObject = DCTarget
  134. Position.Coordinates = {0000A04000000040000040400000803F}
  135. Left = 256
  136. Top = 144
  137. end
  138. end
  139. object DCSpheres: TGLDummyCube
  140. CubeSize = 1.000000000000000000
  141. end
  142. object DCActors: TGLDummyCube
  143. Visible = False
  144. CubeSize = 1.000000000000000000
  145. end
  146. object ACReference: TGLActor
  147. Material.MaterialLibrary = GLMaterialLibrary
  148. Material.LibMaterialName = 'ActorTexture'
  149. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  150. Position.Coordinates = {CDCC4C3DCDCC4C3DCDCC4C3D0000803F}
  151. Scale.Coordinates = {CDCC4C3DCDCC4C3DCDCC4C3D00000000}
  152. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  153. AnimationMode = aamLoop
  154. Interval = 100
  155. end
  156. end
  157. object GLCadencer: TGLCadencer
  158. Scene = GLScene
  159. OnProgress = GLCadencerProgress
  160. Left = 48
  161. Top = 16
  162. end
  163. object Timer1: TTimer
  164. OnTimer = Timer1Timer
  165. Left = 16
  166. Top = 48
  167. end
  168. object GLMaterialLibrary: TGLMaterialLibrary
  169. Materials = <
  170. item
  171. Name = 'ActorTexture'
  172. Tag = 0
  173. Material.Texture.Disabled = False
  174. end>
  175. Left = 48
  176. Top = 48
  177. end
  178. end