fSoundOpenAL.dfm 6.0 KB

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