fсHeightfield.dfm 4.9 KB

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