fSoundOpenAL.dfm 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. object Form1: TForm1
  2. Left = 209
  3. Top = 92
  4. Caption = 'Sound OpenAL'
  5. ClientHeight = 407
  6. ClientWidth = 638
  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. OnCreate = FormCreate
  14. TextHeight = 13
  15. object GLSceneViewer: TGLSceneViewer
  16. Left = 0
  17. Top = 66
  18. Width = 638
  19. Height = 314
  20. Camera = GLCamera1
  21. Buffer.BackgroundColor = clBlack
  22. Buffer.AntiAliasing = aaNone
  23. FieldOfView = 144.669631958007800000
  24. PenAsTouch = False
  25. Align = alClient
  26. TabOrder = 0
  27. end
  28. object TrackBar: TTrackBar
  29. Left = 0
  30. Top = 380
  31. Width = 638
  32. Height = 27
  33. Align = alBottom
  34. Max = 180
  35. Min = -180
  36. PageSize = 45
  37. Frequency = 45
  38. TabOrder = 1
  39. ThumbLength = 10
  40. TickMarks = tmBoth
  41. OnChange = TrackBarChange
  42. end
  43. object TrackBar1: TTrackBar
  44. Left = 0
  45. Top = 33
  46. Width = 638
  47. Height = 33
  48. Align = alTop
  49. Max = 50
  50. Min = -50
  51. PageSize = 45
  52. Frequency = 10
  53. TabOrder = 2
  54. ThumbLength = 10
  55. TickMarks = tmBoth
  56. OnChange = TrackBar1Change
  57. end
  58. object Panel1: TPanel
  59. Left = 0
  60. Top = 0
  61. Width = 638
  62. Height = 33
  63. Align = alTop
  64. BevelOuter = bvNone
  65. TabOrder = 3
  66. DesignSize = (
  67. 638
  68. 33)
  69. object LabelFPS: TLabel
  70. Left = 8
  71. Top = 14
  72. Width = 20
  73. Height = 13
  74. Caption = 'FPS'
  75. end
  76. object btnChimes: TButton
  77. Left = 547
  78. Top = 3
  79. Width = 83
  80. Height = 25
  81. Anchors = [akTop, akRight]
  82. Caption = 'Chimes (WAV)'
  83. TabOrder = 0
  84. OnClick = btnChimesClick
  85. end
  86. object btnHowl: TButton
  87. Left = 458
  88. Top = 3
  89. Width = 83
  90. Height = 25
  91. Anchors = [akTop, akRight]
  92. Caption = 'Howl (MP3)'
  93. TabOrder = 1
  94. OnClick = btnHowlClick
  95. end
  96. end
  97. object GLSMOpenAL: TGLSMOpenAL
  98. Active = True
  99. MaxChannels = 32
  100. MasterVolume = 1.000000000000000000
  101. Listener = Mickey
  102. Sources = <>
  103. Cadencer = GLCadencer1
  104. Environment = seAuditorium
  105. Left = 280
  106. Top = 72
  107. end
  108. object GLSoundLibrary: TGLSoundLibrary
  109. Samples = <>
  110. Left = 192
  111. Top = 72
  112. end
  113. object GLScene: TGLScene
  114. Left = 24
  115. Top = 72
  116. object DummyCube: TGLDummyCube
  117. CubeSize = 1.000000000000000000
  118. object Torus1: TGLTorus
  119. Material.FrontProperties.Diffuse.Color = {00000000000000000000803F0000803F}
  120. Material.FrontProperties.Emission.Color = {000000008180803E8180003F0000803F}
  121. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  122. Position.Coordinates = {00000000000000BF000000000000803F}
  123. Scale.Coordinates = {0000803F0000803F0000003F00000000}
  124. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  125. MajorRadius = 5.000000000000000000
  126. MinorRadius = 0.100000001490116100
  127. Rings = 16
  128. Sides = 3
  129. StopAngle = 360.000000000000000000
  130. Parts = [toSides, toStartDisk, toStopDisk]
  131. end
  132. object Mickey: TGLSphere
  133. Position.Coordinates = {000000000000003F000000000000803F}
  134. Radius = 0.500000000000000000
  135. Slices = 9
  136. Stacks = 9
  137. BehavioursData = {
  138. 0458434F4C02010201061054474C42536F756E64456D69747465720200060D53
  139. 6F756E6420456D69747465720200020002000200050000000000000080FF3F05
  140. 0000000000000080FF3F0500000000000000C805400500000000000000B40740
  141. 0500000000000000B407400500000000000000000000060E474C536F756E644C
  142. 69627261727912000000000808020109}
  143. object Sphere2: TGLSphere
  144. Position.Coordinates = {CDCCCC3ECDCC4C3E000000000000803F}
  145. Radius = 0.300000011920929000
  146. Slices = 6
  147. Stacks = 6
  148. end
  149. object Sphere3: TGLSphere
  150. Position.Coordinates = {CDCCCCBECDCC4C3E000000000000803F}
  151. Radius = 0.300000011920929000
  152. Slices = 6
  153. Stacks = 6
  154. end
  155. object Cone1: TGLCone
  156. Direction.Coordinates = {2EF964BF2EF9E43E0000000000000000}
  157. Position.Coordinates = {00000000000000000000003F0000803F}
  158. Up.Coordinates = {00000000000000000000803F00000000}
  159. BottomRadius = 0.300000011920929000
  160. Height = 0.500000000000000000
  161. Slices = 8
  162. Stacks = 2
  163. Parts = [coSides]
  164. end
  165. end
  166. object Plane1: TGLPlane
  167. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  168. Position.Coordinates = {00000000000000BF000000000000803F}
  169. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  170. Height = 10.000000000000000000
  171. Width = 0.500000000000000000
  172. end
  173. end
  174. object Sphere: TGLSphere
  175. Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000803F}
  176. Material.FrontProperties.Emission.Color = {8180003F00000000000000000000803F}
  177. Position.Coordinates = {000000400000003F000000000000803F}
  178. OnProgress = SphereProgress
  179. Radius = 0.500000000000000000
  180. Slices = 9
  181. Stacks = 9
  182. BehavioursData = {
  183. 0458434F4C02010201061054474C42536F756E64456D69747465720200120000
  184. 00000200020002000200050000000000000080FF3F050000000000000080FF3F
  185. 0500000000000000C805400500000000000000B407400500000000000000B407
  186. 400500000000000000000000060E474C536F756E644C696272617279060C6472
  187. 756D6C6F6F702E7761760808020309}
  188. object Disk1: TGLDisk
  189. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  190. Position.Coordinates = {00000000000080BF000000000000803F}
  191. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  192. OuterRadius = 0.500000000000000000
  193. Slices = 12
  194. SweepAngle = 360.000000000000000000
  195. end
  196. end
  197. object GLLightSource: TGLLightSource
  198. ConstAttenuation = 1.000000000000000000
  199. Position.Coordinates = {0000204100002041000020410000803F}
  200. SpotCutOff = 180.000000000000000000
  201. end
  202. object GLCamera1: TGLCamera
  203. DepthOfView = 100.000000000000000000
  204. FocalLength = 50.000000000000000000
  205. TargetObject = Plane1
  206. Position.Coordinates = {000000400000A040000020410000803F}
  207. Left = 256
  208. Top = 160
  209. end
  210. end
  211. object GLCadencer1: TGLCadencer
  212. Scene = GLScene
  213. SleepLength = 1
  214. Left = 96
  215. Top = 72
  216. end
  217. object Timer: TTimer
  218. OnTimer = TimerTimer
  219. Left = 24
  220. Top = 136
  221. end
  222. end