fArchipelagoC.dfm 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Align = alClient
  5. BorderStyle = bsNone
  6. Caption = 'GLScene Archipelago'
  7. ClientHeight = 421
  8. ClientWidth = 560
  9. Color = clBtnFace
  10. Font.Charset = DEFAULT_CHARSET
  11. Font.Color = clWindowText
  12. Font.Height = -11
  13. Font.Name = 'Tahoma'
  14. Font.Style = []
  15. OnCreate = FormCreate
  16. OnKeyPress = FormKeyPress
  17. TextHeight = 13
  18. object GLSceneViewer: TGLSceneViewer
  19. Left = 0
  20. Top = 0
  21. Width = 560
  22. Height = 421
  23. Camera = GLCamera
  24. BeforeRender = GLSceneViewerBeforeRender
  25. Buffer.FogEnvironment.FogColor.Color = {0000803F0000803F0000803F0000803F}
  26. Buffer.FogEnvironment.FogStart = 500.000000000000000000
  27. Buffer.FogEnvironment.FogEnd = 1000.000000000000000000
  28. Buffer.FogEnvironment.FogDistance = fdEyeRadial
  29. Buffer.BackgroundColor = clGray
  30. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
  31. Buffer.FogEnable = True
  32. FieldOfView = 140.778594970703100000
  33. PenAsTouch = False
  34. Align = alClient
  35. TabOrder = 0
  36. end
  37. object PAProgress: TPanel
  38. Left = 200
  39. Top = 168
  40. Width = 185
  41. Height = 49
  42. BorderWidth = 6
  43. TabOrder = 1
  44. Visible = False
  45. object Label1: TLabel
  46. Left = 7
  47. Top = 7
  48. Width = 171
  49. Height = 20
  50. Align = alTop
  51. Alignment = taCenter
  52. AutoSize = False
  53. Caption = 'Loading && compressing textures'
  54. ExplicitLeft = 6
  55. ExplicitTop = 6
  56. ExplicitWidth = 173
  57. end
  58. object ProgressBar: TProgressBar
  59. Left = 7
  60. Top = 27
  61. Width = 171
  62. Height = 15
  63. Align = alClient
  64. Max = 16
  65. TabOrder = 0
  66. end
  67. end
  68. object GLScene1: TGLScene
  69. ObjectsSorting = osNone
  70. Left = 40
  71. Top = 32
  72. object SkyDome: TGLSkyDome
  73. Direction.Coordinates = {000000000000803F0000000000000000}
  74. Up.Coordinates = {0000000000000000000080BF00000000}
  75. Bands = <
  76. item
  77. StartColor.Color = {0000803F0000803F0000803F0000803F}
  78. StopAngle = 25.000000000000000000
  79. Slices = 9
  80. end
  81. item
  82. StartAngle = 25.000000000000000000
  83. StopAngle = 90.000000000000000000
  84. StopColor.Color = {938C0C3E938C0C3E938E0E3F0000803F}
  85. Slices = 9
  86. Stacks = 4
  87. end>
  88. Stars = <>
  89. Options = [sdoTwinkle]
  90. end
  91. object DCCamera: TGLDummyCube
  92. Position.Coordinates = {0000000000000041000000000000803F}
  93. CubeSize = 1.000000000000000000
  94. object GLCamera: TGLCamera
  95. DepthOfView = 1000.000000000000000000
  96. FocalLength = 75.000000000000000000
  97. TargetObject = DCCamera
  98. Position.Coordinates = {000000000000803F000040400000803F}
  99. Left = 264
  100. Top = 160
  101. end
  102. end
  103. object TerrainRenderer: TGLTerrainRenderer
  104. Direction.Coordinates = {000000000000803F0000000000000000}
  105. Scale.Coordinates = {00002040000020400000003F00000000}
  106. Up.Coordinates = {00000000000000000000803F00000000}
  107. HeightDataSource = GLCustomHDS1
  108. TileSize = 32
  109. TilesPerTexture = 1.000000000000000000
  110. MaterialLibrary = MaterialLibrary
  111. CLODPrecision = 5
  112. OnHeightDataPostRender = TerrainRendererHeightDataPostRender
  113. ContourWidth = 0
  114. end
  115. object DOWake: TGLDirectOpenGL
  116. OnProgress = DOWakeProgress
  117. UseBuildList = False
  118. OnRender = DOWakeRender
  119. Blend = False
  120. end
  121. object FFSailBoat: TGLFreeForm
  122. Scale.Coordinates = {8FC2753C8FC2753C8FC2753C00000000}
  123. MaterialLibrary = MLSailBoat
  124. end
  125. object LSSun: TGLLightSource
  126. Ambient.Color = {9A99993E9A99993E9A99993E0000803F}
  127. ConstAttenuation = 1.000000000000000000
  128. Diffuse.Color = {CDCC4C3FCDCC4C3FCDCC4C3F0000803F}
  129. LightStyle = lsParallel
  130. Specular.Color = {00000000000000000000000000000000}
  131. SpotCutOff = 180.000000000000000000
  132. SpotDirection.Coordinates = {0000803F0000803F0000003F00000000}
  133. end
  134. object HTFPS: TGLHUDText
  135. Position.Coordinates = {000096420000C841000000000000803F}
  136. BitmapFont = BFSmall
  137. Rotation = 0.000000000000000000
  138. ModulateColor.Color = {0000000000000000000000000000803F}
  139. end
  140. object HTHelp: TGLHUDText
  141. Up.Coordinates = {4CB7F8BE05C45F3F0000000000000000}
  142. BitmapFont = BFLarge
  143. Rotation = 0.000000000000000000
  144. end
  145. end
  146. object Timer1: TTimer
  147. OnTimer = Timer1Timer
  148. Left = 376
  149. Top = 96
  150. end
  151. object GLCadencer: TGLCadencer
  152. Scene = GLScene1
  153. OnProgress = GLCadencerProgress
  154. Left = 112
  155. Top = 32
  156. end
  157. object MaterialLibrary: TGLMaterialLibrary
  158. Materials = <
  159. item
  160. Name = 'detail'
  161. Tag = 0
  162. Material.Texture.ImageClassName = 'TGLPicFileImage'
  163. Material.Texture.Image.PictureFileName = 'detail.jpg'
  164. Material.Texture.TextureMode = tmModulate
  165. Material.Texture.TextureFormat = tfLuminance
  166. Material.Texture.Compression = tcStandard
  167. Material.Texture.Disabled = False
  168. TextureScale.Coordinates = {00008042000080420000804200000000}
  169. Texture2Name = 'detail'
  170. end
  171. item
  172. Name = 'water'
  173. Tag = 0
  174. Material.BlendingMode = bmTransparency
  175. Material.Texture.ImageClassName = 'TGLPicFileImage'
  176. Material.Texture.Image.PictureFileName = '035eau.jpg'
  177. Material.Texture.TextureMode = tmModulate
  178. Material.Texture.MappingSCoordinates.Coordinates = {CDCC4C3D000000000000000000000000}
  179. Material.Texture.MappingTCoordinates.Coordinates = {00000000CDCC4C3D0000000000000000}
  180. Material.Texture.Disabled = False
  181. Texture2Name = 'water'
  182. end
  183. item
  184. Name = 'wake'
  185. Tag = 0
  186. Material.Texture.ImageClassName = 'TGLPicFileImage'
  187. Material.Texture.Image.PictureFileName = 'wake.bmp'
  188. Material.Texture.TextureMode = tmModulate
  189. Material.Texture.Disabled = False
  190. Texture2Name = 'wake'
  191. end>
  192. Left = 40
  193. Top = 96
  194. end
  195. object GLHeightTileFileHDS1: TGLHeightTileFileHDS
  196. HTFFileName = 'Data\\Islands.htf'
  197. InfiniteWrap = False
  198. MaxPoolSize = 0
  199. Left = 200
  200. Top = 32
  201. end
  202. object BFSmall: TGLWindowsBitmapFont
  203. Font.Charset = DEFAULT_CHARSET
  204. Font.Color = clWhite
  205. Font.Height = -11
  206. Font.Name = 'MS Sans Serif'
  207. Font.Style = []
  208. Left = 296
  209. Top = 96
  210. end
  211. object GLCustomHDS1: TGLCustomHDS
  212. MaxPoolSize = 0
  213. OnStartPreparingData = GLCustomHDS1StartPreparingData
  214. OnMarkDirtyEvent = GLCustomHDS1MarkDirtyEvent
  215. Left = 200
  216. Top = 96
  217. end
  218. object MLSailBoat: TGLMaterialLibrary
  219. TexturePaths = '..\\Data'
  220. Left = 112
  221. Top = 96
  222. end
  223. object BFLarge: TGLWindowsBitmapFont
  224. Font.Charset = RUSSIAN_CHARSET
  225. Font.Color = clWhite
  226. Font.Height = -21
  227. Font.Name = 'Arial'
  228. Font.Style = []
  229. Left = 296
  230. Top = 32
  231. end
  232. end