fOdeTerrainC.dfm 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Align = alClient
  5. BorderStyle = bsNone
  6. Caption = 'Ode Terrain'
  7. ClientHeight = 547
  8. ClientWidth = 639
  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 GLSceneViewer1: TGLSceneViewer
  19. Left = 0
  20. Top = 0
  21. Width = 639
  22. Height = 547
  23. Camera = GLCamera1
  24. BeforeRender = GLSceneViewer1BeforeRender
  25. Buffer.FogEnvironment.FogColor.Color = {0000803F0000803F0000803F0000803F}
  26. Buffer.FogEnvironment.FogStart = 200.000000000000000000
  27. Buffer.FogEnvironment.FogEnd = 650.000000000000000000
  28. Buffer.FogEnvironment.FogDistance = fdEyeRadial
  29. Buffer.BackgroundColor = clGray
  30. Buffer.FogEnable = True
  31. FieldOfView = 159.279708862304700000
  32. PenAsTouch = False
  33. Align = alClient
  34. TabOrder = 0
  35. end
  36. object GLBitmapHDS1: TGLBitmapHDS
  37. MaxPoolSize = 0
  38. Left = 320
  39. Top = 72
  40. end
  41. object GLScene1: TGLScene
  42. ObjectsSorting = osNone
  43. Left = 32
  44. Top = 16
  45. object GLLightSource1: TGLLightSource
  46. ConstAttenuation = 1.000000000000000000
  47. LightStyle = lsParallel
  48. SpotCutOff = 180.000000000000000000
  49. SpotDirection.Coordinates = {00000000F4FD34BFF4FD343F00000000}
  50. end
  51. object SkyDome1: TGLSkyDome
  52. Bands = <
  53. item
  54. StartAngle = -5.000000000000000000
  55. StartColor.Color = {0000803F0000803F0000803F0000803F}
  56. StopAngle = 25.000000000000000000
  57. Slices = 9
  58. end
  59. item
  60. StartAngle = 25.000000000000000000
  61. StopAngle = 90.000000000000000000
  62. StopColor.Color = {938C0C3E938C0C3E938E0E3F0000803F}
  63. Slices = 9
  64. Stacks = 4
  65. end>
  66. Stars = <>
  67. Options = [sdoTwinkle]
  68. object SPMoon: TGLSprite
  69. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  70. Material.FrontProperties.Diffuse.Color = {0000000000000000000000000000803F}
  71. Material.FrontProperties.Emission.Color = {0000803F0000803F0000803F0000803F}
  72. Material.BlendingMode = bmTransparency
  73. Material.MaterialOptions = [moIgnoreFog]
  74. Material.Texture.ImageAlpha = tiaSuperBlackTransparent
  75. Material.Texture.TextureMode = tmReplace
  76. Material.Texture.Compression = tcNone
  77. Material.Texture.Disabled = False
  78. Position.Coordinates = {00000C430000C842000096420000803F}
  79. Visible = False
  80. Width = 30.000000000000000000
  81. Height = 30.000000000000000000
  82. Rotation = 0.000000000000000000
  83. end
  84. object SPSun: TGLSprite
  85. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  86. Material.FrontProperties.Diffuse.Color = {0000000000000000000000000000803F}
  87. Material.BlendingMode = bmAdditive
  88. Material.MaterialOptions = [moIgnoreFog]
  89. Material.Texture.TextureMode = tmReplace
  90. Material.Texture.TextureFormat = tfLuminance
  91. Material.Texture.Compression = tcNone
  92. Material.Texture.Disabled = False
  93. Position.Coordinates = {00000C430000C842000096420000803F}
  94. Width = 60.000000000000000000
  95. Height = 60.000000000000000000
  96. Rotation = 0.000000000000000000
  97. end
  98. end
  99. object TerrainRenderer1: TGLTerrainRenderer
  100. Material.MaterialLibrary = GLMaterialLibrary1
  101. Material.LibMaterialName = 'ground'
  102. Direction.Coordinates = {09260E19ECD96EB30000803F00000000}
  103. Scale.Coordinates = {00008040000080400000803E00000000}
  104. Up.Coordinates = {E146A6250000803FECD96E3300000000}
  105. HeightDataSource = GLBitmapHDS1
  106. TileSize = 32
  107. TilesPerTexture = 1.000000000000000000
  108. QualityDistance = 150.000000000000000000
  109. ContourWidth = 0
  110. BehavioursData = {
  111. 0458434F4C02010201061154474C4F44454865696768744669656C6402001200
  112. 00000002000200120000000002000500000000006F1283F53F08000005000000
  113. 00000000FA084005000000000000000000000500000000000000000000050000
  114. 0000000000000000050000000000000000000005000000000000000000000500
  115. 0000000000000000000500000000000000000000050000000000000000000005
  116. 000000000000000000000200050000000000000080FF3F080500000000000000
  117. C000400000803F0200}
  118. end
  119. object ODEObjects: TGLDummyCube
  120. CubeSize = 1.000000000000000000
  121. object ODERenderPoint: TGLRenderPoint
  122. end
  123. end
  124. object HUDText1: TGLHUDText
  125. Position.Coordinates = {000096420000C841000000000000803F}
  126. BitmapFont = BitmapFont1
  127. Rotation = 0.000000000000000000
  128. end
  129. object GLLensFlare: TGLLensFlare
  130. Size = 100
  131. Seed = 978
  132. FlareIsNotOccluded = True
  133. Position.Coordinates = {9A620252C9B28B51B743BAD10000803F}
  134. Visible = False
  135. object GLDummyCube1: TGLDummyCube
  136. CubeSize = 100.000000000000000000
  137. VisibleAtRunTime = True
  138. end
  139. end
  140. object GLCamera1: TGLCamera
  141. DepthOfView = 650.000000000000000000
  142. FocalLength = 50.000000000000000000
  143. Direction.Coordinates = {000000000000803F0000000000000000}
  144. Up.Coordinates = {00000000000000000000803F00000000}
  145. Left = 264
  146. Top = 160
  147. object ODEDrop: TGLDummyCube
  148. Position.Coordinates = {0000000000000000000020410000803F}
  149. CubeSize = 1.000000000000000000
  150. end
  151. end
  152. end
  153. object Timer1: TTimer
  154. OnTimer = Timer1Timer
  155. Left = 224
  156. Top = 72
  157. end
  158. object GLCadencer1: TGLCadencer
  159. Scene = GLScene1
  160. MaxDeltaTime = 0.020000000000000000
  161. OnProgress = GLCadencer1Progress
  162. Left = 128
  163. Top = 16
  164. end
  165. object GLMaterialLibrary1: TGLMaterialLibrary
  166. Materials = <
  167. item
  168. Name = 'ground'
  169. Tag = 0
  170. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  171. Material.FrontProperties.Diffuse.Color = {0000000000000000000000000000803F}
  172. Material.FrontProperties.Emission.Color = {9A99993E9A99993E9A99993E0000803F}
  173. Material.Texture.TextureMode = tmReplace
  174. Material.Texture.Compression = tcStandard
  175. Material.Texture.Disabled = False
  176. Texture2Name = 'details'
  177. end
  178. item
  179. Name = 'details'
  180. Tag = 0
  181. Material.Texture.TextureMode = tmModulate
  182. Material.Texture.TextureFormat = tfLuminance
  183. Material.Texture.Compression = tcStandard
  184. Material.Texture.Disabled = False
  185. TextureScale.Coordinates = {00000043000000430000004300000000}
  186. end>
  187. Left = 32
  188. Top = 72
  189. end
  190. object BitmapFont1: TGLBitmapFont
  191. GlyphsIntervalX = 1
  192. GlyphsIntervalY = 1
  193. Ranges = <
  194. item
  195. StartASCII = ' '
  196. StopASCII = 'Z'
  197. StartGlyphIdx = 0
  198. end>
  199. CharWidth = 30
  200. CharHeight = 30
  201. Left = 320
  202. Top = 16
  203. end
  204. object GLODEManager1: TGLODEManager
  205. Gravity.Coordinates = {0000000000000000C3F51CC10000803F}
  206. Solver = osmQuickStep
  207. Iterations = 3
  208. MaxContacts = 8
  209. RenderPoint = ODERenderPoint
  210. Visible = True
  211. VisibleAtRunTime = True
  212. Left = 416
  213. Top = 16
  214. end
  215. object GLNavigator1: TGLNavigator
  216. VirtualUp.Coordinates = {00000000000000000000803F0000803F}
  217. MovingObject = GLCamera1
  218. UseVirtualUp = True
  219. AutoUpdateObject = True
  220. Left = 224
  221. Top = 16
  222. end
  223. object GLUserInterface1: TGLUserInterface
  224. MouseSpeed = 25.000000000000000000
  225. GLNavigator = GLNavigator1
  226. GLVertNavigator = GLNavigator1
  227. Left = 128
  228. Top = 72
  229. end
  230. end