Unit1.dfm 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'Sky Box'
  5. ClientHeight = 460
  6. ClientWidth = 572
  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. WindowState = wsMaximized
  15. OnCreate = FormCreate
  16. PixelsPerInch = 96
  17. TextHeight = 13
  18. object GLSceneViewer1: TGLSceneViewer
  19. Left = 0
  20. Top = 0
  21. Width = 572
  22. Height = 460
  23. Camera = GLCamera1
  24. Buffer.BackgroundColor = 7168
  25. Buffer.AmbientColor.Color = {0000803F0000803F0000803F0000803F}
  26. FieldOfView = 160.268386840820300000
  27. Align = alClient
  28. TabOrder = 0
  29. end
  30. object GLScene1: TGLScene
  31. Left = 32
  32. Top = 24
  33. object GLSkyBox1: TGLSkyBox
  34. Direction.Coordinates = {9598A23144F7DFB20000803F00000000}
  35. Up.Coordinates = {1DB356B30000803FB3FA87B300000000}
  36. MaterialLibrary = GLMaterialLibrary1
  37. MatNameTop = 'Top'
  38. MatNameBottom = 'Bottom'
  39. MatNameLeft = 'Left'
  40. MatNameRight = 'Right'
  41. MatNameFront = 'Front'
  42. MatNameBack = 'Back'
  43. MatNameClouds = 'Clouds'
  44. CloudsPlaneOffset = 0.119999997317791000
  45. CloudsPlaneSize = 2.000000000000000000
  46. object GLSphere1: TGLSphere
  47. Material.MaterialLibrary = GLMaterialLibrary1
  48. Direction.Coordinates = {18EBC2BE6823FE3E49BA47BF00000000}
  49. PitchAngle = 86.500000000000000000
  50. Position.Coordinates = {000000C000008040000080BF0000803F}
  51. TurnAngle = 10.500000000000000000
  52. Up.Coordinates = {CE00D4BE9A8D58BF0519ACBE00000000}
  53. Radius = 1.000000000000000000
  54. object GLSphere2: TGLSphere
  55. Material.MaterialLibrary = GLMaterialLibrary1
  56. Direction.Coordinates = {000000000000803F0000000000000000}
  57. PitchAngle = -8.000000000000000000
  58. Position.Coordinates = {0000000000000000000000400000803F}
  59. TurnAngle = 91.500000000000000000
  60. Up.Coordinates = {0000000000000000000080BF00000000}
  61. Radius = 0.300000011920929000
  62. end
  63. end
  64. end
  65. object GLSkyBox2: TGLSkyBox
  66. Direction.Coordinates = {00000000000000800000803F00000000}
  67. MaterialLibrary = GLMaterialLibrary1
  68. MatNameClouds = 'Clouds'
  69. CloudsPlaneOffset = 0.100000001490116100
  70. CloudsPlaneSize = 4.000000000000000000
  71. end
  72. object Castle: TGLDummyCube
  73. CubeSize = 1.000000000000000000
  74. object GLCube1: TGLCube
  75. Material.MaterialLibrary = GLMaterialLibrary1
  76. Position.Coordinates = {0BD43940FFFF7FC018230B400000803F}
  77. CubeSize = {0000803F000000420000803F}
  78. object GLCube2: TGLCube
  79. Material.MaterialLibrary = GLMaterialLibrary1
  80. Position.Coordinates = {000040C0000000BFCDCCCC3D0000803F}
  81. CubeSize = {0000C0400000803F0000803F}
  82. end
  83. end
  84. object GLCube11: TGLCube
  85. Material.MaterialLibrary = GLMaterialLibrary1
  86. Direction.Coordinates = {000080BF000000001AE1F7B300000000}
  87. Position.Coordinates = {F42B46C0FFFF7FC018230B400000803F}
  88. TurnAngle = -90.000000000000000000
  89. CubeSize = {0000803F000000420000803F}
  90. object GLCube21: TGLCube
  91. Material.MaterialLibrary = GLMaterialLibrary1
  92. Position.Coordinates = {000040C0000000BFCDCCCC3D0000803F}
  93. CubeSize = {0000C0400000803F0000803F}
  94. end
  95. end
  96. object GLCube111: TGLCube
  97. Material.MaterialLibrary = GLMaterialLibrary1
  98. Direction.Coordinates = {0000803F00000000B28FF03200000000}
  99. Position.Coordinates = {0CD43940FFFF7FC0E8DC74C00000803F}
  100. TurnAngle = 90.000000000000000000
  101. CubeSize = {0000803F000000420000803F}
  102. object GLCube211: TGLCube
  103. Material.MaterialLibrary = GLMaterialLibrary1
  104. Position.Coordinates = {000040C0000000BFCDCCCC3D0000803F}
  105. CubeSize = {0000C0400000803F0000803F}
  106. end
  107. end
  108. object GLCube112: TGLCube
  109. Material.MaterialLibrary = GLMaterialLibrary1
  110. Direction.Coordinates = {647F2B3300000000000080BF00000000}
  111. Position.Coordinates = {F42B46C0FFFF7FC0E8DC74C00000803F}
  112. TurnAngle = -180.000000000000000000
  113. CubeSize = {0000803F000000420000803F}
  114. object GLCube212: TGLCube
  115. Material.MaterialLibrary = GLMaterialLibrary1
  116. Position.Coordinates = {000040C0000000BFCDCCCC3D0000803F}
  117. CubeSize = {0000C0400000803F0000803F}
  118. end
  119. end
  120. end
  121. object GLLightSource1: TGLLightSource
  122. Ambient.Color = {BEC0403FBEC0403FBEC0403F0000803F}
  123. ConstAttenuation = 1.000000000000000000
  124. QuadraticAttenuation = 0.000099999997473788
  125. Position.Coordinates = {000088C100003042C0C6B5420000803F}
  126. LightStyle = lsOmni
  127. SpotCutOff = 180.000000000000000000
  128. object GLLensFlare1: TGLLensFlare
  129. Seed = 1465
  130. FlareIsNotOccluded = True
  131. end
  132. end
  133. object GLCamera1: TGLCamera
  134. DepthOfView = 300.000000000000000000
  135. FocalLength = 40.000000000000000000
  136. NearPlaneBias = 0.200000002980232200
  137. Position.Coordinates = {61EB8D3FD98541C02CCF94C00000803F}
  138. Direction.Coordinates = {E2CB26BF5D9A063F40FD0B3F00000000}
  139. Up.Coordinates = {A633CE3EC0C1593F8711ADBE00000000}
  140. end
  141. end
  142. object GLMaterialLibrary1: TGLMaterialLibrary
  143. Left = 112
  144. Top = 24
  145. end
  146. object GLNavigator1: TGLNavigator
  147. VirtualUp.Coordinates = {000000000000803F000000000000803F}
  148. MovingObject = GLCamera1
  149. UseVirtualUp = True
  150. AutoUpdateObject = True
  151. MaxAngle = 90.000000000000000000
  152. MinAngle = -90.000000000000000000
  153. Left = 208
  154. Top = 24
  155. end
  156. object GLCadencer1: TGLCadencer
  157. Scene = GLScene1
  158. OnProgress = GLCadencer1Progress
  159. Left = 32
  160. Top = 80
  161. end
  162. object GLUserInterface1: TGLUserInterface
  163. MouseSpeed = 16.000000000000000000
  164. GLNavigator = GLNavigator1
  165. Left = 296
  166. Top = 24
  167. end
  168. object GLSimpleNavigation1: TGLSimpleNavigation
  169. Form = Owner
  170. GLSceneViewer = GLSceneViewer1
  171. FormCaption = 'GLScene SkyBox - %FPS'
  172. KeyCombinations = <
  173. item
  174. ShiftState = [ssLeft, ssRight]
  175. Action = snaZoom
  176. end
  177. item
  178. ShiftState = [ssLeft]
  179. Action = snaMoveAroundTarget
  180. end
  181. item
  182. ShiftState = [ssRight]
  183. Action = snaMoveAroundTarget
  184. end>
  185. Left = 296
  186. Top = 88
  187. end
  188. end