fdHeightField.dfm 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. object FormHeightField: TFormHeightField
  2. Left = 196
  3. Top = 94
  4. BorderWidth = 4
  5. Caption = 'Height Field'
  6. ClientHeight = 440
  7. ClientWidth = 653
  8. Color = clBtnFace
  9. Font.Charset = DEFAULT_CHARSET
  10. Font.Color = clWindowText
  11. Font.Height = -11
  12. Font.Name = 'MS Sans Serif'
  13. Font.Style = []
  14. Position = poScreenCenter
  15. OnCreate = FormCreate
  16. OnMouseWheel = FormMouseWheel
  17. TextHeight = 13
  18. object GLSceneViewer1: TGLSceneViewer
  19. Left = 0
  20. Top = 0
  21. Width = 486
  22. Height = 440
  23. Camera = GLCamera1
  24. Buffer.BackgroundColor = clBackground
  25. FieldOfView = 131.112091064453100000
  26. PenAsTouch = False
  27. Align = alClient
  28. OnMouseDown = GLSceneViewer1MouseDown
  29. OnMouseMove = GLSceneViewer1MouseMove
  30. TabOrder = 0
  31. end
  32. object Panel1: TPanel
  33. Left = 486
  34. Top = 0
  35. Width = 167
  36. Height = 440
  37. Align = alRight
  38. TabOrder = 1
  39. ExplicitLeft = 478
  40. ExplicitHeight = 415
  41. object Label1: TLabel
  42. Left = 48
  43. Top = 8
  44. Width = 44
  45. Height = 13
  46. Caption = 'X extents'
  47. end
  48. object Label2: TLabel
  49. Left = 48
  50. Top = 58
  51. Width = 44
  52. Height = 13
  53. Caption = 'Y extents'
  54. end
  55. object Label3: TLabel
  56. Left = 56
  57. Top = 108
  58. Width = 22
  59. Height = 13
  60. Caption = 'Step'
  61. end
  62. object Label4: TLabel
  63. Left = 19
  64. Top = 277
  65. Width = 54
  66. Height = 13
  67. Caption = 'Color Mode'
  68. end
  69. object LabelFPS: TLabel
  70. Left = 14
  71. Top = 408
  72. Width = 20
  73. Height = 13
  74. Caption = 'FPS'
  75. end
  76. object TrackBar1: TTrackBar
  77. Left = 0
  78. Top = 19
  79. Width = 129
  80. Height = 33
  81. Max = 50
  82. Position = 10
  83. TabOrder = 0
  84. ThumbLength = 10
  85. TickMarks = tmBoth
  86. OnChange = TrackBar1Change
  87. end
  88. object TrackBar2: TTrackBar
  89. Left = 0
  90. Top = 69
  91. Width = 129
  92. Height = 33
  93. Max = 50
  94. Position = 10
  95. TabOrder = 1
  96. ThumbLength = 10
  97. TickMarks = tmBoth
  98. OnChange = TrackBar2Change
  99. end
  100. object TrackBar3: TTrackBar
  101. Left = 0
  102. Top = 120
  103. Width = 129
  104. Height = 33
  105. Max = 160
  106. Min = 10
  107. Frequency = 10
  108. Position = 80
  109. TabOrder = 2
  110. ThumbLength = 10
  111. TickMarks = tmBoth
  112. OnChange = TrackBar3Change
  113. end
  114. object RadioGroup1: TRadioGroup
  115. Left = 32
  116. Top = 159
  117. Width = 81
  118. Height = 89
  119. Caption = 'Formula'
  120. ItemIndex = 0
  121. Items.Strings = (
  122. 'Formula 1'
  123. 'Formula 2'
  124. 'Dynamic')
  125. TabOrder = 3
  126. OnClick = RadioGroup1Click
  127. end
  128. object CheckBox1: TCheckBox
  129. Left = 16
  130. Top = 254
  131. Width = 73
  132. Height = 17
  133. Caption = 'Two-sided'
  134. Checked = True
  135. State = cbChecked
  136. TabOrder = 4
  137. OnClick = CheckBox1Click
  138. end
  139. object ComboBox1: TComboBox
  140. Left = 16
  141. Top = 296
  142. Width = 81
  143. Height = 21
  144. Style = csDropDownList
  145. TabOrder = 5
  146. OnChange = ComboBox1Change
  147. Items.Strings = (
  148. 'none'
  149. 'emission'
  150. 'diffuse')
  151. end
  152. object CheckBox2: TCheckBox
  153. Left = 16
  154. Top = 323
  155. Width = 65
  156. Height = 17
  157. Caption = 'Lighting'
  158. Checked = True
  159. State = cbChecked
  160. TabOrder = 6
  161. OnClick = CheckBox2Click
  162. end
  163. end
  164. object GLScene1: TGLScene
  165. Left = 40
  166. Top = 24
  167. object HeightField1: TGLHeightField
  168. Material.FrontProperties.Emission.Color = {0000000000000000000000000000003F}
  169. Direction.Coordinates = {000000000000803F2EBD3BB300000000}
  170. Scale.Coordinates = {00004040000040400000404000000000}
  171. Up.Coordinates = {000000002EBD3BB3000080BF00000000}
  172. XSamplingScale.Min = -1.000000000000000000
  173. XSamplingScale.Max = 1.000000000000000000
  174. XSamplingScale.Step = 0.079999998211860660
  175. YSamplingScale.Min = -1.000000000000000000
  176. YSamplingScale.Max = 1.000000000000000000
  177. YSamplingScale.Step = 0.079999998211860660
  178. object Sphere1: TGLSphere
  179. Material.FrontProperties.Diffuse.Color = {F8FEFE3E0000803F000000000000803F}
  180. Position.Coordinates = {0000803F0000803F000000000000803F}
  181. Visible = False
  182. OnProgress = Sphere1Progress
  183. Radius = 0.100000001490116100
  184. Slices = 12
  185. Stacks = 9
  186. object Lines1: TGLLines
  187. Nodes = <
  188. item
  189. end
  190. item
  191. Z = -1.500000000000000000
  192. end>
  193. NodesAspect = lnaInvisible
  194. Options = []
  195. end
  196. end
  197. end
  198. object GLLightSource1: TGLLightSource
  199. ConstAttenuation = 1.000000000000000000
  200. Position.Coordinates = {0000F041000048420000C8420000803F}
  201. SpotCutOff = 180.000000000000000000
  202. end
  203. object GLCamera1: TGLCamera
  204. DepthOfView = 100.000000000000000000
  205. FocalLength = 100.000000000000000000
  206. TargetObject = HeightField1
  207. Position.Coordinates = {0000404000008040000000410000803F}
  208. Left = 208
  209. Top = 168
  210. end
  211. end
  212. object Timer1: TTimer
  213. OnTimer = Timer1Timer
  214. Left = 128
  215. Top = 24
  216. end
  217. object GLCadencer1: TGLCadencer
  218. Scene = GLScene1
  219. SleepLength = 1
  220. Left = 40
  221. Top = 80
  222. end
  223. end