fCullingD.dfm 4.5 KB

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