2
0

fArchipelagoC.dfm 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. end
  55. object ProgressBar: TProgressBar
  56. Left = 7
  57. Top = 27
  58. Width = 171
  59. Height = 15
  60. Align = alClient
  61. Max = 16
  62. TabOrder = 0
  63. end
  64. end
  65. object GLScene1: TGLScene
  66. ObjectsSorting = osNone
  67. Left = 40
  68. Top = 32
  69. object SkyDome: TGLSkyDome
  70. Direction.Coordinates = {000000000000803F0000000000000000}
  71. Up.Coordinates = {0000000000000000000080BF00000000}
  72. Bands = <
  73. item
  74. StartColor.Color = {0000803F0000803F0000803F0000803F}
  75. StopAngle = 25.000000000000000000
  76. Slices = 9
  77. end
  78. item
  79. StartAngle = 25.000000000000000000
  80. StopAngle = 90.000000000000000000
  81. StopColor.Color = {938C0C3E938C0C3E938E0E3F0000803F}
  82. Slices = 9
  83. Stacks = 4
  84. end>
  85. Stars = <>
  86. Options = [sdoTwinkle]
  87. end
  88. object DCCamera: TGLDummyCube
  89. Position.Coordinates = {0000000000000041000000000000803F}
  90. CubeSize = 1.000000000000000000
  91. object GLCamera: TGLCamera
  92. DepthOfView = 1000.000000000000000000
  93. FocalLength = 75.000000000000000000
  94. TargetObject = DCCamera
  95. Position.Coordinates = {000000000000803F000040400000803F}
  96. Left = 264
  97. Top = 160
  98. end
  99. end
  100. object TerrainRenderer: TGLTerrainRenderer
  101. Direction.Coordinates = {000000000000803F0000000000000000}
  102. Scale.Coordinates = {00002040000020400000003F00000000}
  103. Up.Coordinates = {00000000000000000000803F00000000}
  104. HeightDataSource = GLCustomHDS1
  105. TileSize = 32
  106. TilesPerTexture = 1.000000000000000000
  107. MaterialLibrary = MaterialLibrary
  108. CLODPrecision = 5
  109. OnHeightDataPostRender = TerrainRendererHeightDataPostRender
  110. ContourWidth = 0
  111. end
  112. object DOWake: TGLDirectOpenGL
  113. OnProgress = DOWakeProgress
  114. UseBuildList = False
  115. OnRender = DOWakeRender
  116. Blend = False
  117. end
  118. object FFSailBoat: TGLFreeForm
  119. Scale.Coordinates = {8FC2753C8FC2753C8FC2753C00000000}
  120. MaterialLibrary = MLSailBoat
  121. end
  122. object LSSun: TGLLightSource
  123. Ambient.Color = {9A99993E9A99993E9A99993E0000803F}
  124. ConstAttenuation = 1.000000000000000000
  125. Diffuse.Color = {CDCC4C3FCDCC4C3FCDCC4C3F0000803F}
  126. LightStyle = lsParallel
  127. Specular.Color = {00000000000000000000000000000000}
  128. SpotCutOff = 180.000000000000000000
  129. SpotDirection.Coordinates = {0000803F0000803F0000003F00000000}
  130. end
  131. object HTFPS: TGLHUDText
  132. Position.Coordinates = {000096420000C841000000000000803F}
  133. BitmapFont = BFSmall
  134. Rotation = 0.000000000000000000
  135. ModulateColor.Color = {0000000000000000000000000000803F}
  136. end
  137. object HTHelp: TGLHUDText
  138. Up.Coordinates = {4CB7F8BE05C45F3F0000000000000000}
  139. BitmapFont = BFLarge
  140. Rotation = 0.000000000000000000
  141. end
  142. end
  143. object Timer1: TTimer
  144. OnTimer = Timer1Timer
  145. Left = 376
  146. Top = 96
  147. end
  148. object GLCadencer: TGLCadencer
  149. Scene = GLScene1
  150. OnProgress = GLCadencerProgress
  151. Left = 112
  152. Top = 32
  153. end
  154. object MaterialLibrary: TGLMaterialLibrary
  155. Materials = <
  156. item
  157. Name = 'detail'
  158. Tag = 0
  159. Material.Texture.ImageClassName = 'TGLPicFileImage'
  160. Material.Texture.Image.PictureFileName = 'detail.jpg'
  161. Material.Texture.TextureMode = tmModulate
  162. Material.Texture.TextureFormat = tfLuminance
  163. Material.Texture.Compression = tcStandard
  164. Material.Texture.Disabled = False
  165. TextureScale.Coordinates = {00008042000080420000804200000000}
  166. Texture2Name = 'detail'
  167. end
  168. item
  169. Name = 'water'
  170. Tag = 0
  171. Material.BlendingMode = bmTransparency
  172. Material.Texture.ImageClassName = 'TGLPicFileImage'
  173. Material.Texture.Image.PictureFileName = '035eau.jpg'
  174. Material.Texture.TextureMode = tmModulate
  175. Material.Texture.MappingSCoordinates.Coordinates = {CDCC4C3D000000000000000000000000}
  176. Material.Texture.MappingTCoordinates.Coordinates = {00000000CDCC4C3D0000000000000000}
  177. Material.Texture.Disabled = False
  178. Texture2Name = 'water'
  179. end
  180. item
  181. Name = 'wake'
  182. Tag = 0
  183. Material.Texture.ImageClassName = 'TGLPicFileImage'
  184. Material.Texture.Image.PictureFileName = 'wake.bmp'
  185. Material.Texture.TextureMode = tmModulate
  186. Material.Texture.Disabled = False
  187. Texture2Name = 'wake'
  188. end>
  189. Left = 40
  190. Top = 96
  191. end
  192. object GLHeightTileFileHDS1: TGLHeightTileFileHDS
  193. HTFFileName = 'Data\\Islands.htf'
  194. InfiniteWrap = False
  195. MaxPoolSize = 0
  196. Left = 200
  197. Top = 32
  198. end
  199. object BFSmall: TGLWindowsBitmapFont
  200. Font.Charset = DEFAULT_CHARSET
  201. Font.Color = clWhite
  202. Font.Height = -11
  203. Font.Name = 'MS Sans Serif'
  204. Font.Style = []
  205. Left = 296
  206. Top = 96
  207. end
  208. object GLCustomHDS1: TGLCustomHDS
  209. MaxPoolSize = 0
  210. OnStartPreparingData = GLCustomHDS1StartPreparingData
  211. OnMarkDirtyEvent = GLCustomHDS1MarkDirtyEvent
  212. Left = 200
  213. Top = 96
  214. end
  215. object MLSailBoat: TGLMaterialLibrary
  216. TexturePaths = '..\\Data'
  217. Left = 112
  218. Top = 96
  219. end
  220. object BFLarge: TGLWindowsBitmapFont
  221. Font.Charset = RUSSIAN_CHARSET
  222. Font.Color = clWhite
  223. Font.Height = -21
  224. Font.Name = 'Arial'
  225. Font.Style = []
  226. Left = 296
  227. Top = 32
  228. end
  229. end