Unit1.dfm 6.6 KB

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