2
0

fWaterPlaneD.dfm 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. object FormWaterPlane: TFormWaterPlane
  2. Left = 169
  3. Top = 106
  4. Margins.Left = 2
  5. Margins.Top = 2
  6. Margins.Right = 2
  7. Margins.Bottom = 2
  8. Caption = 'Water Plane'
  9. ClientHeight = 507
  10. ClientWidth = 683
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -11
  15. Font.Name = 'MS Sans Serif'
  16. Font.Style = []
  17. Position = poScreenCenter
  18. OnCreate = FormCreate
  19. TextHeight = 13
  20. object GLSceneViewer1: TGLSceneViewer
  21. Left = 0
  22. Top = 0
  23. Width = 683
  24. Height = 507
  25. Camera = GLCamera1
  26. BeforeRender = GLSceneViewer1BeforeRender
  27. Buffer.FaceCulling = False
  28. FieldOfView = 166.501647949218800000
  29. PenAsTouch = False
  30. Align = alClient
  31. OnMouseDown = GLSceneViewer1MouseDown
  32. TabOrder = 0
  33. ExplicitWidth = 555
  34. ExplicitHeight = 405
  35. end
  36. object GLScene1: TGLScene
  37. Left = 16
  38. Top = 16
  39. object GLSphere1: TGLSphere
  40. Material.MaterialLibrary = GLMaterialLibrary1
  41. Material.LibMaterialName = 'CubeMap'
  42. Radius = 50.000000000000000000
  43. Slices = 9
  44. Stacks = 9
  45. end
  46. object DCTarget: TGLDummyCube
  47. Position.Coordinates = {00000040000000000000803F0000803F}
  48. CubeSize = 1.000000000000000000
  49. end
  50. object GLDirectOpenGL1: TGLDirectOpenGL
  51. UseBuildList = False
  52. OnRender = GLDirectOpenGL1Render
  53. Blend = False
  54. end
  55. object GLHeightField1: TGLHeightField
  56. Material.Texture.MappingMode = tmmObjectLinear
  57. Material.Texture.MappingSCoordinates.Coordinates = {CDCC4C3D000000000000000000000000}
  58. Material.Texture.MappingTCoordinates.Coordinates = {00000000CDCC4C3D0000000000000000}
  59. Material.Texture.Disabled = False
  60. Direction.Coordinates = {00000000FFFF7F3F0100003300000000}
  61. Position.Coordinates = {00000000000080BF000000000000803F}
  62. Scale.Coordinates = {1F85EB3D1F85EB3D0000003F00000000}
  63. Up.Coordinates = {2FBD3B3302000033000080BF00000000}
  64. XSamplingScale.Min = -63.000000000000000000
  65. XSamplingScale.Max = 63.000000000000000000
  66. XSamplingScale.Step = 2.000000000000000000
  67. YSamplingScale.Min = -63.000000000000000000
  68. YSamplingScale.Max = 63.000000000000000000
  69. YSamplingScale.Step = 2.000000000000000000
  70. OnGetHeight = GLHeightField1GetHeight
  71. end
  72. object GLWaterPlane1: TGLWaterPlane
  73. Material.MaterialLibrary = GLMaterialLibrary1
  74. Material.LibMaterialName = 'CubeMap'
  75. Position.Coordinates = {00000000000080BF000000000000803F}
  76. Scale.Coordinates = {000070410000803F0000704100000000}
  77. RainForce = 5000.000000000000000000
  78. Viscosity = 0.990000009536743200
  79. Elastic = 10.000000000000000000
  80. Resolution = 128
  81. Options = []
  82. SimulationFrequency = 100.000000000000000000
  83. end
  84. object GLLightSource1: TGLLightSource
  85. ConstAttenuation = 1.000000000000000000
  86. Position.Coordinates = {0000E04000007041000040400000803F}
  87. SpotCutOff = 180.000000000000000000
  88. end
  89. object GLCamera1: TGLCamera
  90. DepthOfView = 100.000000000000000000
  91. FocalLength = 30.000000000000000000
  92. TargetObject = DCTarget
  93. Position.Coordinates = {0000E04000008040000040400000803F}
  94. end
  95. end
  96. object GLCadencer1: TGLCadencer
  97. Scene = GLScene1
  98. OnProgress = GLCadencer1Progress
  99. Left = 80
  100. Top = 16
  101. end
  102. object GLMaterialLibrary1: TGLMaterialLibrary
  103. Materials = <
  104. item
  105. Name = 'CubeMap'
  106. Tag = 0
  107. Material.FrontProperties.Ambient.Color = {0000803F0000803F0000803F0000803F}
  108. Material.FrontProperties.Diffuse.Color = {0000803F0000803F0000803F0000003F}
  109. Material.MaterialOptions = [moNoLighting]
  110. Material.Texture.TextureMode = tmModulate
  111. Material.Texture.TextureWrap = twNone
  112. Material.Texture.MappingMode = tmmCubeMapReflection
  113. Material.Texture.Disabled = False
  114. Shader = GLUserShader1
  115. end>
  116. Left = 368
  117. Top = 16
  118. end
  119. object GLUserShader1: TGLUserShader
  120. OnDoApply = GLUserShader1DoApply
  121. OnDoUnApply = GLUserShader1DoUnApply
  122. Left = 272
  123. Top = 16
  124. end
  125. object GLSimpleNavigation1: TGLSimpleNavigation
  126. Form = Owner
  127. GLSceneViewer = GLSceneViewer1
  128. FormCaption = 'Water Plane - %FPS'
  129. KeyCombinations = <
  130. item
  131. ShiftState = [ssLeft, ssRight]
  132. Action = snaZoom
  133. end
  134. item
  135. ShiftState = [ssLeft]
  136. Action = snaMoveAroundTarget
  137. end
  138. item
  139. ShiftState = [ssRight]
  140. Action = snaMoveAroundTarget
  141. end>
  142. Left = 176
  143. Top = 16
  144. end
  145. end