fPongC.dfm 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. object FormPong: TFormPong
  2. Left = 0
  3. Top = 0
  4. Margins.Left = 5
  5. Margins.Top = 5
  6. Margins.Right = 5
  7. Margins.Bottom = 5
  8. Caption = 'Pong'
  9. ClientHeight = 669
  10. ClientWidth = 1099
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -19
  15. Font.Name = 'Tahoma'
  16. Font.Style = []
  17. Position = poScreenCenter
  18. OnCreate = FormCreate
  19. PixelsPerInch = 168
  20. TextHeight = 23
  21. object GLSceneViewer1: TGLSceneViewer
  22. Left = 0
  23. Top = 0
  24. Width = 1099
  25. Height = 669
  26. Margins.Left = 5
  27. Margins.Top = 5
  28. Margins.Right = 5
  29. Margins.Bottom = 5
  30. Camera = GLCamera1
  31. Buffer.BackgroundColor = clBlack
  32. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
  33. FieldOfView = 162.997100830078100000
  34. PenAsTouch = False
  35. Align = alClient
  36. OnMouseMove = GLSceneViewer1MouseMove
  37. TabOrder = 0
  38. end
  39. object GLScene1: TGLScene
  40. Left = 32
  41. Top = 8
  42. object GLShadowVolume: TGLShadowVolume
  43. Lights = <
  44. item
  45. LightSource = GLLightSource1
  46. end>
  47. Occluders = <
  48. item
  49. Caster = Ball
  50. end
  51. item
  52. Caster = Pad
  53. end>
  54. Options = [svoCacheSilhouettes, svoWorldScissorClip, svoDesignVisible]
  55. object Plane1: TGLPlane
  56. Material.MaterialLibrary = GLMaterialLibrary1
  57. Material.LibMaterialName = 'Mat'
  58. Position.Coordinates = {0000000000000000000000BF0000803F}
  59. Height = 10.000000000000000000
  60. Width = 15.000000000000000000
  61. object Cube1: TGLCube
  62. Material.MaterialLibrary = GLMaterialLibrary1
  63. Material.LibMaterialName = 'Edge'
  64. Position.Coordinates = {000000000000A0400000803E0000803F}
  65. CubeSize = {000078410000003F0000003F}
  66. end
  67. object Cube2: TGLCube
  68. Material.MaterialLibrary = GLMaterialLibrary1
  69. Material.LibMaterialName = 'Edge'
  70. Position.Coordinates = {0000F0C0000000000000803E0000803F}
  71. CubeSize = {0000003F000020410000003F}
  72. end
  73. object Cube3: TGLCube
  74. Material.MaterialLibrary = GLMaterialLibrary1
  75. Material.LibMaterialName = 'Edge'
  76. Position.Coordinates = {0000F040000000000000803E0000803F}
  77. CubeSize = {0000003F000020410000003F}
  78. end
  79. end
  80. object Ball: TGLSphere
  81. Material.MaterialLibrary = GLMaterialLibrary1
  82. Material.LibMaterialName = 'Ball'
  83. Radius = 0.400000005960464500
  84. Slices = 12
  85. Stacks = 9
  86. end
  87. object Pad: TGLCube
  88. Material.MaterialLibrary = GLMaterialLibrary1
  89. Material.LibMaterialName = 'Pad'
  90. Position.Coordinates = {00000000666696C0000080BE0000803F}
  91. CubeSize = {000000400000003F0000003F}
  92. end
  93. end
  94. object DummyCube1: TGLDummyCube
  95. CubeSize = 1.000000000000000000
  96. object GLCamera1: TGLCamera
  97. DepthOfView = 100.000000000000000000
  98. FocalLength = 50.000000000000000000
  99. TargetObject = DummyCube1
  100. Position.Coordinates = {00000000000070C1000020410000803F}
  101. Direction.Coordinates = {000000000000803F0000000000000000}
  102. Up.Coordinates = {00000000000000000000803F00000000}
  103. end
  104. end
  105. object GLLightSource1: TGLLightSource
  106. ConstAttenuation = 1.000000000000000000
  107. Position.Coordinates = {00004040000080BF0000A0400000803F}
  108. Specular.Color = {0000803F0000803F0000803F0000803F}
  109. SpotCutOff = 180.000000000000000000
  110. end
  111. object SpaceText1: TGLSpaceText
  112. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  113. Material.FrontProperties.Diffuse.Color = {0000803F0000803F000000000000803F}
  114. Material.FrontProperties.Emission.Color = {0000000000000000A1A0203F0000803F}
  115. Material.FrontProperties.Shininess = 75
  116. Direction.Coordinates = {00000000EA4677BFEE83843E00000000}
  117. Position.Coordinates = {0000C0BF00000000000060400000803F}
  118. Scale.Coordinates = {000000400000803F0000803F00000000}
  119. Up.Coordinates = {00000000EE83843EEA46773F00000000}
  120. Extrusion = 1.000000000000000000
  121. Font.Charset = DEFAULT_CHARSET
  122. Font.Color = clWindowText
  123. Font.Height = -16
  124. Font.Name = 'Arial'
  125. Font.Style = [fsBold]
  126. Lines.Strings = (
  127. '000')
  128. allowedDeviation = 1.000000000000000000
  129. CharacterRange = stcrNumbers
  130. end
  131. end
  132. object GLMaterialLibrary1: TGLMaterialLibrary
  133. Materials = <
  134. item
  135. Name = 'Mat'
  136. Tag = 0
  137. Material.FrontProperties.Diffuse.Color = {000000000000803F000000000000803F}
  138. end
  139. item
  140. Name = 'Edge'
  141. Tag = 0
  142. Material.FrontProperties.Diffuse.Color = {0000803FBDBCBC3EF1F0F03D0000803F}
  143. end
  144. item
  145. Name = 'Ball'
  146. Tag = 0
  147. Material.FrontProperties.Shininess = 75
  148. Material.FrontProperties.Specular.Color = {0000803F0000803F0000803F0000803F}
  149. end
  150. item
  151. Name = 'Pad'
  152. Tag = 0
  153. Material.FrontProperties.Diffuse.Color = {00000000000000000000803F0000803F}
  154. end>
  155. Left = 40
  156. Top = 72
  157. end
  158. object Timer1: TTimer
  159. OnTimer = Timer1Timer
  160. Left = 344
  161. Top = 8
  162. end
  163. object GLCadencer1: TGLCadencer
  164. Scene = GLScene1
  165. MaxDeltaTime = 0.050000000000000000
  166. OnProgress = GLCadencer1Progress
  167. Left = 120
  168. Top = 8
  169. end
  170. end