Unit1.dfm 5.2 KB

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